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 - Set fixed search criteria for programmatically called search dialog.

fli - Friday, January 10, 2014 8:49 AM:

I Want the user to search and select a Part, the Part must reference a specific Item on a PropertyItem attribute, this I want to set programmatically, the User could select from the searchDialog which I will call programmatically.

Do I need to alter the Param's ?

 
var param = { aras: top.aras, itemtypeName: 'Part', multiselect: false };
var dlgRes = showModalDialog('searchDialog.html', param, 'dialogHeight:450px; dialogWidth:700px; status:0; help:0; resizable:1;');

 

if(!dlgRes) {   return;  }

Using the "OnSearchDialog event on the property, I think is not a good solution for me, as this would apply to every scenario where a User wants to search for a part do build a relationship to.

Thanks Christoffer



fli - Friday, January 24, 2014 4:15 AM:

.



geetsagar - Thursday, May 22, 2014 1:40 AM:

Hey Christoffer,

                              Do you got any solution to this ??? If yes, then how can we do that ??

 

Thanks Geetsagar