SharePoint List values, Rules, and Text showing up as number/not at all - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

SharePoint List values, Rules, and Text showing up as number/not at all

Last post 03-22-2013 08:02 AM by ErnestoM. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-22-2013 05:33 AM

    SharePoint List values, Rules, and Text showing up as number/not at all

    Hi,

     I'm making a data connection with a list in SharePoint which has the following "columns": Worker, Plant, Account

    To be clear, each worker is a unique list record, and each worker has a specific Plant and Account.

    My goal is to have an InfoPath user (in this case a Project Manager) choose their "worker" from a dropdown box, then have the Plant and Account fields in the InfoPath form auto-populate.

     To do this, I set the following (seemingly obvious) Rule for the Proj_Worker dropdown box...
       Condition: IF Proj_Worker=Worker and Proj_Worker is not blank
       Action: Set field's value: Proj_Plant=Plant and Proj_Account=Account

    I'm able to choose the Worker from the SharePoint List connection as expected. For example, I can choose "Mike Jones" successfully.

    Im the SharePoint List, the associated Plant and Account values for Mike Jones are "New York Plant" and "ny103" respectively.

    PROBLEM: When I select "Mike Jones" (or any other worker) from the dropdown box, the Plant field is populated with "20" and Account is not filled in at all.

     PLEASE HELP!!!

     Best,

    JF


  • 03-22-2013 08:02 AM In reply to

    Re: SharePoint List values, Rules, and Text showing up as number/not at all

    Hi,

    It might be helpful to create a query to the SharePoint, have it execute on load, and show its contents in the canvas, just to see what data is being returned. Even a small spelling difference would cause the filter to fail.

    The "20" might be coming from a lookup columns in SharePoint. Can you check the SharePoint column data types?

    Thanks.

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.