Cannot add to the Main Data Source - InfoPath Dev Sign in | Join | Help in Newbie Questions InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Newbie Questions » Cannot add to the Main Data Source Cannot add to the Main Data Source Last post 07-31-2009 09:50 AM by witzer. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 07-31-2009 09:28 AM witzer Joined on 07-14-2009 Posts 26 Cannot add to the Main Data Source Reply Contact Hi, I created a new solution in Visual Studio 2007 choosing the Infopath 2007 Form Template. I then chose to design the form template based on a schema so that it would save me work. I grabbed the schema from an old project. I then needed to copy the view from the old project and bind all the controls to the datasource. The problem now is that I cannot add to the main data source. I believe that this is because the project is based on an imported schema. Isn't there a way though that I can chance the code in the schema so that I can add new nodes to the datasource?? Thanks a lot. Filed under: convert, infopath 2007 07-31-2009 09:34 AM In reply to Jimmy Joined on 07-03-2008 Posts 2,595 Re: Cannot add to the Main Data Source Mark as Not AnswerMark as Answer... Reply Contact Perhaps this will do the trick? http://www.infopathdev.com/blogs/hilary/archive/2009/03/13/locked-schema-got-you-down.aspx Jimmy Rishe / Software Developer / Microsoft MVPQdabra Software 07-31-2009 09:50 AM In reply to witzer Joined on 07-14-2009 Posts 26 Re: Cannot add to the Main Data Source Mark as Not AnswerMark as Answer... Reply Contact Excellent! Thanks a lot Jimmy! Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hi,
I created a new solution in Visual Studio 2007 choosing the Infopath 2007 Form Template. I then chose to design the form template based on a schema so that it would save me work. I grabbed the schema from an old project. I then needed to copy the view from the old project and bind all the controls to the datasource. The problem now is that I cannot add to the main data source. I believe that this is because the project is based on an imported schema. Isn't there a way though that I can chance the code in the schema so that I can add new nodes to the datasource??
Thanks a lot.
Perhaps this will do the trick?
http://www.infopathdev.com/blogs/hilary/archive/2009/03/13/locked-schema-got-you-down.aspx
Excellent! Thanks a lot Jimmy!