PerfectForms Forums » Integrating PerfectForms

Build an LDAP action that retrieves Manager email?

(5 posts)
  1. llewis
    Member

    Hi, we're using the Gateway-HTTP User field to bring in the username of the person filling out the form, then we're using that to automatically pull back fields from Active Directory, including the "manager" field. Now, we need to use that "manager" field in another action to pull in the manager's email address. Can someone provide guidance on how I can accomplish this? Thanks!

    Posted 2 years ago #
  2. ijobling
    Member

    If you can retrieve the 'manager' of the person to your form instance, is there a 'manager email' field that is stored in the users AD record you can use as well in the same lookup -- ie do this all at the same time, If not, then you could run another connect action to AD with the 'send parameter' set to the user name field where you can pass in the managers name to return his email address. You may need to set up another ACTION in the Directory Services connection for this first

    Posted 2 years ago #
  3. llewis
    Member

    Thanks for the response. I had already tried creating a new action and that's where I'm stuck. I cannot figure out how to retrieve the manager's email. Manager's email is not an AD field associated with the form initiator's AD account; it is only associated with the manager's own AD account. So I need to pass the Manager value back in using a separate action, but that still only pulls back information related to users who have that person as a manager, not the manager him/herself (e.g., if I use a Send Parameter of "manager" and a return value of sAMAccountName, I get back all direct reports of that manager's). Any help would be much appreciated.

    Posted 2 years ago #
  4. ijobling
    Member

    I would have thought that samAccountName would be the parameter to be using in the 'send' parameter of the action (in that you want to send the account name to the query) and then 'mail' as the 'return' parameter (in that you want to retrieve the email for that account name back to your form)

    I would suggest it may be better to set up a new action for this , and then a new small test form where you can enter in the account name manually to form field, then run the connect action under a 'button' so you can see the results directly and then having got that, integrate that connect action into your main form pointing the 'send' parameter to the field that is receiving the managers name from the first connection.

    Hope it helps? do get back though if not

    Posted 2 years ago #
  5. I have a working solution that we obtained working with PF and their tech people. Let me know if you need this information posted.

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in or register to post.

Contact

1917 Palomar Oaks Way
Suite 160
Carlsbad, CA 92008
866.900.8588

  picture  picture  picture  picture