Trouble with "Convert Main Data Source" - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Trouble with "Convert Main Data Source"

Last post 01-22-2007 12:53 PM by Shiraz Cupala. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-16-2006 01:17 PM

    Trouble with "Convert Main Data Source"

    Hello,

    I am having trouble using the "Convert Main Data Source" functionality of InfoPath 2003 SP2. I want to add a new root element in my schema. When I do this about 1/3 of my controls become unbound. I can't see any pattern with the controls that are bound correctly vs the ones that are unbound.

    Any ideas?

    Thanks,

    Brian
  • 10-31-2006 09:54 AM In reply to

    Re: Trouble with "Convert Main Data Source"

    Hello Brain,
    The reason for the controls becomeing unbound are two: First if the Control name in the old schema does not match the control name of new schema, secondly if the control is present in old schema but in new schema
    I have a small example First I had my schema as follows
    <Test>
    <ID></ID>
    <Name></Name>
    <Class></Class>
    </Test>
    Now I tried upload an xml using "Convert Main Data Source" by adding new root element to the schema. It looks as follows
    <Tests>
    <Test>
    <Id></Id>
    <Name></Name>
    <Address></Address>
    </Test>
    </Tests>
    After doing this I got two controls unbound. one is ID as it was declared as "ID" in old schema and changed to "Id" in new schema, second is Class which was present in old schema but not in new schema

    Hope this helps!
  • 01-22-2007 12:53 PM In reply to

    Re: Trouble with &quot;Convert Main Data Source&quot;

    The Convert Main Data Source algorithm is very intelligent but not perfect. It could also just be an issue of hitting a limitation. If what Shalaja says isn't the issue for you then you should be able to just right-click and fix the binding manually.
    Shiraz Cupala / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.