Respondida Form Template Conflict - Same Form ID When Copying Template

  • martes, 15 de abril de 2008 10:39
     
     

     

    Hi,

    I have an InfoPath Form that I have uploaded successfully to SharePoint using the Form Services.

    I now want to make a copy of my InfoPath Form Template so I can create a similar Template (just want to make a few adjustments) then upload that one, so will have two that serve similar but different purposes.

    The problem is that if I just make a copy (copy and paste) the Template on my computer, I can't open it without getting the following message:

     

    Form Template Conflict

    The form template you are opening has the same ID as a template already on your computer.

     

    Then it goes on to say I can either keep my existing one, or replace it with this one????????

     

    All I want to do is make a copy so I don't have to design essentially the same Form.

     

    Somehow I need to  create a new template (from the existing one) but have a different Form ID.

     

    Can anyone please help with this (should be simple) issue.

     

    Kind Regards,

     

    Grant.

Todas las respuestas

  • martes, 15 de abril de 2008 12:21
     
     Respondida

    After you copy the form template, open the new .XSN in Design mode. Select File > Properties, change the Name to a new name, then click the Reset button to generate a new form ID.

  • martes, 15 de abril de 2008 12:29
     
     

     

    Hi David,

     

    Your a legend - thanks heaps for the solution, and such a quick response, much appreciated.

     

    Kind Regards,

     

    Grant.

  • domingo, 23 de noviembre de 2008 9:06
     
     
     

    Hi Grant/David:



    Can you help me how you got this one please? I am also doing the same steps, but still getting the same error. I copied the exisiting  .xsn to a new location and opened in design mode.

    In design mode, under file properties renamed the template with a different name and hit reset button.

    When I publish I get the same error.

    In the error dialog, I see that template ID is still the same.

    Is I am missing any steps.

    Thanks!
    Ravi


    Ravi
  • viernes, 11 de diciembre de 2009 15:17
     
     
    I am having the same problem as Grant and RaviChandra.  I have two variations of the same Infopath form (Aspen Consultant Status Report and Platu Consultant Status Report).  I gave them unique IDs per the instructions of David above.  Prior to publishing the form, I verified that the template IDs were unique (urn:schemas-microsoft-com:office:infopath:Aspen-Consultant-Status-Report:-myXSD-2008-11-16T16-33-41, urn:schemas-microsoft-com:office:infopath:Platu-Consultant-Status-Report:-myXSD-2008-11-16T16-33-41).  I then published each form to two different SharePoint sites.  The name of the document library in each site is "Consultant Status Reports").  If I create an Aspen Consultant Status Report in the Aspen SharePoint document library, then create a Platu Consultant Status Report in the Platu SharePoint document library, I get the message "The form template you are opening has the same ID as a template already on your computer."  The form template ID in the message box is "urn:schemas-microsoft-com:office:infopath:Consultant-Status-Reports:-myXSD-2008-11-16T16-33-41".  Note that it seems to have lost the unique template ID that I assigned and manufactured a non-unique template ID using the name of the document library where I published the form.

    If I open the form that comes back from the library for design, I see that the template ID indeed has lost my unique ID and now has the name of the library where it was published.

    So, the only work around is to name the document library uniquely.  I believe this behavior is counter to the information above.

    Ross McKenrick
    Project Manager
    Microsoft Consulting Services
  • viernes, 11 de diciembre de 2009 15:32
     
     
    Hi Ross,

    You could possibly keep myXSD-2008-11-16T16-33-41 bit of form id information unique to avoid this problem, though i haven't tested it yet.


    Ashraf ul Islam
    Sharepoint Consultant
  • martes, 05 de enero de 2010 17:23
     
     

    This may be a different issue but we are having a similar issue with an InfoPath form templates that have custom columns. Once an InfoPath form template and its data have been copied to a new site the form breaks because it want to use the original GUIDs for the instance of the template from that previous site. The only way to fix it is to recreate the custom columns. Does anyone know why it will not create new GUIDs for that column of data and how this may be fixed? We are using InfoPath 2007 with MOSS 2007 and SQL Server 2008 backend.


    Production DBA
  • lunes, 24 de mayo de 2010 19:10
     
     

    You are the MAN! 

    10Q

  • martes, 07 de septiembre de 2010 21:46
     
     

    Hi Ross,

    Yes having exactly the same issue here.

    Ashraf - I when I have tried to make the form ID unique by changing it manually it still reverts back to the original ID.

     

    Would really appreciate a fix for this. perhaps it is a MS bug that the ID reverts back? Has anyone logged it?

  • viernes, 27 de julio de 2012 13:09
     
     
    thank you thank you thank you, I will write a song about you, I have been growling at my computer for the past 2 days trying to workout why my template kept reverting back to the old name after I renamed it.. now I have the answer. You are a star