XML Data Connection - Dynamically Change Data Source Based on User Selection - InfoPath Dev
in

InfoPath Dev

XML Data Connection - Dynamically Change Data Source Based on User Selection

Last post 12-17-2012 10:55 PM by Jimmy. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-07-2012 02:25 AM

    • sijokj
    • Not Ranked
    • Joined on 09-07-2012
    • Posts 1

    XML Data Connection - Dynamically Change Data Source Based on User Selection

    Hi, I have 100+ xml (its get increased everyday) files stored in one of my SharePoint library (all files have same structure). Now I just want to connect these XML files to my InfoPath form dynamically. Eg. I should have a drop down field in the form to select the xml file name, based on that selection respective XML file should become the secondary data connection to InfoPath and fields should auto populate from that xml file. Is this possible? Thanks in advance for your help. - Sijo
  • 12-17-2012 10:55 PM In reply to

    Re: XML Data Connection - Dynamically Change Data Source Based on User Selection

    If you're working with InfoPath 2010, you can probably use a REST connection to one of the XML files.  REST connection URLs can be changed dynamically using just rules.

    If that doesn't work, another option is to use an XML data connection and qRules' ChangeConnectionUrl command to redirect it to different places.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.