<?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: Print SharePoint ID in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/83988.aspx</link><pubDate>Mon, 29 Oct 2012 15:13:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83988</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=83988</wfw:commentRss><description>Hey, I&amp;#39;m so glad this was helpful to you &amp;amp; welcome to the forum!</description></item><item><title>Re: Print SharePoint ID in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/83968.aspx</link><pubDate>Sat, 27 Oct 2012 13:14:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83968</guid><dc:creator>Bernard Townsend</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83968.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=83968</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello, I found this entry and I must say THANK YOU!!! I have been battling how to grab the SharePoint ID and the idea of using an expression never crossed my mind. I used other forum entries with no luck so once again...THANKS!! If you are still making entries, I will definitely follow up with you on future efforts. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Print SharePoint ID in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/70767.aspx</link><pubDate>Fri, 30 Sep 2011 17:19:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70767</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=70767</wfw:commentRss><description>&lt;p&gt;When I started using InfoPath, I used to work blind all the time, just sort of guessing what was going on in my secondary data sources. My ability to solve my own issues greatly improved when I started dragging data sources onto the form with complete abandon. I don&amp;#39;t know why I was so hesitant at first - I guess I&amp;#39;d invested too much time in making my forms look pretty, and hadn&amp;#39;t realized that it was pretty easy to drag stuff on and delete it afterward. Or create a debug view - put all your ugly figuring stuff out things in that view. I&amp;#39;m glad you got your issue squared away!&lt;/p&gt;</description></item><item><title>Re: Print SharePoint ID in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/70766.aspx</link><pubDate>Fri, 30 Sep 2011 17:12:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70766</guid><dc:creator>anneliese</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70766.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=70766</wfw:commentRss><description>&lt;p&gt;Thank you so much for your reply; exactly what I needed!&amp;nbsp; I also discovered I was attempting to filter on the wrong field.&lt;/p&gt;</description></item><item><title>Re: Print SharePoint ID in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/70763.aspx</link><pubDate>Fri, 30 Sep 2011 15:59:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70763</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70763.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=70763</wfw:commentRss><description>&lt;p&gt;Hi - you need to filter your secondary data source that contains your SharePoint Id. Drag the secondary data source onto your form temporarily so you can see all the data in it - then you&amp;#39;ll know which field you can use to compare to the Doc-Name field in your form.&lt;/p&gt;
&lt;p&gt;Instead of having a text box bound to your 2DS - just use an expression box (calculated value in IP 2010). For the XPath for the expression, select the ID field from the 2DS and in the formula editor, click the Filter button. Your filter will be the Doc-Name field in your main DS is equal to the Title field (or whatever field contains that info) in the 2DS.&lt;/p&gt;</description></item><item><title>Re: Print SharePoint ID in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/70759.aspx</link><pubDate>Fri, 30 Sep 2011 14:41:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70759</guid><dc:creator>anneliese</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70759.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=70759</wfw:commentRss><description>&lt;p&gt;bump&lt;/p&gt;</description></item><item><title>Print SharePoint ID in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/70551.aspx</link><pubDate>Thu, 22 Sep 2011 19:38:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70551</guid><dc:creator>anneliese</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70551.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=70551</wfw:commentRss><description>&lt;p&gt;Hello:&amp;nbsp; I need your help with printing the SharePoint 2007&amp;nbsp;(form library) ID number in the form library&amp;#39;s InfoPath 2007 form.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Goal&lt;/strong&gt;:&amp;nbsp; A user goes to the SharePoint 2007 form library, clicks to open&amp;nbsp;a filled-out form that has been submitted to that library, and then clicks the Print icon in InfoPath to print a view of the form that contains the SharePoint form library (document) ID.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What I did&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; I added the SharePoint document ID column to the default library View.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; I added a Print view to the InfoPath Form containing a text box bound to the SharePoint document ID.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What it actually does&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;The Print view in InfoPath does indeed display and print a SharePoint document ID, but not necessarily the one associated with that particular form.&amp;nbsp; It prints the&amp;nbsp;TOP-OF-THE-DEFAULT-VIEW ID&amp;nbsp;in the form library.&amp;nbsp; So, if the&amp;nbsp;SharePoint default View sorts on ID&amp;nbsp;descending,&amp;nbsp;a user opens a new form from SharePoint, fills it&amp;nbsp;out and submits&amp;nbsp;it, closes it, then opens the form from SharePoint and prints it immediately, the ID is correct.&amp;nbsp; Say it&amp;#39;s number 273.&amp;nbsp; But if three other forms are submitted in the meantime, and then the user goes back to print form 273, form 273 will display and print ID 276 -- the ID&amp;nbsp;now&amp;nbsp;at the top of the View due to its Sort configuration.&amp;nbsp; If the View&amp;#39;s Sort is changed to ID ascending, then form ID 273 will print ID 1, because 1 now appears at the top of the View.&lt;/p&gt;
&lt;p&gt;What am I missing?&amp;nbsp; I&amp;#39;ve got the feeling it&amp;#39;s something obvious...&lt;/p&gt;
&lt;p&gt;Other possibly important details:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;The Binding is configured as follows:&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;Field name:&amp;nbsp; ID&lt;/p&gt;
&lt;p&gt;Data type:&amp;nbsp; integer&lt;/p&gt;
&lt;p&gt;No Validation or Rules are applied.&lt;/p&gt;
&lt;p&gt;Text Box field, binding to Secondary data source&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;The form is not browser-enabled.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;The form uses cascading&amp;nbsp;fields that get their values from SharePoint Lists, and that part works fine, along with everything else in the form and in SharePoint.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;There is no&amp;nbsp;custom code in the form.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Thanks for your thoughts...!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[Update 2011-09-23:&amp;nbsp; I think the informationI need is how to filter to just get that particular form&amp;#39;s ID.&amp;nbsp; I have a field in the form called &amp;quot;Doc-Name&amp;quot; that is unique and this populates the Name field in the SharePoint form library, but I just can&amp;#39;t figure out how to make the form filter to get its own ID.&amp;nbsp; I do understand the form has to be submitted first in order to be assigned a SharePoint ID.]&lt;/p&gt;</description></item></channel></rss>