Drop-down list selecting a specific value based on a GetUserProfileByName - InfoPath Dev
in

InfoPath Dev

Drop-down list selecting a specific value based on a GetUserProfileByName

Last post 08-26-2013 08:05 AM by danilao. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-09-2013 12:08 PM

    • danilao
    • Not Ranked
    • Joined on 08-09-2013
    • Brasil
    • Posts 10

    Drop-down list selecting a specific value based on a GetUserProfileByName

    Hi, this is my first post! :) I have a infopath form that in load form, load the name, department and telephone number. I have a combobox / drop-down that "Get choices from a external data source" (SharePoint list). I want to that combobox automatically choose a item based in a department from GetUserProfileByName. If I set a action in Load Form to "Set a field value" like: Value[Name = "Department"]] from GetUserProfileByName, the combobox populate items from SharePoint list and above put the Department from GetUserProfileByName. So, I try this: area[Title = Value[Name = "Department"]] (where area is the combobox, Title is the department from SharePoint list) What I want is that the combobox select a populated item based on a query. This is possible? Thanks!
  • 08-10-2013 11:45 AM In reply to

    Re: Drop-down list selecting a specific value based on a GetUserProfileByName

    Hi Danilao and welcome!

    You need a rule that sets the area field to your secondary SharePoint list data source using the filters. In other words, if your SharePoint list has an "Area" you need to set your main data source area (the one that is the combobox) equal to the secondary Area filtered by Title and Name. Your filter is pretty close, but Department should not be in quotes. That should also point to a secondary data source lookup.

    It's totally doable.

    Patrick Halstead
    Project Manager at Qdabra
  • 08-26-2013 08:05 AM In reply to

    • danilao
    • Not Ranked
    • Joined on 08-09-2013
    • Brasil
    • Posts 10

    Re: Drop-down list selecting a specific value based on a GetUserProfileByName

    Thank you, Patrick!! I done with your help! Some like this: Title[. = Value[Name = "Department"]] So confuse, but works!! :) Very thank you!
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.