<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Lookup sharepoint list and set fields value in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/87705.aspx</link><pubDate>Wed, 06 Mar 2013 00:01:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87705</guid><dc:creator>bryang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87705.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=87705</wfw:commentRss><description>Hi Gennady,

I have a similar problem which I am unable to resolve;

Three lists on SharePoint 2010;
 - Clients master
 - Projects
 - Log

I want a user to add a log entry about a project.  Using InfoPath, I have modified the form.  Now, they can select a client from the Clients master list, this then filters the next drop-down box of projects by that Client - great.

I now want to retrieve the corresponding &amp;#39;Project Owner&amp;#39; and &amp;#39;Project Manager&amp;#39; fields from the Projects list and have this recorded in the Log list.  I seem to be struggling around the two fields being people fields.

If I try to add the people picker control from the list of fields in the Log list, I can&amp;#39;t change any of the fx options.
I&amp;#39;ve tried using a text box in the Log list but it complains about getting data from a repeating field (people) and putting it in to a non-repeating field (text box).

Any suggestions would be greatly appreciated!

Thanks,
Bryan</description></item><item><title>Re: Lookup sharepoint list and set fields value in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/79926.aspx</link><pubDate>Thu, 28 Jun 2012 15:39:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79926</guid><dc:creator>JimiH</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79926.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79926</wfw:commentRss><description>&lt;p&gt;Thanks that worked perfectly.&lt;/p&gt;
&lt;p&gt;Geoff&lt;/p&gt;</description></item><item><title>Re: Lookup sharepoint list and set fields value in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/79584.aspx</link><pubDate>Sun, 17 Jun 2012 20:46:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79584</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79584.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79584</wfw:commentRss><description>&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;JimiH:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I have two SharePoint lists&amp;nbsp;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;the first &amp;quot;&lt;b&gt;Customer&amp;quot;&lt;/b&gt;&amp;nbsp;has the fields&amp;nbsp;&lt;b&gt;Company&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;Contact&lt;/b&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;The second&amp;nbsp;&lt;b&gt;&amp;quot;Orders&amp;quot;&lt;/b&gt;&amp;nbsp;is a order list with details of orders.&amp;nbsp;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;I have created two data connections for the two lists.&amp;nbsp;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;On my test InfoPath form I have two fields, one returns the Username of the person viewing the form, Username() function.&amp;nbsp;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;The second field I want populating with the&amp;nbsp;&lt;b&gt;company&lt;/b&gt;&amp;nbsp;that the&amp;nbsp;&lt;b&gt;user&lt;/b&gt;&amp;nbsp;belongs to.&amp;nbsp;&lt;br /&gt;So the workflow is this. A&amp;nbsp;&lt;b&gt;user&lt;/b&gt;&amp;nbsp;opens the form, the&amp;nbsp;&lt;b&gt;username&lt;/b&gt;&amp;nbsp;field is populated by the&amp;nbsp;&lt;b&gt;username function&lt;/b&gt;&lt;b&gt;Username()&lt;/b&gt;.&amp;nbsp;&lt;br /&gt;The second field gets the username value and queries the the customers list to find the Company value.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I can get the values into a dropdown box but when I add the filter I return no values? &lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;If your customers are sharepoint users, as follows from your question, then you do not need any custom and/or additional lists and/or structures since you can put and use in-built user profiles with dozens of related fields there&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Cf.&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="http://www.infopathdev.com/forums/p/22986/79575.aspx#79575"&gt;my reply how to get current user name (or other her fields like her department, office location, e-mail)&amp;nbsp;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Also, I could not grasp how and by which your &amp;nbsp;&lt;b&gt;Orders&lt;/b&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;list is related to what you have asked.&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;So, in order &lt;strong&gt;to get the company of current user,&lt;/strong&gt; I created &lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;
&lt;p&gt;&lt;b&gt;Customers&lt;/b&gt;&amp;nbsp;list with fields:&lt;/p&gt;
&lt;p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;CustomerName (renamed from Title,&amp;nbsp;&lt;/b&gt;shouldn&amp;#39;t a customer be identified somehow?&lt;b&gt;)&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;CompanyName&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Contact&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;etc, never mind&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Filled it with (some) data&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;In Infopath Designer 2010 created (File --&amp;gt; New --&amp;gt;) &amp;nbsp;Blank Form&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Put there &amp;nbsp;&lt;b&gt;&amp;quot;Text Box&amp;quot;&lt;/b&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;control,&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;data connection&lt;/b&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;to&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Customers&lt;/b&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;list (called it for me&amp;nbsp;&lt;b&gt;CustLst&lt;/b&gt;)&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;b&gt;Text Box Properties:&lt;/b&gt;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;strong&gt;Default value:&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;
&lt;p&gt;Pressed&amp;nbsp;&lt;b&gt;fx&lt;/b&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;button --&amp;gt; clicked&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&amp;quot;Insert Field or Group...&amp;quot;&lt;/b&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;button --&amp;gt; under&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;CustLst (Secondary)&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&amp;nbsp;chose&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;CompanyName (under dataFields --&amp;gt; d:SharePointListItem_RW)&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Pressed&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&amp;quot;Filter Data...&amp;quot;&lt;/b&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;button&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;
&lt;li&gt;under left drop-down-list, chose&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;CustomerName&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&amp;quot;is equal to&amp;quot;&lt;/li&gt;
&lt;li&gt;under right drop-down-list&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&amp;quot;Use formula...&amp;quot;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&amp;quot;Insert Function...&amp;quot;&lt;/b&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;--&amp;gt; User --&amp;gt; userName --&amp;gt; OK&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Well, pressed OK half-dozen times&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Formula looked as:&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;CompanyName[Title = userName()]&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Note I renamed&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Title&lt;/b&gt;&amp;nbsp;field to&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;CustomerName&lt;/b&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;but it dropped back to insist on&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Title&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;anyway&lt;br /&gt;(guess I wouldn&amp;#39;t make it in code)&amp;nbsp;&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;F5 --&amp;gt; Yes --&amp;gt; Worked like a charm for me&lt;/p&gt;
&lt;p style="WIDOWS:2;TEXT-TRANSFORM:none;TEXT-INDENT:0px;FONT:small arial;WHITE-SPACE:normal;ORPHANS:2;LETTER-SPACING:normal;WORD-SPACING:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Lookup sharepoint list and set fields value in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/79572.aspx</link><pubDate>Sat, 16 Jun 2012 17:53:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79572</guid><dc:creator>JimiH</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79572.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79572</wfw:commentRss><description>Hello

I have two SharePoint lists the first &amp;quot;Customer&amp;quot; has the fields Company and Contact.
The second &amp;quot;Orders&amp;quot; is a order list with details of orders.

I have created two data connections for the two lists.

On my test InfoPath form I have two fields, one returns the Username of the person viewing the form, Username() function.
The second field I want populating with the company that the user belongs to. So the workflow is this.

A user opens the form, the username field is populated by the username function Username().
The second field gets the username value and queries the the customers list to find the Company value.

I can get the values into a dropdown box but when I add the filter I return no values?

Please help

Thanks

Geoff</description></item></channel></rss>