<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: SharePoint Library URL and qRulesLink?</title><link>https://www.infopathdev.com:443/forums/thread/92491.aspx</link><pubDate>Sun, 25 Aug 2013 23:23:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92491</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92491.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=92491</wfw:commentRss><description>&lt;p&gt;Cool. Thanks for posting the workaround. Double submits are de riguer to get IDs in the form.&lt;/p&gt;</description></item><item><title>Re: SharePoint Library URL and qRulesLink?</title><link>https://www.infopathdev.com:443/forums/thread/92352.aspx</link><pubDate>Mon, 19 Aug 2013 16:59:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92352</guid><dc:creator>David Alvarado</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92352.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=92352</wfw:commentRss><description>I figured out a workaround and thought that I&amp;#39;d share it with the community.  It was a quick and dirty solution but it is a solution nonetheless:&lt;br /&gt;&lt;br /&gt;

1. The data connection for my submit to SharePoint Library automatically names my InfoPath form using the formula &amp;quot;concat(ID, Type, SubmitDate)&amp;quot; which uniquely identifies the form.&lt;br /&gt;&lt;br /&gt;

2. I added a text field in the form whose value get calculated after the form is initially submitted and an ID is assigned to the case.&lt;br /&gt;&lt;br /&gt;

3. Because the URL for the SharePoint Library is known and unique, and the name of the form that is added to the library is also known and unique, it is simply a matter of combining the library&amp;#39;s URL plus the name of the form.  I used another concat formula to add the URL of the Library and the form name to identify the URL for the form in the library: concat(&amp;quot;SharePointLibraryURL&amp;quot;, concat(ID, Type, SubmitDate), &amp;quot;.xml&amp;quot;)&lt;br /&gt;&lt;br /&gt;

4. I then mapped a new field in my SharePoint List to receive this form URL so that I can access the form via hyperlink from the library and call it from an email generated by workflow.&lt;br /&gt;&lt;br /&gt;

I must note that this requires submitting the form twice; once to generate the ID (and form name) and once to update the SharePoint list item with the form&amp;#39;s URL.  It&amp;#39;s an additional click, but it works.</description></item><item><title>SharePoint Library URL and qRulesLink?</title><link>https://www.infopathdev.com:443/forums/thread/92347.aspx</link><pubDate>Mon, 19 Aug 2013 15:40:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92347</guid><dc:creator>David Alvarado</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92347.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=92347</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;

I have an InfoPath form that is submitting data to a SharePoint List and an attachment added to the form to a SharePoint Library.  I have successfully used the SaveToSharePoint function to generate and identify the URL for the attachment file in the qRulesLink field in my InfoPath form.  I have mapped the qRulesLink field to a field in my SharePoint List so that I can access the attachment via hyperlink when viewing the item&amp;#39;s data in the SharePoint List.&lt;br /&gt;&lt;br /&gt;

I have a separate button that submits the attachment to its document library, and the flow of the form requires the user to save the attachment prior to being able to submit the form.  This allows the URL for the attachment to be created and displayed in the form prior to submitting the data to the SharePoint List.&lt;br /&gt;&lt;br /&gt;

I have added a Submit using a data connection rule to the same button that submits the form&amp;#39;s data to the list.  This new rule submits a copy of the InfoPath form itself to separate SharePoint document library than the attachment files.&lt;br /&gt;&lt;br /&gt;

I want to be able to duplicate the process of identifying the URL for the InfoPath form that is submitted to its document library and display the URL in a field in the form itself exactly the same way that the qRulesLink field displays this information for the attachment added to the form.&lt;br /&gt;&lt;br /&gt;

I am hoping that because I have the rule ordering for the button that submits the InfoPath form to its document library and the form&amp;#39;s data to the list to submit the form to the library first that a URL can be populated into a field in the form before the second rule of submitting the data to the list runs.&lt;br /&gt;&lt;br /&gt;

If that is not possible I can always create another button to handle these submission separately.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;How would I go about identifying the URL for the InfoPath form that is submitted to the SharePoint Library and displaying the URL in the form itself?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;

Thank you for your help!!!</description></item></channel></rss>