Hi Team,
I am working on the below form. I have requirement to filter the tiles count on change event of filter control, for single values it is working fine but for multi values it is not working.
I am looking to pass multi values to the createFilterValueForString method. Please let me know if anybody has done this before.
SysIFilterValue itemIdFilter = SysFilterValueFactory::createFilterValueForString(element.parmItemId(), extendedTypeNum(ItemIdSmall));
filter.addItem(itemIdFilter, SysFilterOperator::Equal, SysFilterValueResolutionMethod::None);
Expected : filter value will be like "Item1","Item2" then all the count of tiles only show record corresponding with Item1 and Item2.
Hi Vijay,
Can we try to filter by using:
a. Taking all the selected values in a container: conItems.
b. Use a parameter with large string value (eg. Notes) so as to accommodate any number of selected items and then pass it on as element.parmItemId() , by casting the container to string using con2str(conItems).
c. Also we need to use a relevant EDT in place of ItemIdSmall.
Regards,
Subha
Hi Vijay Yelmame,
There is no possibility to pass multiple value to SysFilterValueFactory. As you can see in that class - you can only pass Date, Date time, Integer, Common, Int64, String.
Thanks,
Girish S.
André Arnaud de Cal...
292,162
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156