GetUserInfo NOT getting all info requested - InfoPath Dev
in

InfoPath Dev

GetUserInfo NOT getting all info requested

Last post 01-14-2014 10:09 AM by BejeweledOne. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • 01-09-2014 11:13 AM

    GetUserInfo NOT getting all info requested

    Having an odd issue using the getuserinfo method. I have a button that pulls employee info from the 'GetUserInfo' data connection of the Qdabraad webservice. I am successfully pulling the sAMAccountName and populating it into a text field.

    I am trying to pull these additional pieces of information and populate them into their own text fields but nothing is happening. I do not get an error nor do I get data. I am testing with users that I know have that information populated in AD.

    physicalDeliveryOfficeName
    countryCode

    On the button click the rule sets the 'getuserinfo' query username to their user logon name (firstinitiallastname). It then sets the field values for 'sAMAccountName', 'physicalDeliveryOfficeName' and 'countryCode'. The sAMAccountName is populating in it's field but the other information is not.



    Any help will be greatly appreciated.
  • 01-10-2014 05:20 AM In reply to

    Re: GetUserInfo NOT getting all info requested

    Hi-

    Can you drag the entire repeating table (in the secondary data source for GetUserInfo)? This table will have a column for Key and a column for Value, and will allow us to see all the available keys.

    Let us know whether this table shows both of these keys.

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


  • 01-10-2014 05:56 AM In reply to

    Re: GetUserInfo NOT getting all info requested

    It does not appear to be retrieving any information at all. Not sure how it's getting the sAMAccountName. Please see attached screen shot. I have captured the set field value that is setting the sAMAccountName. The 2 other set value actions are exactly the same using their particular values of countryCode and physicalDeliveryOfficeName.


  • 01-10-2014 06:12 AM In reply to

    Re: GetUserInfo NOT getting all info requested

    If the table is not populating, then the sAMAccountName is coming from somewhere else, perhaps another rule or data connection.

    Can you send us the form? Thanks.

     

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


  • 01-10-2014 07:54 AM In reply to

    Re: GetUserInfo NOT getting all info requested

    Form is just a little too large to upload here
  • 01-10-2014 08:00 AM In reply to

    Re: GetUserInfo NOT getting all info requested

    Email to Support AT Qdabra DOT com and include a link to this thread. Thanks!

    Hilary Stoupa

  • 01-10-2014 10:41 AM In reply to

    Re: GetUserInfo NOT getting all info requested

    I managed to fix it. Crazy as it sounds I moved the action to rule that runs after the strsubmitter is set by the first rule and it works.
  • 01-14-2014 09:21 AM In reply to

    Re: GetUserInfo NOT getting all info requested

    I thought I fixed it. I did manage to get it to pull the 'physicalDeliverOfficeName' but not the Country Code. I got it to start displaying the properties that it is retrieving from the service. 'countryCode is not one of them. Is this by design or maybe that field is not promoted to where it can be accessed? As you can see, in the section where all the address information is, 'countryCode' is not there even though it is in AD. Any direction would be greatly appreciated.



  • 01-14-2014 09:59 AM In reply to

    Re: GetUserInfo NOT getting all info requested

    I see a Country/region on the right part of the image that matches the co property on the left. There's also a c property with value US.

    Is there a countryCode property on the AD profile?

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


  • 01-14-2014 10:09 AM In reply to

    Re: GetUserInfo NOT getting all info requested

    That is an interesting question. The field by default is 'countryCode'. I just checked and it appears we may have changed the name. I hate it when that happens. Then we never know what the fields are............................ Thanks for your help!
Page 1 of 1 (10 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.