Quantcast
Channel: aras PLM community
Viewing all articles
Browse latest Browse all 1103

Set fixed search criteria for programmatically called search dialog.

$
0
0

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


Viewing all articles
Browse latest Browse all 1103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>