<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Linking Template Part data source to Parent Form</title><link>https://www.infopathdev.com:443/forums/thread/63922.aspx</link><pubDate>Mon, 07 Feb 2011 11:49:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63922</guid><dc:creator>abis123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63922.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=63922</wfw:commentRss><description>Thanks very much for your reply. That&amp;#39;s the way I currently get around this problem; I put a temporary field into my Template Part, then after adding the part to a parent form, change any references to the temporary field to the field in the parent form. But if I put 20 occurrences of the template part on the form, this becomes tedious and time consuming.</description></item><item><title>Re: Linking Template Part data source to Parent Form</title><link>https://www.infopathdev.com:443/forums/thread/63904.aspx</link><pubDate>Sat, 05 Feb 2011 20:14:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63904</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63904.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=63904</wfw:commentRss><description>&lt;p&gt;Why not just add that node to the XTP and then reference it? After all, the XTP adds the nodes to the parent form anyway. And the parent form can be easily changed to set that field after the XTP is injected.&lt;/p&gt;</description></item><item><title>Linking Template Part data source to Parent Form</title><link>https://www.infopathdev.com:443/forums/thread/63885.aspx</link><pubDate>Fri, 04 Feb 2011 16:44:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63885</guid><dc:creator>abis123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63885.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=63885</wfw:commentRss><description>I am wanting to create a Template Part that will link to a data source in it&amp;#39;s &amp;#39;parent&amp;#39; 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 &amp;#39;parent&amp;#39; form), but instead of having to manually link each Template Part to a specific data source in the &amp;#39;parent&amp;#39; 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&amp;#39;t currently exist, it errors.

Many thanks</description></item></channel></rss>