Freeing a locked Schema - InfoPath Dev
in

InfoPath Dev

Freeing a locked Schema

Last post 08-22-2006 04:12 PM by Greg Collins. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-22-2006 12:01 PM

    • admot
    • Top 500 Contributor
      Male
    • Joined on 08-09-2006
    • USA
    • Posts 51

    Freeing a locked Schema

    Hello all,

    Here is the scenario. One person with the same version of InfoPath as I sent me a schema to use. I successfully loaded this from the "New from XML Documen or Schema...". However, the schema is locked from editing.

    I performed an experiment where I exported the schema from one of my forms and tried importing it into a fresh form. That schema was locked as well.

    I would like to be able to edit the schema in InfoPath. I did a search on the forum for similar issues.

    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=649&SearchTerms=locked,schema

    It talks about placing :xsd in front of the elements, which this is already done.

    Can imported InfoPath created schemas be edited by another Infopath form?

    Help will be well appreciated.
    Don't grow old regretting the things you didn't do.
  • 08-22-2006 04:12 PM In reply to

    Re: Freeing a locked Schema

    By the nature of the beast, any time you import or update a schema, InfoPath will lock it because it cannot guarantee where it came from. Only schemas built directly in InfoPath (yeah, yeah, you could argue that it was -- but that was from a different form) are editable.

    Now-- one thing you can do, is extract the form files from both forms (the one with the editable schema, and the one without), and then compare the differences in the manifest.xsf file for each. I don't recall off hand what they are, but there are a small number of key differences that cause the lock.

    If you attempt to do this with a schema that uses a namespace other than "my:", then weird things can happen. This is not recommended.

    In fact, this is an advanced process, not for the light-hearted. Be sure to back up your form before trying this.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.