GetUserProfile on Infopath Form From SharePoint - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

GetUserProfile on Infopath Form From SharePoint

Last post 09-27-2012 11:27 AM by Ghoztrider. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-26-2012 08:34 AM

    GetUserProfile on Infopath Form From SharePoint

    I've created a form that get's the user profile information correctly from an AD server when a new form is opened. I created a couple of fields that harness the data I need such as email address, account name, and department. When a user submits the data I have a rule that erases the fields before submit. After the form has been saved to a Sharepoint form library(.xml) it doesn't get the profile of the current user anymore. Is there a way to fix this? What I'm trying to accomplish here is to get the user profile information every time the form is opened so I can use the fields to create an edit history of a field in a repeating table. When X field is populated it populates Y field with time stamp and Z field with user name, email address or other identifying property. Thank you!
  • 09-26-2012 09:54 AM In reply to

    Re: GetUserProfile on Infopath Form From SharePoint

    Make sure that the AccountName field in the query is blank.  This will return the current user.  Also make sure that the query is executed on form load every time instead of just new form cases.

    What is the current behaviour like where its not working for you?

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

  • 09-27-2012 11:27 AM In reply to

    Re: GetUserProfile on Infopath Form From SharePoint

    After reading your response I tried a few different scenarios and got it to work....Thank you Anson!
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.