I am wanting to create a Template Part that will link to a data source in it's 'parent' form.
I want to know if a form has been submitted in a Template Part (which I will store in a boolean variable in the 'parent' form), but instead of having to manually link each Template Part to a specific data source in the 'parent' form, is there a way to reference where the data source WILL BE when I am designing the Template Part? I have tried to use its direct XPath (../../my:Submitted in this instance), but as it doesn't currently exist, it errors.
Many thanks