<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Use a field in InfoPath for a column in sharepoint?</title><link>https://www.infopathdev.com:443/forums/thread/36855.aspx</link><pubDate>Fri, 09 Jan 2009 12:06:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36855</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36855.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36855</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am glad to hear that you got it. And thanks for placing the solution here.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Use a field in InfoPath for a column in sharepoint?</title><link>https://www.infopathdev.com:443/forums/thread/36824.aspx</link><pubDate>Fri, 09 Jan 2009 03:50:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36824</guid><dc:creator>PeterD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36824.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36824</wfw:commentRss><description>&lt;p&gt;&lt;br /&gt;Okay, I figured out how to add the appropriate rule to solve the problem described in my previous post.&lt;/p&gt;
&lt;p&gt;In the Action box for the rule, the text should look like&lt;/p&gt;
&lt;p&gt;Set a field&amp;#39;s value: Location = LocationName[LocationID = LocationID]&lt;/p&gt;
&lt;p&gt;In my case, the dropdown list is a set of Locations.&amp;nbsp; If your dropdown box was a list of say Books, then the text would be&lt;br /&gt;Set a field&amp;#39;s value: Book = BookName[BookID = BookID]&lt;/p&gt;
&lt;p&gt;To make this work, you need to link the LocationID from the main datasource to the datasource that provides the list of values. You do this by clicking on the Filter Data box and joining the two records.&lt;/p&gt;
&lt;p&gt;Hope this helps others wrestling with the same problem.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Regards,&lt;br /&gt;Peter&lt;/p&gt;</description></item><item><title>Re: Use a field in InfoPath for a column in sharepoint?</title><link>https://www.infopathdev.com:443/forums/thread/36822.aspx</link><pubDate>Fri, 09 Jan 2009 01:06:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36822</guid><dc:creator>PeterD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36822.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36822</wfw:commentRss><description>&lt;p&gt;Thank you Shiva and Swathip,&lt;/p&gt;
&lt;p&gt;I have added the Display Name to the Web Service, so both the LocationID and Location appear as fields in the main data source.&lt;/p&gt;
&lt;p&gt;However, I&amp;#39;m still unclear about how to add the rule to the LocationID so that the new form field Location gets populated.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This is what Swathip said - &lt;br /&gt;&lt;em&gt;You have to add the rule on ID field to set the DisplayName value to newly added Name field. In this we have to add the filter condition as selecting secondary DisplayName (ID is equal to main DOM ID field).&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Here is what I&amp;#39;m looking at:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Right click LocationID form field and select Drop-Down List Box Properties.&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Value: ns1LLocationID&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Display name: ns1:LocationName&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Click&amp;nbsp;Rules button&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click Add button on Rules screen&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click Add Action on Rule screen&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Fill out Action screen&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Action: Set a field&amp;#39;s value&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Field: Location&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Value: &lt;em&gt;I click insert formula, but don&amp;#39;t know what to enter (Insert Field or Group, or Insert Function)&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;
&lt;p&gt;Any help appreciated.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;</description></item><item><title>Re: Use a field in InfoPath for a column in sharepoint?</title><link>https://www.infopathdev.com:443/forums/thread/36756.aspx</link><pubDate>Thu, 08 Jan 2009 07:56:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36756</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36756.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36756</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, in your case you need to add the field to webservice and don&amp;#39;t save in the DB. And add a rule to this field as shiva said.&lt;/p&gt;</description></item><item><title>Re: Use a field in InfoPath for a column in sharepoint?</title><link>https://www.infopathdev.com:443/forums/thread/36754.aspx</link><pubDate>Thu, 08 Jan 2009 07:09:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36754</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36754</wfw:commentRss><description>&lt;p&gt;Hello Welcome to the Forums,&lt;/p&gt;
&lt;p&gt;You have to add the Name field to main schema in the same level of ID field. You have to add the rule on ID field to set the DisplayName value to newly added Name field. In this we have to add the filter condition as selecting secondary DisplayName (ID is equal to main DOM ID field).&lt;/p&gt;</description></item><item><title>Re: Use a field in InfoPath for a column in sharepoint?</title><link>https://www.infopathdev.com:443/forums/thread/36749.aspx</link><pubDate>Thu, 08 Jan 2009 05:50:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36749</guid><dc:creator>PeterD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36749.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36749</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have exactly the same problem. I want to promote the &lt;strong&gt;&amp;#39;display name&amp;#39;&lt;/strong&gt; (not the&amp;nbsp;ID value)&amp;nbsp;from an InfoPath&amp;nbsp;dropdown list to a &lt;strong&gt;column in sharepoint&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Can someone please explain, in &lt;strong&gt;more detail,&lt;/strong&gt; how to&amp;nbsp;&lt;em&gt;Add &amp;quot;Name&amp;quot; field to the main data source in the form not in the DB.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In my case, the main data source is a Web Service. &lt;/p&gt;
&lt;p&gt;Do I need to add the field to the Web Service (but just don&amp;#39;t save it to the DB) ?&lt;br /&gt;How does this new field get populated when a user selects an entry from the dropdown list?&lt;/p&gt;
&lt;p&gt;Appreciate any help.&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;</description></item><item><title>Re: Use a field in InfoPath for a column in sharepoint?</title><link>https://www.infopathdev.com:443/forums/thread/36620.aspx</link><pubDate>Tue, 06 Jan 2009 13:13:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36620</guid><dc:creator>pablavo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36620.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36620</wfw:commentRss><description>&lt;p&gt;Ah, I understand now, Thanks, that worked a treat&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Paul&lt;/p&gt;</description></item><item><title>Re: Use a field in InfoPath for a column in sharepoint?</title><link>https://www.infopathdev.com:443/forums/thread/36610.aspx</link><pubDate>Tue, 06 Jan 2009 11:49:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36610</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36610.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36610</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Add &amp;quot;Name&amp;quot; field to the main data source in the form not in the DB.&lt;/p&gt;</description></item><item><title>Re: Use a field in InfoPath for a column in sharepoint?</title><link>https://www.infopathdev.com:443/forums/thread/36609.aspx</link><pubDate>Tue, 06 Jan 2009 11:39:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36609</guid><dc:creator>pablavo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36609.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36609</wfw:commentRss><description>&lt;p&gt;Thanks for getting back to me.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;Anuma&lt;/strong&gt;, In regards to adding the Name field to the Main data connectio, do you mean adding the Name field to one of the tables in the db that is represented in the Main connection? If that&amp;#39;s the case, I&amp;#39;m trying to avoid using an extra field in the db and would rather use the ID as the FK rather than the Name... If I&amp;#39;ve got it wrong, apologies.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;Frederik&lt;/strong&gt;, I&amp;#39;m not sure I know how to do this, could you maybe guid me a little. &lt;/p&gt;
&lt;p&gt;Again, thanks for your help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;</description></item><item><title>Re: Use a field in InfoPath for a column in sharepoint?</title><link>https://www.infopathdev.com:443/forums/thread/36607.aspx</link><pubDate>Tue, 06 Jan 2009 11:22:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36607</guid><dc:creator>Frederik Van Lierde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36607</wfw:commentRss><description>&lt;p&gt;I would go for Anuma&amp;#39;s solutions&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Another option is to add a coluémn and make a data lookup in SharePoint.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Frederik&lt;/p&gt;</description></item><item><title>Re: Use a field in InfoPath for a column in sharepoint?</title><link>https://www.infopathdev.com:443/forums/thread/36605.aspx</link><pubDate>Tue, 06 Jan 2009 10:35:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36605</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36605.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36605</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Add Name field to the main data source and get the data from db when you get the ID value and save it in Name field. So, now you can ble to promote that Name value now.&lt;/p&gt;</description></item><item><title>Use a field in InfoPath for a column in sharepoint?</title><link>https://www.infopathdev.com:443/forums/thread/36604.aspx</link><pubDate>Tue, 06 Jan 2009 10:24:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36604</guid><dc:creator>pablavo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36604.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36604</wfw:commentRss><description>&lt;p&gt;Hi there, hope someone can help.&lt;/p&gt;
&lt;p&gt;When a form is published there&amp;#39;s the option that lets you select fields to be columns in a SharePoint library, it only seems to let you select from the Main data connection and what&amp;#39;s in that.&lt;/p&gt;
&lt;p&gt;I have an ID field in there that&amp;#39;s populated by a drop down list in the form.&amp;nbsp;The drop down list data is taken from&amp;nbsp;another data connection that retrieves a table from the database. it has an ID column and a Name column. The problem I have is that the Name column is not in the Main data connection.... only the ID because it&amp;#39;s a foreign key taken from the other data connection.&lt;/p&gt;
&lt;p&gt;When I publish my form to a library in Sharepoint I want to use the Name field as a column in the library, however, it seems I can only choose from the Main data connection and that only has the ID field.&lt;/p&gt;
&lt;p&gt;Is there a way to be able to select from the Name field?&amp;nbsp;&amp;nbsp; I could just redevelop the database and use the name column rather than the ID column but I want to know if there&amp;#39;s an alternative.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Hope this all makes sense and thanks&lt;/p&gt;</description></item></channel></rss>