Simple search not working on dynamically setting search value for Activity2 Itemtype?
Hi Team,
I have Item A and have "Activity2" relationship Item. I m setting search value for one of the field in Activity2. On clicking of search it not working.
Following is way I am setting field search value
//Setting filter value in search dialog box
var Filter = {};
Filter["proj_num"] = { filterValue: 1333|1393, isFilterFixed: false };
return Filter;
proj_num is one of the OTB field in form
But if I Manually search with same value(1333|1393) it give result.
I don't know what is going wrong. Any one please can help me out of this?
Thanks in advance
Hi Christopher,
Thank you for replying.
I tried making tags capital but still due to some reason its not working.
Finally I end up writing following code and it resulted output I required.
//Getting Id's of Item that required using some logic
var IDs = "6C8BA60B1D784925BEA21D234312EDD8,EF95B584FB5F46C5A6C38794A03653F8"//Getting values in array
var tempArray = IDs.split(',');//Binding result to search dialog
inArgs.QryItem.item.setAttribute("idlist", tempArray);Hope this help to others struggling from same problem.
Thank you once again Christopher for every help and quick response
Thanks & Regards
Gaurav