<?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: Store a dropdown value from a secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/80240.aspx</link><pubDate>Thu, 05 Jul 2012 17:16:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80240</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80240.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=80240</wfw:commentRss><description>&lt;p&gt;Hey, great work - sorry I couldn&amp;#39;t get back to this sooner, but I&amp;#39;m glad you were able to work it out!&lt;/p&gt;</description></item><item><title>Re: Store a dropdown value from a secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/80232.aspx</link><pubDate>Thu, 05 Jul 2012 14:16:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80232</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80232.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=80232</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello, David,&lt;br /&gt;
wanted to help but I see you already coped. Glad for you!&lt;/p&gt;


&lt;p&gt;I see from your template that you are using Sharepoint Online (Office 365)
and &lt;b&gt;custom (wizard or manual) data connections&lt;/b&gt; above default closed &lt;b&gt;Main
Data Connection&lt;/b&gt; to a sharepoint online list&lt;b&gt;.&lt;/b&gt;&lt;/p&gt;


&lt;p&gt;I am curious are you able to get data through custom data connections
 when running your form locally, i.e. by Preview or F5&amp;nbsp; (which is 
equivalent to running it as Infopath client or Filler form) or as client
 (Filler) form?&amp;nbsp; &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Whenever I add such custom data connections in Infopath form, the
access to data received from Sharepoint lists (through them) in client form is being blocked in
&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;until I change the security level (in
Infopath Designer 200 (in backstage File--&amp;gt; Info--&amp;gt;Form Options --&amp;gt;
Security and Trust) to&amp;nbsp; &lt;/p&gt;


&lt;ul&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;"&gt;&lt;b&gt;Full Trust (the form has
     access to files and settings on the computer) &lt;br /&gt;
     &lt;/b&gt;For a form to run with Full Trust in Infopath Filler, it must be
     installed or digitally signed with a certificate. Some Web Browse forms
     require full trust if they contain code, and must be deployed by a server
     administrator&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;"&gt;having unchecked for this
     &amp;quot;&lt;b&gt;Automatically determine security level (recommended)&lt;/b&gt;&amp;quot;
     checkbox&lt;/li&gt;&lt;/ul&gt;


&lt;p&gt;&amp;nbsp;but this means that it is impossible to use such Infopath client/Filler forms (with custom Sharepoint list data connections) in Office 365 (Sharepoint Online)?&lt;br /&gt;See also my question:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;&lt;a href="http://community.office365.com/en-us/forums/171/p/59016/217021.aspx#217021"&gt; How to create/use in Infopath 2010 forms manual (wizard) data connections to sharepoint online lists without being deadlocked to attribute to forms the Full Trust security level?&lt;/a&gt;&lt;br /&gt;
&lt;/li&gt;&lt;/ul&gt;</description></item><item><title>Re: Store a dropdown value from a secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/80216.aspx</link><pubDate>Wed, 04 Jul 2012 18:48:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80216</guid><dc:creator>meisterfitz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80216.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=80216</wfw:commentRss><description>Hi Hilary

I have had a chance to solve the problem. And it works!

I don&amp;#39;t know where to begin...!

