Infopath forms - contact lookup from active directory - InfoPath Dev
in

InfoPath Dev

Infopath forms - contact lookup from active directory

Last post 02-01-2010 01:08 AM by dakesun. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-23-2009 10:40 AM

    Infopath forms - contact lookup from active directory

    HI All,

    I am new bie to Infopath forms. I need to design a form where I can type a surname/full name on the text field and need to look for the match in the active directory. My company policy is not to ping the sharepoint server. So, I need to use the LDAP query for achieivng this kind of scenario and I have no idea how to do this. Please let me know.

    Thanks

    Krishna 

     

  • 06-23-2009 08:09 PM In reply to

    Re: Infopath forms - contact lookup from active directory

    Why would there be a policy not to use SharePoint's built-in ability to expose user profile data to developers?  InfoPath can consume and display all profile data for users without a line of code, so that is a very strange policy.

    Your alternative is to use the Qdabra Active Directory Web Service, which will tie straight to AD instead of going to the MOSS profile database.

  • 06-23-2009 09:24 PM In reply to

    Re: Infopath forms - contact lookup from active directory

    Another alternative is to write code. It won't be as secure as using a Web Service (SharePoint's or Qdabra's) but you can do it. Search the forum for LDAP. There are many examples: 

    http://www.google.com/cse?cx=003654972516704994317%3A4j0mji2l1rq&ie=UTF-8&q=LDAP

    Patrick Halstead
    Project Manager at Qdabra
  • 02-01-2010 01:08 AM In reply to

    Re: Infopath forms - contact lookup from active directory

    hi warrtalon,

    Please assist urgently. Thanks in advance.

    I got a text box where i will be typing the 3 to 4 charaters and click search button to get the search results.

    I am struggling with the rule.

    Please tell me what rule i need to keep to working my button rule to work.

    The problem is

    The Infopath form is working perfectly fetching all the users in the active directory.

    I got like this

     Text box

    Search button

    Dropdown with all active directory users.

     In the button i kept the following action in the rule..

    1. Set a field's value as

    field = datasource is AD_User_Get_Users(Secondary)

    Queryfileds>InputProperties>Name

    Field = Name

    Value = concat(*,TextBoxField,*)

    amd also added a query

    Ad_User_Get_Users

    so i added 2 actions

    one is field value and second is query.

    but when on running, i can see users in the dropdown on loading form, when type something in text box and click search , i see the dropdown users vanish. so it is not searching by the textbox characters.

    Please assist me in configuring correct rule i need to use to get search results in the dropdown.

    Thanks

    Ravi

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