Dears,
I'm working with Info-path 2013 , SharePoint 2013 Visual Studio 2012.
in the Sharepoint i have the following:1- 1 List called "Messages" which represent the users action
.
2- 1 Document Library "Attachments" which include all the attachments sent from the Approver when he/she submit assigned task.
3- in the "Attachment" Library Lookup column defined and mapped to "Messages" List , when the user submit the task he/she can also upload multi attachments in the infopath i'm saving the attached documents in attachments library (so this
means One to Many).
4- ok in the Infopath I'm showing all the Actions completed by the users in Repeating Table.
5- please see attach1 File.
6- in the Infopath i had created 2 DataConnection one for the Messages List and other for Attached Library.
7- i Dragged and dropped the Messages Connection and choose Repeating Section and i changed the design as you can see in attach1.
8- i Dragged and dropped Attachments Library in the body but inside the Repeating Section for the Messages Connection
9- you can the see the infopath design in Attach2 also.
The question is how can i filter the Attachment items in the second data connection based on the Task ID which is exist in the Attachments Library as Lookup column