Hi all, i am retrieving from db a list of items, associated to a specific item i have. The current code is similar to this : [MyApp.AssocAA_AssocBB /MyApp.AssocBB /MyApp.AssocBB_AssocCC /MyApp.AssocCC /MyApp.AssocCC_AssocDD = $MyItemDD]Now i need to make sure this uses only items CC (for example) that have MyParameter=False.Is there an easy way to include this kind of filtering in the XPath, so i keep having one Retrieve action ? I know there is a way to achieve this through multiple retrieves and looped filtering, but i hope someone would open my eyes to a solution i didn't think of.Many many many thanks
asked
Adrian Dragomir
2 answers
1
For Xpath you could try something like this:
[MyApp.AssocAA_AssocBB
/MyApp.AssocBB
/MyApp.AssocBB_AssocCC
/MyApp.AssocCC
[MyParameter = false]
/MyApp.AssocCC_AssocDD = $MyItemDD]
answered
Ena Glavac
0
Hi Adrain, Use list operation method to filter the list