An on load rule.. to set a field value within form (main data connection). this field value was based on the filtered values of Units and Unit Types (these were secondary added data connections, with the correct columns and filters (the returned value was based on the Unit Data connection filtered on the ID of the Item Code in the Main connection to return the display boolean within the Unit Types. Easy!). I then used this value to filter the the Unit Types to provide whether I should display Q1 or Q2 or Qx etc.

Not straightforward, not easy to explain either.

Thanks for your all your help though.

Kind regards

David</description></item><item><title>Re: Store a dropdown value from a secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/80118.aspx</link><pubDate>Tue, 03 Jul 2012 10:28:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80118</guid><dc:creator>meisterfitz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80118.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=80118</wfw:commentRss><description>Hi Hilary

I have included the template file.

Field 1 returns the correct value (1-10 from the Unit Types list). the other fields are me trying to store this result (so that i can filter the Unit Types list), but i only get the ID value from Units (1-221). I can seem to store the Unit Types number.

My intention is to wrap each question within an InfoPath section so that it can display the question or not (format rule) - depending on what field 1 returns.

If user selects Item Code - ABC (ABC comes from the Units List -221 entries) then this Unit/Item Code corresponds to 10 entries within the Unit Type List. The Unit Type list has 47 columns which correspond to the questions in the InfoPath form. i.e. displayQ1 - y/n. Hide this control if displayQ1 is Yes etc.

I will have time this evening to either explain or try your suggestion.

Many thanks again.

David</description></item><item><title>Re: Store a dropdown value from a secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/80088.aspx</link><pubDate>Mon, 02 Jul 2012 15:58:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80088</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=80088</wfw:commentRss><description>&lt;p&gt;Well, I wouldn&amp;#39;t be able to preview, but I should be able to help you with the XPath just from design mode.&lt;/p&gt;</description></item><item><title>Re: Store a dropdown value from a secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/80073.aspx</link><pubDate>Mon, 02 Jul 2012 07:22:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80073</guid><dc:creator>meisterfitz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80073.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=80073</wfw:commentRss><description>Hilary - first of all many thanks for your swift reply and advice. Brilliant!
I will try out your suggestion this morning and let you know how it goes.

If i post you a template, how do you get the interactions with the various lists?

This may be an unnecessary explanation... however I&amp;#39;d like to get better at explaining and give at a go.

OK here goes...

If i select an Item Code in SharePoint form. This looks up a Units list (Title) e.g. ABC. DEF, etc. This Units list corresponds to a Unit type e.g. Bulldozzer, Crane, Boat etc. in the Unit Types List.

If i choose ABC - which e.g. corresponds  to Boat - i require no wheels therefore wheels should not be displayed on my InfoPath form to print.

(There are 221 Units but only 10 unit types). 

The problems i am experiencing is that because it is a display form - no buttons - triggering anything is a problem. I have used on form load - which has got me so far. And the storing of the Unit Type value to allow filtering on what sections of InfoPath form to display.

If Boat - No Wheels on InfoPath Form. If Crane - Yellow Paint and Wheels should appear on InfoPath Form.

I will try your suggestion..I&amp;#39;m probably over complating things.

Many thanks - I&amp;#39;ll let you know how it goes.</description></item><item><title>Re: Store a dropdown value from a secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/80017.aspx</link><pubDate>Fri, 29 Jun 2012 19:15:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80017</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80017.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=80017</wfw:commentRss><description>&lt;p&gt;You use a rule or a default value&amp;nbsp;to set the target field (in your main data source) to the same filtered value you are displaying. I had a little trouble following your explanation (sorry, I know you were trying to be complete!), but I think you are saying that your Unit Type list has a field named Unit Type, and you need to set a form field to the value of Unit Type based on ... ? Selected Item Code? Selected Unit?&lt;/p&gt;
&lt;p&gt;At any rate, you&amp;#39;ll use a default value or a rule - and set it to the filtered value you need - feel free to attach a sample template under the Options tab and I can give you a hand, okay?&lt;/p&gt;</description></item><item><title>Store a dropdown value from a secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/79973.aspx</link><pubDate>Fri, 29 Jun 2012 14:16:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79973</guid><dc:creator>meisterfitz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79973.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79973</wfw:commentRss><description>I have an InfoPath form (Requests) with various sections that need to be displayed or not depending on the item code that is selected.

The &amp;#39;Item Code&amp;#39; list has a look up to a list called &amp;#39;Units&amp;#39;  which has a look up to a &amp;#39;Unit Type&amp;#39; list.

The InfoPath form is based on another list called Requests i.e. it does not contain &amp;#39;Unit&amp;#39; or &amp;#39;Unit Type&amp;#39; fields only the &amp;#39;Item Code&amp;#39; field.

The problem I have is I need to store the &amp;#39;Unit Type&amp;#39; number within the form so that I can filter the &amp;#39;Unit Type&amp;#39; list for a display &amp;#39;Yes&amp;#39; or &amp;#39;No&amp;#39; value.

The &amp;#39;Unit Type&amp;#39; number is filtered OK in the dropdown, but if I try to duplicate this field or set a field value it returns the &amp;#39;Unit&amp;#39; ID not the &amp;#39;Unit Type&amp;#39; number. 

i.e. there are over 100 Units - but only 10 Unit Types. So for example &amp;#39;Unit&amp;#39; ID55 has a lookup of &amp;#39;Unit Type&amp;#39;  6  which means Display &amp;#39;Yes&amp;#39;. Unit ID 6 has a Unit Type of 3 which means Display &amp;#39;No&amp;#39;

Hopefully this makes sense?

Long story short! How do I store a number from a filtered Secondary Data source within my InfoPath form?</description></item></channel></rss>