<?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: Pass Document Library Id To Form</title><link>https://www.infopathdev.com:443/forums/thread/16508.aspx</link><pubDate>Wed, 27 Dec 2006 07:12:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16508</guid><dc:creator>ekzarov</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16508.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16508</wfw:commentRss><description>Solution.URI is just an adress wich contains the name of library. But I need to get &lt;b&gt;GUID&lt;/b&gt; of Sharepoint Library...&lt;br /&gt;I can`t believe that I need to get from URI the name of the library and then with some web-service search for my library by this name and get GUID...&lt;br /&gt;&lt;br /&gt;P.S. My library is not a web-part, but Sharepoint default library...</description></item><item><title>Re: Pass Document Library Id To Form</title><link>https://www.infopathdev.com:443/forums/thread/16507.aspx</link><pubDate>Wed, 27 Dec 2006 00:25:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16507</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16507.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16507</wfw:commentRss><description>Have you looked at what is contained in the XDocument.Solution.URI variable? I haven't done this myself, but I believe you should be able to extract the information you are looking for from this variable.  You might have to do some substring manipulations, but it should be there.&lt;br /&gt;&lt;br /&gt;Depending on what you're doing with this information, you will probably want to perform these operations in OnLoad and then set a node or global variable t othe ID.</description></item><item><title>Re: Pass Document Library Id To Form</title><link>https://www.infopathdev.com:443/forums/thread/16506.aspx</link><pubDate>Tue, 26 Dec 2006 11:47:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16506</guid><dc:creator>ekzarov</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16506.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16506</wfw:commentRss><description>Does anybody knows, how to do this ??? Please, help...</description></item><item><title>Re: Pass Document Library Id To Form</title><link>https://www.infopathdev.com:443/forums/thread/16505.aspx</link><pubDate>Fri, 22 Dec 2006 08:33:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16505</guid><dc:creator>ekzarov</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16505.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16505</wfw:commentRss><description>Yes, but how do I pass this param ???&lt;br /&gt;and where this code "var url = XDocument.Solution.URI;" I should write???&lt;br /&gt;As I now, when I set a handler to document library I can handle some event after I submit data (apply changes), but I need to pass param into some field, for example "myLibId" when form shows...&lt;br /&gt; I am sorry, if my questions is too stupid, but I am novice in this area :(</description></item><item><title>Re: Pass Document Library Id To Form</title><link>https://www.infopathdev.com:443/forums/thread/16504.aspx</link><pubDate>Fri, 22 Dec 2006 06:58:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16504</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16504.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16504</wfw:commentRss><description>Hi Ekzarov Welcome to the Forums,&lt;br /&gt;&lt;br /&gt;By using below line of code you can get the complete url of the form where the form is opened and from which document library it is opened. Using this document library ID library value you can pass to your form.&lt;br /&gt;&lt;br /&gt;var url = XDocument.Solution.URI;</description></item><item><title>Pass Document Library Id To Form</title><link>https://www.infopathdev.com:443/forums/thread/15505.aspx</link><pubDate>Thu, 21 Dec 2006 10:53:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15505</guid><dc:creator>ekzarov</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15505.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15505</wfw:commentRss><description>I have a form, wich set as a template for several document libraries...&lt;br /&gt;When I create new item in one of this libraries, I want to know from wich I`ve Done it...&lt;br /&gt;How can I pass Document Library ID into my Form ??? Any bado knows???</description></item></channel></rss>