<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Editing infopath 2010 form when using XML</title><link>https://www.infopathdev.com:443/forums/thread/101469.aspx</link><pubDate>Thu, 26 Feb 2015 14:21:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101469</guid><dc:creator>adriancarteratx</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101469.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=101469</wfw:commentRss><description>&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;Thank you for your response and helpful insight. Based on your
comments and my further research, it appears that a secondary data source (XML
in my case) does not store data and therefore when I open my form to edit it in
SharePoint, the data is not showing in the controls due to the data not being
stored in the controls because the I am using a secondary data source for the
non-repeating controls.&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;With that being said, how can we fix the issue we are having
while keeping the secondary data source in place? In other words, is there a
workaround to have the data show in these controls when we open the form while
keeping the secondary data source in place? We need this secondary data source
to be able to put non-repeating controls (for data that is consistent for all
line items).&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&lt;font color="#000000" size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;Regarding your comment about making the project name a field in
the list…do you mean make project name a field in the XML list? If so, can you
give us the code for that…is it something like &lt;/span&gt;&lt;font size="3"&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;&amp;lt;Field:projectname
/&amp;gt; ?&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font color="#000000" size="3" face="Times New Roman"&gt;

&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;</description></item><item><title>Re: Editing infopath 2010 form when using XML</title><link>https://www.infopathdev.com:443/forums/thread/101454.aspx</link><pubDate>Wed, 25 Feb 2015 23:37:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101454</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101454.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=101454</wfw:commentRss><description>&lt;p&gt;The data will only be saved from the main data source. Your secondary XML file cannot store data. So if you have a control bound to it, as you have found, that data is not saved. Since this is a list form, you&amp;#39;d need to add the project name as a field in the list.&lt;/p&gt;</description></item><item><title>Re: Editing infopath 2010 form when using XML</title><link>https://www.infopathdev.com:443/forums/thread/101453.aspx</link><pubDate>Wed, 25 Feb 2015 23:34:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101453</guid><dc:creator>adriancarteratx</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101453.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=101453</wfw:commentRss><description>&lt;p&gt;This form is not based off a database.&amp;nbsp; Just a list view.&amp;nbsp; The form is a work request for a dept for a client I am working with.&amp;nbsp;Currently the people making the request have to fill out the form for every channel of their marketing campaign (Phone, email, direct mail...)&amp;nbsp; I created the non-repeating fields and XML to capture data that stays the same per channel. The&amp;nbsp;repeating fields they can add channels for that data that does change.&amp;nbsp; When submitted this creates&amp;nbsp;X line items(depending on how many times you make it repeat)&amp;nbsp;in the list.&amp;nbsp;&amp;nbsp; The issue is when you go to edit one of the line items (I can see all the fields populated in the list), it pulls up the form and any of the fields that I used XML for do not display any of the data.&amp;nbsp; Thank you for responding.&lt;/p&gt;</description></item><item><title>Re: Editing infopath 2010 form when using XML</title><link>https://www.infopathdev.com:443/forums/thread/101442.aspx</link><pubDate>Wed, 25 Feb 2015 20:27:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101442</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101442.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=101442</wfw:commentRss><description>&lt;p&gt;InfoPath only saves data in the main data source. Why did you have to add a secondary data source to have a non repeating field? Is the form based off a database?&lt;/p&gt;</description></item><item><title>Editing infopath 2010 form when using XML</title><link>https://www.infopathdev.com:443/forums/thread/101407.aspx</link><pubDate>Wed, 25 Feb 2015 02:14:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101407</guid><dc:creator>adriancarteratx</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101407.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=101407</wfw:commentRss><description>&lt;p&gt;I built an infopath 2010 form that has both repeating and non-repeating fields.   In order to get non-repeatig fields I had to create an XML file and bind the project name form control to the prject name XML.   The problem I am having is when I go to the list item and try to edit there is no data in the project name text box control.  My question is why is the project name text box control empty when i go to edit the list item in sharepoint 2010?&lt;/p&gt;&lt;p&gt; Here is an example of the xml code I used.&lt;/p&gt;&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt; &lt;br /&gt;&amp;lt;root&amp;gt;&lt;br /&gt;  &amp;lt;projectname /&amp;gt; &lt;br /&gt;&amp;lt;/root&amp;gt;&lt;/p&gt;</description></item></channel></rss>