Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / November 2005

Tip: Looking for answers? Try searching our database.

Modify XML data structure - offline

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zoltan Fedor - 25 Nov 2005 08:41 GMT
Hello,

I need to add a huge amount of XML variables to my InfoPath form. I search
for an effective way to do it, somehow export the xml structure, modify in a
text editor and import it back.
I extracted the xsn file, modified the .xml file I found , and made a new
xsn file, but that was not successful. When I opened the new xsn file, the
old xml data structure was shown.
What did I wrong? What is the suggested way to do that?

Thanks a lot!
Signature

Zoltan Fedor

Franck Dauché - 25 Nov 2005 19:51 GMT
Hi,

I am confused here, to modify the structure, you should modify the schema,
not the xml.  You are mentioning modifying the xml file; which one template
or sample?

Tell us more..

Regards,

Franck Dauché

> Hello,
>
[quoted text clipped - 7 lines]
>
> Thanks a lot!
Zoltan Fedor - 27 Nov 2005 18:21 GMT
Hi Franck,
Thanks for your reply.
Yes, I was wrong, I need to modify the schema, not the xml file...
Now I extracted the xsn file, modified the myschema.xsd schema file (added
some new xml element), and created a new xsn file.
When opened this new xsn file in design mode, I can see the manually added
xml variables at the data source section,
BUT
when I binding some of these xml variables to my control, a see the "control
bound to missing field or group" message. So I can not use this xml element...
So I am missing something when creating xml variables manually.
Do you know what is wrong?
Thanks a lot,
Signature

Zoltan Fedor

> Hi,
>
[quoted text clipped - 19 lines]
> >
> > Thanks a lot!
Franck Dauché - 28 Nov 2005 01:20 GMT
Hi,

If you modified your schema outside InfoPath (if you added a node to your
schema for example), you need to add that node manually in your associated
xml files to get rid of the issue that you are mentioning in your post.

Hope that it helps.

Regards,

Franck Dauché

> Hi Franck,
> Thanks for your reply.
[quoted text clipped - 33 lines]
> > >
> > > Thanks a lot!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.