This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - How to open a search dialog window programatically

AshokGopale - Thursday, July 19, 2012 4:17 AM:

Dear friends,

Good afternoon !

How to open a search dialog window programatically.

simillar functionality is available inbuilt  in ARAS - if we use data type = "Item" to any property.

I am designing a form in ARAS innovator 9.3. on this form, I placed one HTML control and wrote html code for it.

My intension is to create a complete user defined custom made input form.

 

Best Regards,

Ashok

 

 



aponceot - Thursday, July 19, 2012 4:31 AM:

Hi,

 

you can use : 

var param = { aras: top.aras, itemtypeName: 'Identity', multiselect: false };

var dlgRes = showModalDialog('searchDialog.html', param, 'dialogHeight:450px; dialogWidth:700px; status:0; help:0; resizable:1;');

if(!dlgRes)
{
return;
}
var searchedItem = dlgRes.item;



AshokGopale - Thursday, July 19, 2012 5:44 AM:

Hi Anthony,

You are genius.

It works for me.

Thanks, have a nice day !

- Ashok



akshay kadam - Friday, August 23, 2013 6:01 AM:

Hi Anthony,

I have some issue related to search dialog. I am showing a search dialog from code and i want to get selected result. But i am unable to get that selected file object, please help me if you can. I have used your code for populating search box for itemtype : File.

Thanks in advance.