InfoPath Displaying Fields As Read Only When Nodes Are Missing FromThe .XML File. Does anyone have

J

jonathangill

InfoPath apparently has a default behavior that is causing problems
for us. Apparently when the schema defines a node/field and that node
is not present in the .xml InfoPath file...then when the .xml form
file is opened in InfoPath the fields with the missing nodes appear as
read only fields.

http://cjvandyk.spaces.live.com/blog/cns!3BC0BA53FCAF028C!111.entry

Does anyone have a fix for this (relinking form fields does not work)?

Example: <my:Method_of_Transmission_Reminder></
my:Method_of_Transmission_Reminder> exists in a file that has no
display problems. However in another file it is missing and that
particular field is read only in cases where the node is not present
in the .xml file.
 
E

Ed Thurber

i have seen this problem. mine manifested when merging elements that had an
attribute. the attribute was not created. i ended up adding code to the
form to create the missing attribute after the merge and everything worked
after that. i actually just closed a ticket with microsoft regarding this
behavior. it has now been identified as a bug. i am able to stick with my
workaround until they get it fixed.

hope this helps

Ed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top