I'm fairly new to this - what I'm trying to do seems like it should be very simple, but I can't get it to work.
I have an InfoPath form that is published as a site content type to my Sharepoint site. It is used to send submissions from one team to another. When the form is initially filled out and submitted (using the browser), it sends an email to the second team with a copy of the form and the data, and also submits the data to the Sharepoint library. This all works fine, and I can track data related to the submissions in various columns in the library.
I have recently amended the form to allow users to add comments at the end of the submission, using a repeating control. This also works fine if the form is only opened from the Sharepoint library, but most of the users prefer to deal with it through the emailed copy. The issue I have is that when they open this form, any comments that have been added since the form was first submitted don't appear.
All I need it to do is refresh the data relating to the open submission from the library, but I haven't been able to find a straightforward way of doing that.
From what I have seen, I need to create a secondary data connection to retrieve data. The problem is that 'comment' appears as a single field when I try to set this up, rather than a repeating field, and in any case when I try to retrieve the data using this, it doesn't display any of the added comments, which is what I need.
I would be very grateful if someone can give me a step by step explanation of how to do this correctly, or at least let me know if I am taking the right approach!
Many Thanks,
Tara