<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Drop-down list selecting a specific value based on a GetUserProfileByName</title><link>https://www.infopathdev.com:443/forums/thread/92512.aspx</link><pubDate>Mon, 26 Aug 2013 15:05:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92512</guid><dc:creator>danilao</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92512.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92512</wfw:commentRss><description>Thank you, Patrick!!

I done with your help!

Some like this: Title[. = Value[Name = &amp;quot;Department&amp;quot;]]

So confuse, but works!! :)

Very thank you!</description></item><item><title>Re: Drop-down list selecting a specific value based on a GetUserProfileByName</title><link>https://www.infopathdev.com:443/forums/thread/92059.aspx</link><pubDate>Sat, 10 Aug 2013 18:45:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92059</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92059.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92059</wfw:commentRss><description>&lt;p&gt;Hi Danilao and welcome!&lt;/p&gt;
&lt;p&gt;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 &amp;quot;Area&amp;quot; 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. &lt;/p&gt;
&lt;p&gt;It&amp;#39;s totally doable.&lt;/p&gt;</description></item><item><title>Drop-down list selecting a specific value based on a GetUserProfileByName</title><link>https://www.infopathdev.com:443/forums/thread/92053.aspx</link><pubDate>Fri, 09 Aug 2013 19:08:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92053</guid><dc:creator>danilao</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=92053</wfw:commentRss><description>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 &amp;quot;Get choices from a external data source&amp;quot; (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 &amp;quot;Set a field value&amp;quot; like: Value[Name = &amp;quot;Department&amp;quot;]]  from GetUserProfileByName, the combobox populate items from SharePoint list and above put the Department from GetUserProfileByName.

So, I try this: area[Title = Value[Name = &amp;quot;Department&amp;quot;]] (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!</description></item></channel></rss>