var Filter = {};
Filter["state"] = { filterValue: "Released", isFilterFixed: true };
// Set up parameters for search dialog
var param = {
aras: top.aras,
content: 'SearchDialogWithFilter.html', // <-- Use "content" rather than "type" to point to a specific .html page
dialogWidth: 700,
dialogHeight: 450,
itemtypeName: 'Part',
multiselect: true,
handler: addRelationshipHandler,
sourceItemTypeName: "Part",
sourcePropertyName: "dummytrigger",
myCustomFilterParam: Filter // <-- Pass in the filter parameter that you've added to your custom SearchDialog
};
Chris
___________________________________
Christopher Gillis
Aras Labs Software Engineervar Filter = {};
Filter["state"] = { filterValue: "Released", isFilterFixed: true };
// Set up parameters for search dialog
var param = {
aras: top.aras,
content: 'SearchDialogWithFilter.html', // <-- Use "content" rather than "type" to point to a specific .html page
dialogWidth: 700,
dialogHeight: 450,
itemtypeName: 'Part',
multiselect: true,
handler: addRelationshipHandler,
sourceItemTypeName: "Part",
sourcePropertyName: "dummytrigger",
myCustomFilterParam: Filter // <-- Pass in the filter parameter that you've added to your custom SearchDialog
};
Chris
___________________________________
Christopher Gillis
Aras Labs Software Engineer