<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Independant forms?</title><link>https://www.infopathdev.com:443/forums/thread/26164.aspx</link><pubDate>Fri, 01 Feb 2008 16:55:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26164</guid><dc:creator>djay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26164.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26164</wfw:commentRss><description>&lt;p&gt;Thanks for the reply Pat, but that won&amp;#39;t work.&amp;nbsp; When I update the template I will save it to the SharePoint server as a different name.&amp;nbsp; This is so that, if it is signed, the form will open properly with the old template (see &lt;a class="" href="http://www.infopathdev.com/forums/p/7023/25613.aspx#25613" target="_blank"&gt;this thread&lt;/a&gt; for why).&amp;nbsp; So the form will be opened from a template that doesn&amp;#39;t know it is old.&amp;nbsp;&amp;nbsp;SharePoint is the only object that knows what the latest template is.&amp;nbsp; But looking at your other post you already know that.&lt;/p&gt;
&lt;p&gt;It won&amp;#39;t be hard to setup template version control, if I knew what the latest version is.&amp;nbsp; There are many SharePoint web services, and I know the data is in there somewhere...I&amp;#39;m just hoping someone knows how I can get to it.&amp;nbsp;&amp;nbsp;If no one knows I will probobly end up throwing&amp;nbsp;the value up on a SQL server somewhere and manually change it.&amp;nbsp; But that isn&amp;#39;t very elegant.&lt;/p&gt;</description></item><item><title>Re: Independant forms?</title><link>https://www.infopathdev.com:443/forums/thread/26158.aspx</link><pubDate>Fri, 01 Feb 2008 08:33:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26158</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26158.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26158</wfw:commentRss><description>&lt;p&gt;Hi DJay,&lt;/p&gt;
&lt;p&gt;Just write an OnVersionUpgrade event handler in the latest XSN (using code). When the version upgrade event fires (on load) it means the form is from an old version and has to be upgraded. Then, you can insert the missing fields, or modify the XML before it validates the form. Here&amp;#39;s an example from the SDK:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;function XDocument::&lt;b class="bterm"&gt;OnVersionUpgrade&lt;/b&gt;(eventObj)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; if (!XDocument.DOM.selectSingleNode(&amp;quot;/Customers/CustomerInfo/EmailAddress&amp;quot;))&lt;br /&gt;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Create the new element.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var objItemNode = XDocument.DOM.selectSingleNode(&amp;quot;/Customers/CustomerInfo&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .ownerDocument.createElement(&amp;quot;EmailAddress&amp;quot;);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Add the new &amp;lt;item&amp;gt; element to the XML document as a&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // child of the &amp;lt;order&amp;gt; element.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument.DOM.selectSingleNode(&amp;quot;/Customers/CustomerInfo&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .appendChild(objItemNode);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eventObj.ReturnStatus=true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(ex)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument.UI.Alert(&amp;quot;There was an error inserting the &amp;quot; +&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;&amp;lt;EmailAddress&amp;gt; node.\nDescription: &amp;quot; + ex.description);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eventObj.ReturnStatus=false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;You can check&amp;nbsp;for the signature section in the schema to determine whether it is signed or not.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There was another related thread on this last week: &lt;a href="http://www.infopathdev.com/forums/p/7106/25973.aspx#25973"&gt;http://www.infopathdev.com/forums/p/7106/25973.aspx#25973&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Re: Independant forms?</title><link>https://www.infopathdev.com:443/forums/thread/26140.aspx</link><pubDate>Fri, 01 Feb 2008 03:37:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26140</guid><dc:creator>djay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26140.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26140</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m working on implementing Mary&amp;#39;s system.&lt;/p&gt;
&lt;p&gt;But I want to automaticly detect (when a form opens) if it is using the latest template or not.&amp;nbsp; And if it is using an old template and it is not signed it should automaticly upgrade...&lt;/p&gt;
&lt;p&gt;But I am stuck just trying to find what the latest template on the SharePoint server is.&amp;nbsp; The only way I have found to get close is to use the Lists.asmx web service and use the GetListContentTypes method.&amp;nbsp; But the returned data does not have the template URL.&amp;nbsp; The only identifyer is the ID, which looks like a SharePoint generated ID which is not saved in the individual form&amp;#39;s XML.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The only idea I&amp;#39;ve got at this point is to open the template on the SharePoint server, and check if it is the same as the currently open form from within InfoPath.&amp;nbsp; But that is hacktastic at best.&amp;nbsp; Or manually update the old template to identify it as old, but I&amp;#39;m way too lazy for that.&amp;nbsp; Does anyone have any better suggestions?&lt;/p&gt;</description></item><item><title>Re: Independant forms?</title><link>https://www.infopathdev.com:443/forums/thread/10191.aspx</link><pubDate>Wed, 02 Aug 2006 22:52:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10191</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10191.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10191</wfw:commentRss><description>It is always best to have the schema of a form finalized before you start using it in a production environment, but changes are often inevitable. For the future forms to properly handle these schema changes InfoPath creates an upgrade.xsl automatically that should convert old XML files into the new schema.  However, this can only add nodes and will not delete or rearrange them.  Therefore, if the only schema changes you ever make to the "Master Form" as you call it are additions of nodes to the schema, then the upgrade.xsl should be all you ever need.&lt;br /&gt;&lt;br /&gt;If you decide to delete or rearrange nodes, then you will be forced to write code so that the old XML files are converted upon opening.</description></item><item><title>Re: Independant forms?</title><link>https://www.infopathdev.com:443/forums/thread/10190.aspx</link><pubDate>Wed, 02 Aug 2006 22:29:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10190</guid><dc:creator>mbenbow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10190</wfw:commentRss><description>Hey,&lt;br /&gt;&lt;br /&gt;InfoPath is  and is not like other Electronic Form packages (ie., F3 Fill, Jetform, Delrina, Adobe and Accelio).  &lt;br /&gt;&lt;br /&gt;Like the other E-Form packages, the data file is separate from the template.&lt;br /&gt;&lt;br /&gt;Unlike the other E-Form packages, when you revise the template (especially adding new or deleting fields from the datasource) older data will no longer understand the template if published in the same location unless you write an upgrade.xsl or some upgrade code.&lt;br /&gt;&lt;br /&gt;In other words, Microsoft is requiring the developer to write the functionality of how to map the old data to the new version of the template.  This is not how prior E-Forms packages operated.&lt;br /&gt;&lt;br /&gt;If you look at the InfoPath SDK, Microsoft states "When you design a form, Microsoft Office InfoPath 2003 assumes that the form's data source is in it's final state. InfoPath doesn't adapt to changes in the form's data source. "&lt;br /&gt;&lt;br /&gt;To give Microsoft a little credit, that makes sense if your forms are being driven by Databases and/or web services.  However, if you deal with 400+ InfoPath forms in an Enterprise envornment for users in Field Sales, Internationally as all USA states where only a few of the 400+ forms are database driven....this philosophy is absurd!&lt;br /&gt;&lt;br /&gt;To lessen some of the impact, we have decided to add a task pane to the older version of form informing the user that the form has been replaced by a newer version.  We republish the "task pane" version of the form into the same Form Library in sharepoint.  This allows for any workflow data to complete its course.  &lt;br /&gt;&lt;br /&gt;Then we copy the new version of the form to the Sharepoint library, go into Modify Columns and settings and change the template name to xyz_yyyymmdd.xsn and republish it to the same library.&lt;br /&gt;&lt;br /&gt;In Sharepoint Form libraries, whatever the file name in the template section of modify columns and settings is - is what the publishing wizard uses when publishing a form via InfoPath to Sharepoint.&lt;br /&gt;&lt;br /&gt;It is not as clean as the other E-Forms packages which understand the old data files regardless of how many changes occur to the template, but it is the best we could manage when only 1 person is maintaining 400+ electronic forms.&lt;br /&gt;&lt;br /&gt;Just my 2 cents worth,&lt;br /&gt;Mary</description></item><item><title>Re: Independant forms?</title><link>https://www.infopathdev.com:443/forums/thread/10189.aspx</link><pubDate>Wed, 02 Aug 2006 12:24:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10189</guid><dc:creator>Kalyan Gaddam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10189.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10189</wfw:commentRss><description>Hello &lt;br /&gt;What do you mean by a Master Form? Template?&lt;br /&gt;Yes Infopath forms can function independently. If you make the changes to the Template you can publish that in Different form libraries.&lt;br /&gt;&lt;br /&gt;Hope I did understand your point correctly</description></item><item><title>Independant forms?</title><link>https://www.infopathdev.com:443/forums/thread/5752.aspx</link><pubDate>Tue, 01 Aug 2006 14:29:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5752</guid><dc:creator>nikihoi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5752.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5752</wfw:commentRss><description>Good morning all!!!&lt;br /&gt;&lt;br /&gt;I am here once again trying to figure out this potentially incredible application called InfoPath.&lt;br /&gt;&lt;br /&gt;I really like the features that come with InfoPath, but am not crazy how it is linked to a master form.  I was wondering if there was a way to have a form perform independantly.  So, if I have one of my coworkers open up a form and do a "save as" to it, then I go and make a change to the master, then the changes will not effect the forms opened and created from prior to the changes.&lt;br /&gt;&lt;br /&gt;I know this may sound crazy to me, but I am really liking the functionality of the form, and all the options you have to create views within a form especially.  I don't need these forms to reference prior form or any access databases.  I just want to know if there is a way that each form will be an independent of themselves.&lt;br /&gt;&lt;br /&gt;I really hope there is a way to do this and  I appreciates everyones help.  Thank you for all yours patience and have a great day!!!</description></item></channel></rss>