<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Combining field data with a Data Connection to save in a specific location</title><link>https://www.infopathdev.com:443/forums/thread/119870.aspx</link><pubDate>Thu, 20 Sep 2018 23:24:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119870</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119870.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=119870</wfw:commentRss><description>You could maybe have a single doc library these submit to and promote a field indicating where you&amp;#39;d like them to go - then use workflow to move them to the correct library.</description></item><item><title>Re: Combining field data with a Data Connection to save in a specific location</title><link>https://www.infopathdev.com:443/forums/thread/119867.aspx</link><pubDate>Thu, 20 Sep 2018 14:15:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119867</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119867.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=119867</wfw:commentRss><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;&lt;p&gt;Thanks for coming back to me over this one&amp;nbsp;- I did think it unlikely that there was a &amp;#39;simple&amp;#39; solution, or in fact much of a solution at all as I&amp;#39;ve hunted hard to see if there&amp;nbsp;was an answer or guidance and I&amp;#39;ve found nothing.&amp;nbsp; I did read one person who has used a method of splitting the manifest.xsn out and running a script against that to alter the data connections, however that seems a&amp;nbsp;&amp;#39;shot gun&amp;#39; approach to the problem to my mind.&lt;/p&gt;&lt;p&gt;Using multiple data connections is the only way I thought it can be done in one version, but in this instance that means creating 18 different &amp;#39;Save To&amp;#39; connections.&amp;nbsp;I don&amp;#39;t think there is a maximum number which can create in a template file, but I&amp;#39;d hate to get to a maximum and then find the form falling over.&amp;nbsp; If there was a way of using a general Submit rather than a specific &amp;#39;save to&amp;#39; I&amp;#39;d use it but that method is limited in terms of naming options.&amp;nbsp; I did wonder if I could use a workflow after the event though which is set to &amp;#39;upon creation&amp;#39; to alter the filename to that which I need.&amp;nbsp; Perhaps that is worth experimenting with a bit.&lt;/p&gt;&lt;p&gt;Thanks for your thoughts though.&amp;nbsp; &amp;nbsp;Alan C.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Combining field data with a Data Connection to save in a specific location</title><link>https://www.infopathdev.com:443/forums/thread/119827.aspx</link><pubDate>Fri, 14 Sep 2018 23:23:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119827</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119827.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=119827</wfw:commentRss><description>Sadly, this is something InfoPath just doesn&amp;#39;t do well. The best non-code option I know of is to add a bunch of submit connections, and then use submit rules to determine which connection to use - your condition can leverage some of the URL functions to check the site the form was opened from. It&amp;#39;s a real pain. If this is not Office 365, you can use code or qRules to do this. You can find some sample code here: https://blogs.msdn.microsoft.com/infopath/2006/11/08/submitting-to-this-document-library/</description></item><item><title>Combining field data with a Data Connection to save in a specific location</title><link>https://www.infopathdev.com:443/forums/thread/119771.aspx</link><pubDate>Mon, 10 Sep 2018 14:45:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119771</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119771.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=119771</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;font face="Calibri"&gt;&lt;font size="3"&gt; Hi.&amp;nbsp; I have a form which I want to use as a template in a Site
Content Type so it can be used in multiple libraries.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;The objective is to allow different
Departments to have their own instance of the Library in a Subsite relevant to
just their department.&lt;/font&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;The design of the
libraries should be exactly the same as one another so that data is common (and
can be examined for trends), users changing departments don’t have to learn a
new system, management of the different libraries is simpler etc.&lt;/font&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;If I create a single ‘Submit’ data connection in my ‘common’
form, this dictates a specific Library into which the form is to be saved.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;Even if I Publish the form as a Site Content
type there appears (to me) to be no easy way for the form to understand the
context of where it is used - for example in the ‘Operations’ department, as
opposed to ‘Finance’, Sales, HR subsites and Library’s.&lt;/font&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font size="3"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri" size="3"&gt;I was wondering if it is possible to have a data connection
which doesn’t define the Library into which it should be saved specifically,
rather that it defines the generic Site (in the line which should be for the Document
Library on the data connection form), and then the Library and the file name is
created in the File Name line (of the data connection form) as a ‘concat’
function from two or more fields?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Calibri" size="3"&gt;&lt;font face="Calibri" size="3"&gt;I’ve tried building the data connection this way however can’t
get the combination of ‘/’ or ‘\’ or ‘%2E’ or similar to build the string
correctly.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Calibri" size="3"&gt;&lt;font face="Calibri" size="3"&gt;Can anyone shed light on attempting this approach or suggest
an alternative method I might want to consider?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Calibri" size="3"&gt;&lt;font face="Calibri" size="3"&gt;Thanks in advance – Alan C.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>