Show Employees for Current User - InfoPath Dev
in

InfoPath Dev

Show Employees for Current User

Last post 09-20-2010 08:31 AM by ErnestoM. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-19-2010 11:11 AM

    • blalor
    • Not Ranked
    • Joined on 09-19-2010
    • Posts 8

    Show Employees for Current User

    This seems so simple, but for the life of me I can't figure it out.  On an Infopath form, I'm trying to return a repeating table of the employees that work for the person filling out the form.  I've added a "Get Employees" button and set the rules on the button to:

    1.  Set the value of the managerAlias field of the GetEmployeesForManager data source to the filter of sAMAccountName of the GetMyInfo key. (Value[Key = "sAMAccountName"]

    2. Query using the data connection:  GetEmployeesForManager

    I've added a repeating table to show the results of the GetEmployeesForManager value and display fields.

    When I click the button in preview mode, no data is returned.  What am I missing?

    Thanks, Bill

  • 09-20-2010 08:31 AM In reply to

    Re: Show Employees for Current User

    Hello,

    Let's first check that the value returned by Value[Key = "sAMAccountName"] is as expected. Can you display that value in the form temporarily?

    If you can attach a screenshot of the actions in the button (in the Options tab, when replying), please do so as well.

    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.