<?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: Including static xml data in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/83791.aspx</link><pubDate>Tue, 23 Oct 2012 19:09:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83791</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83791.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83791</wfw:commentRss><description>So - you are all set? That&amp;#39;s great news!</description></item><item><title>Re: Including static xml data in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/83790.aspx</link><pubDate>Tue, 23 Oct 2012 19:00:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83790</guid><dc:creator>barichter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83790.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83790</wfw:commentRss><description>&lt;p&gt;Ok, it took my a while to replicate. I didn&amp;#39;t realize that it was putting in the default &amp;quot;my:&amp;quot; namespace and so the formulas wouldn&amp;#39;t work until I figured that out. So, now can I have a rule that iterates the rates and populates a control on the form with the correct rate depending on the calendar date of the expense. Then I wouldn&amp;#39; have to do this calculation in my style sheet.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By the way, I am really thankful for all of your help.&lt;/p&gt;</description></item><item><title>Re: Including static xml data in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/83780.aspx</link><pubDate>Tue, 23 Oct 2012 15:42:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83780</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83780.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83780</wfw:commentRss><description>&lt;p&gt;The problem you&amp;#39;ll have with that is that some of your default values are in a repeating group. If you add a &amp;quot;helper&amp;quot; field in the same repeating group, it will make it easier. I&amp;#39;m attaching a sample - it is easier to show than explain - form rules are on &amp;quot;reset&amp;quot; field in group2 and in form load.&lt;/p&gt;&lt;p&gt;Right click the link in the heading of this post, and save the file locally. Right click the saved template and select design to open in design mode. From there you can preview. My resource file is included with the form, but you could just as easily do this with an XML that is external.&lt;/p&gt;</description></item><item><title>Re: Including static xml data in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/83776.aspx</link><pubDate>Tue, 23 Oct 2012 13:45:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83776</guid><dc:creator>barichter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83776.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83776</wfw:commentRss><description>&lt;p&gt;Ok, that worked perfectly, thank you!&lt;/p&gt;
&lt;p&gt;I did see references about the default values, but did not realized I could add new instances from that Default Values interface.&lt;/p&gt;
&lt;p&gt;So, now, is there a way to populate the default values with a resource file? I keep a separate xml file with all of my form values and I am thinking about creating a form to allow me to maintain this resource file. But if I have to update the default values by hand each time, that will reduce its value to me.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you again for answer to my previous question!&lt;/p&gt;</description></item><item><title>Re: Including static xml data in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/83755.aspx</link><pubDate>Mon, 22 Oct 2012 18:10:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83755</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83755.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83755</wfw:commentRss><description>Make the field repeating. Then, instead of creating another instance of it in the data source task pane, go to Data --&amp;gt; Default Values. Add additional instances there.</description></item><item><title>Re: Including static xml data in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/83754.aspx</link><pubDate>Mon, 22 Oct 2012 17:53:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83754</guid><dc:creator>barichter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83754</wfw:commentRss><description>&lt;p&gt;Thank you for the answer, but I am still having difficulting. When I try to create another field under the main datasource, it says I already have one with that name and I have to choose another name.&lt;/p&gt;</description></item><item><title>Re: Including static xml data in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/83751.aspx</link><pubDate>Mon, 22 Oct 2012 14:59:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83751</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83751.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83751</wfw:commentRss><description>Gennady&amp;#39;s suggestion would allow you to include that info as a secondary data source in the form template - however, if you need that XML with the saved XML from filling out the form (it sort of sounds like you do), you can just add the fields to the main data source (no need to include controls on the form). For your repeating Rate field, under the Data tab on the Ribbon, look for the Default Values - you can additional instances of the node, each with their own default value.</description></item><item><title>Re: Including static xml data in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/83740.aspx</link><pubDate>Mon, 22 Oct 2012 13:30:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83740</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83740.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83740</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;In Infopath Designer, &lt;b&gt;Data &lt;/b&gt;tab on ribbon &amp;gt; &lt;b&gt;Resource Files&lt;/b&gt; button under Form Data&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Including static xml data in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/83739.aspx</link><pubDate>Mon, 22 Oct 2012 13:13:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83739</guid><dc:creator>barichter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83739.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=83739</wfw:commentRss><description>&lt;p&gt;I have looked around the forum, but could not find an answer to this question, though I realize I may be asking the wrong question.&lt;/p&gt;
&lt;p&gt;I am an IT project manager and I have projects that require me to submit travel costs to our customers. For our government customers I have to ensure that costs do not exceed the Federal Travel Regulations. The costs vary from month to month and I&amp;#39;d like to include the static costs for each month in my form so that when I apply my XSL style sheet against it I can perform checks to make sure that we are in compliance. &lt;/p&gt;
&lt;p&gt;Here is an example of what I&amp;#39;d like to include in each submitted form:&lt;/p&gt;
&lt;p&gt;&amp;lt;PerDiem&amp;gt;&lt;br /&gt;&amp;lt;Rate start=&amp;quot;10/1/2011&amp;quot; end=&amp;quot;10/31/2011&amp;quot;&amp;gt;248.60&amp;lt;/Rate&amp;gt;&lt;br /&gt;&amp;lt;Rate start=&amp;quot;11/1/2011&amp;quot; end=&amp;quot;2/28/2012&amp;quot;&amp;gt;201.30&amp;lt;/Rate&amp;gt;&lt;br /&gt;&amp;lt;Rate start=&amp;quot;3/1/2012&amp;quot; end=&amp;quot;6/30/2012&amp;quot;&amp;gt;246.00&amp;lt;/Rate&amp;gt;&lt;br /&gt;&amp;lt;Rate start=&amp;quot;7/1/2012&amp;quot; end=&amp;quot;8/31/2012&amp;quot;&amp;gt;185.90&amp;lt;/Rate&amp;gt;&lt;br /&gt;&amp;lt;Rate start=&amp;quot;9/1/2012&amp;quot; end=&amp;quot;9/31/2012&amp;quot;&amp;gt;248.60&amp;lt;/Rate&amp;gt;&lt;br /&gt;&amp;lt;MealStart&amp;gt;53.25&amp;lt;/MealStart&amp;gt;&lt;br /&gt;&amp;lt;MealDuring&amp;gt;71.00&amp;lt;/MealDuring&amp;gt;&lt;br /&gt;&amp;lt;/PerDiem&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;However, I cannot figure out how to include this in the form. I was thinking it would just be a hidden entry that the employee never sees and would not be visible on the form, but I am open to suggestions.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>