I have a dropdown that is populated by a secondary datasource. This works fine. I want to be able to select a value from the dropdown and populate a repeating table of my main based on values from another secondary datasource.
I can set rules on my dropdown that set the indivdual fields of my repeating table and only received the first record. After some reading thought th
I then added a filters to the fields from within the repeating table and I got the same results, only the first record.
So I tried dragging over the group from the secondary datasource which brought over all of the fields from the secondary datasource and bound it to it. This causes 2 problems. One everything is grayed out under the data tab, so I can not filter it. secondly since it is unfiltered the form tries to bring in too much data on the load and hangs.
My xpath looks like the following where VwReservationDetails is the secondary datasource and it will bring in the first record fine.
xdXDocument:GetDOM("VwReservationDetails")/dfs:myFields/dfs:dataFields/d:VwReservationDetails/@PART_ID[../@RES_ID = xdXDocument:get-DOM()/my:myFields/my:Request_No]
Part_no is the field inside the Material_transfer group in Main being field populated with PART_ID from VwReservationDetails
where RES_ID from the VwReservationDetails is equal to the Request_No (dropdown on the form)
I am guessing I need to include the group on the form somehow but I am not sure how and if this works how would the fields get there mapping:
/my:myFields/my:Material_Transfer
Jester of all trades, serious in none.