<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.infopathdev.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Mel Balsamo</title><subtitle type="html" /><id>http://www.infopathdev.com/blogs/mel_balsamo/atom.aspx</id><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/default.aspx" /><link rel="self" type="application/atom+xml" href="http://www.infopathdev.com/blogs/mel_balsamo/atom.aspx" /><generator uri="http://communityserver.org" version="3.0.31118.962">Community Server</generator><updated>2010-05-28T00:26:00Z</updated><entry><title>Get rid of that "Control binding is not supported" error on your Design Checker!</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2013/01/14/get-rid-of-that-quot-control-binding-is-not-supported-quot-error-on-your-design-checker.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2013/01/14/get-rid-of-that-quot-control-binding-is-not-supported-quot-error-on-your-design-checker.aspx</id><published>2013-01-14T10:49:00Z</published><updated>2013-01-14T10:49:00Z</updated><content type="html">&lt;p&gt;Got calculated values on your InfoPath browser form? Do they involve filters and/or complex formulas? Surprised to find out that as soon as you&amp;#39;re ready to publish your form, there goes the Design Checker error on the taskpane --- &amp;quot;Control binding is not supported&amp;quot;&lt;/p&gt;

&lt;p&gt;&lt;img style="width:206px;height:145px;" src="http://www.infopathdev.com/blogs/mel_balsamo/images/ipfs/image1.jpg" width="206" height="145" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/ipfs/image2.jpg" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;Hilary, one of our InfoPath experts, blogged something about this - &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2012/01/19/ipfs-design-checker-errors-amp-print-preview.aspx"&gt;here&amp;#39;s her post&lt;/a&gt;. She suggested a workaround of manually modifying the form source files which wondefully works. Her readers asked if there&amp;#39;s a way to do this without tinkering with the source - there is indeed! And it is easy... read on!&lt;/p&gt;

&lt;p&gt;To reproduce the scenario and better understand when this issue actually occurs, create a simple form by following these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Add a repeating table with 2 columns.&lt;/li&gt;

&lt;li&gt;Add a calculated value control&amp;nbsp;and set it to display the repeating group&amp;#39;s &lt;strong&gt;field1&lt;/strong&gt; node - we know that this will display only the first row&amp;#39;s &lt;strong&gt;field1&lt;/strong&gt; value, but we won&amp;#39;t care about that for now.&lt;/li&gt;

&lt;li&gt;Go to &lt;strong&gt;File&lt;/strong&gt; &amp;gt; &lt;strong&gt;Design&lt;/strong&gt; &lt;strong&gt;Checker&lt;/strong&gt; --- no errors, good! Not surprising, but good.&lt;/li&gt;

&lt;li&gt;Add another calculated value control - the value this time will be the &lt;strong&gt;field1&lt;/strong&gt; node filtered when &lt;em&gt;field2 is not blank&lt;/em&gt;. So you&amp;#39;d select &lt;strong&gt;Calculated Value&lt;/strong&gt; from the &lt;em&gt;Controls&lt;/em&gt; menu &amp;gt; click on the &lt;strong&gt;&lt;em&gt;fx&lt;/em&gt;&lt;/strong&gt; button &amp;gt; &lt;em&gt;Insert Field or Group&lt;/em&gt; &amp;gt; select &lt;strong&gt;field1&lt;/strong&gt; &amp;gt; &lt;em&gt;Filter Data&lt;/em&gt; &amp;gt; &lt;em&gt;Add&lt;/em&gt; &amp;gt; &lt;em&gt;field2 is not blank&lt;/em&gt; &amp;gt; click &lt;strong&gt;OK&lt;/strong&gt; five times.
&lt;p&gt;Here&amp;#39;s what we have so far:&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/ipfs/image3.jpg" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;Let&amp;#39;s preview the form to make sure it&amp;#39;s working so far...&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/ipfs/image4.jpg" alt="" /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;/li&gt;

&lt;li&gt;Close Preview and click &lt;strong&gt;Refresh&lt;/strong&gt; on the Design Checker pane - still no error...
&lt;p&gt;And here&amp;#39;s where we try reproducing the issue - we&amp;#39;ll make that design checker error appear...&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;Right-click on the first calculated value&amp;#39;s control and select &lt;strong&gt;Calculated Value Properties &lt;/strong&gt;&amp;gt; click on the &lt;strong&gt;&lt;em&gt;fx&lt;/em&gt;&lt;/strong&gt; button and just click &lt;strong&gt;OK&lt;/strong&gt; twice to close it without changing anything - just humor me here, ok? Now click &lt;strong&gt;Refresh&lt;/strong&gt; again - no error.&lt;/li&gt;&lt;li&gt;Repeat the same actions on Step 6, this time with the &lt;u&gt;second&lt;/u&gt; calculated value --- so look at the formula in the properties dialog box, don&amp;#39;t change anything and hit &lt;strong&gt;OK&lt;/strong&gt; to close it.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Click Refresh --- bam! There&amp;#39;s your error.&lt;/p&gt;&lt;p&gt;At this point, we&amp;#39;ll wonder - is it a bug in InfoPath? I&amp;nbsp;don&amp;#39;t know. But here&amp;#39;s where I think Hilary&amp;#39;s observation comes to play - it might&amp;#39;ve already added that &amp;quot;xd:binding&amp;quot; attribute in the xsl file as soon as we clicked OK, InfoPath thinking that we &amp;quot;modified&amp;quot; it. If you Undo once from that last step and refresh again, the error will go away. But who&amp;nbsp;can keep track?&amp;nbsp;(Note to self: don&amp;#39;t click OK&amp;nbsp;in edit mode dialogs when I really did not change anything - there&amp;#39;s a Cancel button after all!)&lt;/p&gt;&lt;p&gt;The solution, aside from manually modifying the source files, is to ---- &lt;font color="#006600"&gt;&lt;strong&gt;delete the calculated value and add a fresh one&lt;/strong&gt;&lt;/font&gt;! Yes! But before you delete, make sure to grab your formula first - copy it, so that you won&amp;#39;t need to rebuild it on your fresh calculated value as you can just paste&amp;nbsp;the expression&amp;nbsp;in the formula box. Now that&amp;#39;s easy enough, at least for me.&lt;/p&gt;&lt;p&gt;So we know that this will occur everytime you&amp;#39;d go to the formula and edit it (what a pain). Again, who can keep track? The goodness left in this is that InfoPath will still be friendly enough to point all instances of this error when it&amp;#39;s time to publish your form. So keep working, just keep adding your calculated values, modify them all you want. When you publish, you&amp;#39;d end up with 10 or more errors like this, but when you click on each, your cursor will point to the exact calculated value that needs to be recreated. You can then fix them all at once.&lt;/p&gt;&lt;p&gt;Hope this helps...&lt;/p&gt;&lt;ol&gt;
&lt;/ol&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=86003" width="1" height="1"&gt;</content><author><name>Mel.Balsamo</name><uri>http://www.infopathdev.com/members/Mel.Balsamo.aspx</uri></author><category term="browser forms" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/browser+forms/default.aspx" /><category term="calculated value" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/calculated+value/default.aspx" /><category term="Design Checker error" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/Design+Checker+error/default.aspx" /></entry><entry><title>Add a dog ear to your form</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2012/07/23/add-a-dog-ear-to-your-form.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2012/07/23/add-a-dog-ear-to-your-form.aspx</id><published>2012-07-23T15:05:00Z</published><updated>2012-07-23T15:05:00Z</updated><content type="html">&lt;p&gt;From this:
&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/formsdesign/image01.png" height="114" width="1026" alt="" /&gt;&lt;/p&gt;&lt;p&gt;To this:
&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/formsdesign/image02.png" height="130" width="1061" alt="" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;That looks like a &amp;quot;dog ear&amp;quot; to me, pretty much.
&lt;/p&gt;&lt;p&gt;Adding this requires a little knowledge with Adobe Photoshop, but the steps should be straight-forward. So, if you&amp;#39;re ready – grab the PSD file &lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/files/QdHeader.psd"&gt;here&lt;/a&gt;.
&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;1. Open &lt;b&gt;QdHeader.psd&lt;/b&gt; in Adobe Photoshop.
&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;2. From the &lt;b&gt;Layers &lt;/b&gt;pane, select &lt;b&gt;Corner&lt;/b&gt;.
&lt;/p&gt;&lt;p style="margin-left:72pt;"&gt;
&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/formsdesign/image03.png" height="332" width="223" alt="" /&gt;&lt;/p&gt;&lt;p style="margin-left:36pt;"&gt;This will select the &amp;quot;dog ear&amp;quot; image from the canvas.
&lt;/p&gt;&lt;p style="margin-left:72pt;"&gt;
&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/formsdesign/image04.png" height="64" width="60" alt="" /&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;3. From the vertical toolbar menu, set the foreground color to your desired border color – let&amp;#39;s pick red for this example.
&lt;/p&gt;&lt;p style="margin-left:72pt;"&gt;
&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/formsdesign/image05.png" height="68" width="144" alt="" /&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;4. Select the paint bucket tool.
&lt;/p&gt;&lt;p style="margin-left:72pt;"&gt;
&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/formsdesign/image06.png" alt="" /&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;5. Click the border portion of the dog ear to color it.
&lt;/p&gt;&lt;p style="margin-left:72pt;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/formsdesign/image07.png" alt="" /&gt;&amp;nbsp; &lt;span style="font-family:Wingdings;"&gt;&lt;/span&gt; &amp;nbsp;
&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/formsdesign/image08.png" alt="" /&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;6. Repeat the same steps for the right, left and top borders, selecting the layer first and then using the paint bucket tool to change the color.
&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;7. You can change the remaining yellow-colored portion of the &amp;quot;dog ear&amp;quot; to match your form view&amp;#39;s background color, like so
&lt;/p&gt;&lt;p style="margin-left:72pt;"&gt;
&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/formsdesign/image09.png" alt="" /&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;8. You can also change the gradient overlay color to match your desired theme:
&lt;/p&gt;&lt;p style="margin-left:36pt;"&gt;
&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/formsdesign/image10.png" height="131" width="1027" alt="" /&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;9. Finally, add your company logo, slogan, etc. to add branding to your form.
&lt;/p&gt;&lt;p style="margin-left:36pt;"&gt;
&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/formsdesign/image11.png" alt="" /&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;10. That&amp;#39;s it! You can just save the file as an image and add it to your form.
&lt;/p&gt;&lt;p&gt;You should now have a very neat header for use in all your forms. Enjoy!&lt;/p&gt;&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=80882" width="1" height="1"&gt;</content><author><name>Mel.Balsamo</name><uri>http://www.infopathdev.com/members/Mel.Balsamo.aspx</uri></author></entry><entry><title>Show unique rows in a secondary repeating data source table - no code!</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2011/10/16/show-unique-rows-in-a-secondary-repeating-data-source-table-no-code.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2011/10/16/show-unique-rows-in-a-secondary-repeating-data-source-table-no-code.aspx</id><published>2011-10-16T20:32:53Z</published><updated>2011-10-16T20:32:53Z</updated><content type="html">&lt;p&gt;When designing an InfoPath form that integrates with a secondary data source such as a SharePoint list, data retrieved from SQL, or a simple XML document – you may find yourself needing to hide rows that have the same value/s as that in your main data source.&lt;/p&gt;  &lt;p&gt;There might already be written blogs out there demonstrating techniques on how to do this such as &lt;a href="http://www.infopathdev.com/blogs/greg/archive/2005/06/08/Display-Only-Unique-Options-in-a-List.aspx" target="_blank"&gt;Greg’s&lt;/a&gt; and &lt;a href="http://www.infopathdev.com/blogs/matt/archive/2006/05/23/Filter-a-Repeating-Drop_2D00_Down-List-on-Previous-and-Future-Selections.aspx" target="_blank"&gt;Matt’s&lt;/a&gt; – both show different techniques on how to filter a dropdown list showing only unique selections; but I haven’t been able to find an exact article on how to hide the entire row in a repeating table coming from my secondary data source itself.&lt;/p&gt;  &lt;p&gt;In a recent project, I’ve used a technique that does just this and it really is so simple so it might be worth a share. Oh, and take note --- this works like a charm using just one conditional formatting, no code at all! Interested? Follow along…&lt;/p&gt;  &lt;p&gt;To simulate the scenario, let’s create an XML document that lists some fruits:&lt;/p&gt;  &lt;blockquote&gt;   &lt;table cellspacing="0" cellpadding="2"&gt;       &lt;tr&gt;         &lt;td&gt;           &lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;/p&gt;            &lt;p&gt;&amp;lt;items&amp;gt;              &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;item&amp;gt;Apple&amp;lt;/item&amp;gt;               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;item&amp;gt;Banana&amp;lt;/item&amp;gt;               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;item&amp;gt;Orange&amp;lt;/item&amp;gt;               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;item&amp;gt;Lemon&amp;lt;/item&amp;gt;               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;item&amp;gt;Kiwi&amp;lt;/item&amp;gt;               &lt;br /&gt;&amp;lt;/items&amp;gt;&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/table&gt; &lt;/blockquote&gt;  &lt;p&gt;We’ll use this as our secondary data source. Save it as an XML file.&lt;/p&gt;  &lt;p&gt;We’ll then design a simple InfoPath form template, adding the XML file as a secondary receive data connection that automatically retrieves data on form open – we’ll call it “Fruits”.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_4341AA47.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_4190DE73.png" width="468" height="325" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This should be displayed in the &lt;em&gt;Fields &lt;/em&gt;task pane like so:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_2CBD9C22.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_60859273.png" width="206" height="279" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;And then we’ll add the main data source:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_4A4F7721.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_0221BB45.png" width="206" height="303" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Next, drag the main data source &lt;strong&gt;Item&lt;/strong&gt; group as a repeating table on the canvas, as well as the &lt;strong&gt;item&lt;/strong&gt; repeating group from the XML secondary data source – add headings to differentiate the two sources, like so:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_35E9B196.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_34A518B7.png" width="656" height="290" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;We’ll now add the key ingredient!&lt;/p&gt;  &lt;p&gt;First, select the &lt;strong&gt;item&lt;/strong&gt; repeating group from &lt;em&gt;Fruits (Secondary)&lt;/em&gt; data source – this is where we’ll add the conditional formatting. Display the &lt;em&gt;Rules &lt;/em&gt;by clicking &lt;strong&gt;Manage Rules &lt;/strong&gt;under the &lt;em&gt;Home &lt;/em&gt;tab and once displayed, click &lt;strong&gt;New &amp;gt; Formatting&lt;/strong&gt;.&lt;/p&gt;  &lt;p&gt;On the &lt;em&gt;Condition &lt;/em&gt;window, leave the first and the second dropdown selections to the &lt;strong&gt;item &lt;/strong&gt;field of the &lt;em&gt;Fruits (Secondary)&lt;/em&gt; data source and as “is equal to”, respectively; then on the third dropdown, choose “Select a field or group…”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/SNAGHTML11c3da06_1A64AF93.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="SNAGHTML11c3da06" border="0" alt="SNAGHTML11c3da06" src="http://www.infopathdev.com/blogs/mel_balsamo/SNAGHTML11c3da06_thumb_6B32C3FB.png" width="609" height="168" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Select the &lt;strong&gt;Fruit &lt;/strong&gt;field from the main data source.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_69EE2B1C.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_41DB7BFD.png" width="171" height="124" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Click OK as many times needed to close all dialog boxes and then check the &lt;strong&gt;Hide this control&lt;/strong&gt; box. Your conditional formatting rule should look similar to this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_35D98BC9.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_731A4090.png" width="231" height="482" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;And now, the fun part – testing your form! On preview mode, it should look like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_1184817A.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_625295E2.png" width="629" height="336" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Begin inserting item/s in the main data source and see for yourself, how simple it is to hide those secondary data source rows that has matching values in the main data source!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_40F2F046.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_0D4A83E8.png" width="629" height="313" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Have I mentioned it’s simple? &lt;img style="border-bottom-style:none;border-left-style:none;border-top-style:none;border-right-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.infopathdev.com/blogs/mel_balsamo/wlEmoticon-smile_0C05EB09.png" /&gt;&lt;/p&gt;&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=71130" width="1" height="1"&gt;</content><author><name>Mel.Balsamo</name><uri>http://www.infopathdev.com/members/Mel.Balsamo.aspx</uri></author></entry><entry><title>How to Create a Digital Certificate and Publish a Signed Template to the DBXL Admin Tool</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2011/07/11/how-to-create-a-digital-certificate-and-publish-a-signed-template-to-the-dbxl-admin-tool.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2011/07/11/how-to-create-a-digital-certificate-and-publish-a-signed-template-to-the-dbxl-admin-tool.aspx</id><published>2011-07-11T14:22:23Z</published><updated>2011-07-11T14:22:23Z</updated><content type="html">&lt;p style="line-height:13pt;margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Because InfoPath 2010 digital certificates are only good for a month, we will use the Digital Certificate for VBA Projects tool to create one that will last several years. You could also use InfoPath 2007 or 2003 (if available) as these both produce digital certificates that last many years. Your safest route for production is to get your digital certificate from a Certificate Authority.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="line-height:21pt;mso-bidi-font-size:11.0pt;"&gt;&lt;font size="4" face="Calibri"&gt;Create a Digital Certificate&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;To create a digital certificate:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l1 level1 lfo1;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;1.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Open the Windows Start Menu.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l1 level1 lfo1;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;2.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Navigate to All Programs | Microsoft Office | Microsoft Office Tools.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l1 level1 lfo1;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;3.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click Digital Certificate for VBA Projects.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l1 level1 lfo1;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;4.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;In the Create Digital Certificate dialog box, type &lt;b style="mso-bidi-font-weight:normal;"&gt;InfoPath Certificate&lt;/b&gt;, and then click OK.&lt;/font&gt;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/clip_image001_3B2D2CD1.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="clip_image001" border="0" alt="clip_image001" src="http://www.infopathdev.com/blogs/mel_balsamo/clip_image001_thumb_3F570496.png" width="430" height="349" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="line-height:21pt;mso-bidi-font-size:11.0pt;"&gt;&lt;font size="4" face="Calibri"&gt;Publish a Signed Template to the DBXL Admin Tool&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Publish an unsigned template using the following steps:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;1.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Publish an unsigned template from the InfoPath designer (we’ll sign it at a later step).&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;2.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Launch the DBXL Admin Tool (DAT).&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;3.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Create or edit the Document Type Configuration for your template.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;4.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Attach your InfoPath template, and ensure to clear the check box labeled Form Template Is Signed.&lt;/font&gt;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/clip_image002_62575039.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="clip_image002" border="0" alt="clip_image002" src="http://www.infopathdev.com/blogs/mel_balsamo/clip_image002_thumb_47AAB420.png" width="553" height="130" /&gt;&lt;/a&gt;&lt;/span&gt;     &lt;br style="mso-special-character:line-break;" /&gt;    &lt;br style="mso-special-character:line-break;" /&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;5.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Save your Document Type.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;6.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click OK when the Changes Saved message appears.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;h3&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;&lt;font style="font-weight:normal;"&gt;Save and sign your template using the following steps:&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/h3&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l5 level1 lfo3;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;1.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Right-click the saved XSN file and choose Save As.        &lt;br /&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;NOTE:&lt;/b&gt; Be sure the file extension is present (i.e. it you should be saving “My InfoPath Template.xsn” and not “My InfoPath Template”).&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l5 level1 lfo3;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;2.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Choose a location to save your unsigned published template, and then click Save.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l5 level1 lfo3;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;3.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Locate and right-click your saved form, and choose Design.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l5 level1 lfo3;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;4.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;On the File tab, click Form Options.&lt;/font&gt;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/clip_image003_139614CD.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="clip_image003" border="0" alt="clip_image003" src="http://www.infopathdev.com/blogs/mel_balsamo/clip_image003_thumb_15EF96CB.png" width="522" height="95" /&gt;&lt;/a&gt;&lt;/span&gt;     &lt;br style="mso-special-character:line-break;" /&gt;    &lt;br style="mso-special-character:line-break;" /&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l5 level1 lfo3;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;5.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Select Security And Trust in the Category list.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l5 level1 lfo3;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;6.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Clear the check box labeled Automatically Determine Security Level, and then choose Full Trust.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l5 level1 lfo3;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;7.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Select the check box labeled Sign This Form Template, and then click Select Certificate.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l5 level1 lfo3;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;8.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Select the InfoPath Certificate you created earlier, and then click OK.&lt;/font&gt;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/clip_image005_091540AD.jpg"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="clip_image005" border="0" alt="clip_image005" src="http://www.infopathdev.com/blogs/mel_balsamo/clip_image005_thumb_0F2C677B.jpg" width="624" height="408" /&gt;&lt;/a&gt;&lt;/span&gt;&amp;#160; &lt;br style="mso-special-character:line-break;" /&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l5 level1 lfo3;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;9.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click OK.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l5 level1 lfo3;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;10.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Save (not publish) your signed form (overwrite previous template or save as with new name).&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Republish your signed form using the following steps:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l3 level1 lfo4;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;1.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;In the DAT, you should still be editing your Document Type.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l3 level1 lfo4;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;2.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Right-click the XSN File, and choose Attach.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l3 level1 lfo4;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;3.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Locate and select your signed template, and then click Open.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l3 level1 lfo4;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;4.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Select the check box labeled Form Template Is Signed.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l3 level1 lfo4;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;5.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click Save.&lt;/font&gt;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/clip_image006_6660DC64.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="clip_image006" border="0" alt="clip_image006" src="http://www.infopathdev.com/blogs/mel_balsamo/clip_image006_thumb_288444E8.png" width="551" height="125" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="line-height:21pt;mso-bidi-font-size:11.0pt;"&gt;&lt;font size="4" face="Calibri"&gt;Install the Digital Certificate&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;A. If you are the user who created this digital certificate and this is the first time you are opening a form template that uses it:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l4 level1 lfo5;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;1.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click the green-arrow download button to launch the form template.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l4 level1 lfo5;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;2.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;If prompted, click Open:&lt;/font&gt;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/clip_image007_02AE1E85.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="clip_image007" border="0" alt="clip_image007" src="http://www.infopathdev.com/blogs/mel_balsamo/clip_image007_thumb_1FD3C68F.png" width="414" height="295" /&gt;&lt;/a&gt;&lt;/span&gt;     &lt;br style="mso-special-character:line-break;" /&gt;    &lt;br style="mso-special-character:line-break;" /&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l4 level1 lfo5;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;3.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;When presented with the certificate dialog, click Trust All Documents From This Publisher.&lt;/font&gt;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/clip_image008_1552F26F.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="clip_image008" border="0" alt="clip_image008" src="http://www.infopathdev.com/blogs/mel_balsamo/clip_image008_thumb_2BC590F6.png" width="408" height="242" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="line-height:13pt;font-family:;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-ansi-language:en-us;mso-fareast-language:en-us;mso-bidi-language:ar-sa;"&gt;      &lt;br style="page-break-before:always;mso-special-character:line-break;" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;B. If you are a user other than the one who created the digital certificate and this is the first time you are opening a form template that uses it:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l2 level1 lfo6;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;1.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Open the form from the DAT (not the DBXL Dashboard).&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l2 level1 lfo6;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;2.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;If prompted, click Open:&lt;/font&gt;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/clip_image0071_42382F7D.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="clip_image007[1]" border="0" alt="clip_image007[1]" src="http://www.infopathdev.com/blogs/mel_balsamo/clip_image0071_thumb_062BEDC8.png" width="414" height="295" /&gt;&lt;/a&gt;&lt;/span&gt;     &lt;br style="mso-special-character:line-break;" /&gt;    &lt;br style="mso-special-character:line-break;" /&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l2 level1 lfo6;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;3.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;When presented with the certificate dialog, the Trust All Documents From This Publisher button is grayed out. Click the Show Signature Details link.&lt;/font&gt;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/clip_image009_0A55C58D.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="clip_image009" border="0" alt="clip_image009" src="http://www.infopathdev.com/blogs/mel_balsamo/clip_image009_thumb_6ED0C389.png" width="408" height="292" /&gt;&lt;/a&gt;&lt;/span&gt;     &lt;br style="mso-special-character:line-break;" /&gt;    &lt;br style="mso-special-character:line-break;" /&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l2 level1 lfo6;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;4.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;On the Digital Signature Details dialog box, click View Certificate.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l2 level1 lfo6;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;5.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;On the Certificate dialog box, click Install Certificate.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l2 level1 lfo6;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;6.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;In the Certificate Import Wizard, click Next.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l2 level1 lfo6;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;7.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Select Place All Certificates In The Following Store, click Browse, select Trusted Root Certification Authorities, and then click OK.&lt;/font&gt;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/clip_image010_6A96C5F7.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="clip_image010" border="0" alt="clip_image010" src="http://www.infopathdev.com/blogs/mel_balsamo/clip_image010_thumb_4C889236.png" width="513" height="466" /&gt;&lt;/a&gt;&lt;/span&gt;     &lt;br style="mso-special-character:line-break;" /&gt;    &lt;br style="mso-special-character:line-break;" /&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l2 level1 lfo6;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;8.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click Next, and then click Finish.&lt;/font&gt;&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l2 level1 lfo6;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;9.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;On the Security Warning dialog box, click Yes, and then click OK to the successful import message.&lt;/font&gt;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/clip_image011_73932BAB.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="clip_image011" border="0" alt="clip_image011" src="http://www.infopathdev.com/blogs/mel_balsamo/clip_image011_thumb_0999973E.png" width="496" height="409" /&gt;&lt;/a&gt;&lt;/span&gt;     &lt;br style="mso-special-character:line-break;" /&gt;    &lt;br style="mso-special-character:line-break;" /&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l2 level1 lfo6;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;10.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click OK, then OK, and then click Open.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="line-height:13pt;text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l2 level1 lfo6;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-bidi-font-family:calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;11.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Now close the InfoPath form template and reopen it. You will once again be presented with the InfoPath Editor Security Notice, but this time click Trust All Documents From This Publisher.&lt;/font&gt;&lt;/font&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/clip_image012_14767886.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="clip_image012" border="0" alt="clip_image012" src="http://www.infopathdev.com/blogs/mel_balsamo/clip_image012_thumb_78F17682.png" width="408" height="255" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=68299" width="1" height="1"&gt;</content><author><name>Mel.Balsamo</name><uri>http://www.infopathdev.com/members/Mel.Balsamo.aspx</uri></author></entry><entry><title>How to Use Report Builder to Build Queries and Retrieve Data from DBXL</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2011/06/30/how-to-use-report-builder-to-build-queries-and-retrieve-data-from-dbxl.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2011/06/30/how-to-use-report-builder-to-build-queries-and-retrieve-data-from-dbxl.aspx</id><published>2011-06-30T12:23:00Z</published><updated>2011-06-30T12:23:00Z</updated><content type="html">&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-family:;mso-ansi-language:en;mso-bidi-font-size:11.0pt;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;“Would you like to create detailed reports from your XML data without going to the trouble of creating a database mapping? With DBXL v2.5 and Report Builder, now you can.”&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;span style="font-family:;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-fareast-theme-font:minor-fareast;mso-bidi-theme-font:minor-bidi;mso-ansi-language:en-us;mso-fareast-language:en-us;mso-bidi-language:ar-sa;mso-bidi-font-size:10.0pt;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;In this blog post, I’ll detail the steps on how to do simple XML reporting in your forms, using DBXL’s &lt;i style="mso-bidi-font-style:normal;"&gt;QueryDocumentsNodeSet&lt;/i&gt; and the Report Builder tool:&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;   &lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l1 level1 lfo1;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-ascii-font-family:calibri;mso-fareast-font-family:calibri;mso-hansi-font-family:calibri;mso-bidi-font-family:calibri;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;•&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Extract data from your InfoPath forms even if you don’t have a database mapping&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l1 level1 lfo1;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-ascii-font-family:calibri;mso-fareast-font-family:calibri;mso-hansi-font-family:calibri;mso-bidi-font-family:calibri;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;•&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Build your queries using DBXL v2.5’s &lt;a href="http://www.infopathdev.com/files/folders/others/entry68010.aspx" target="_blank"&gt;Report Builder tool&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l1 level1 lfo1;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-ascii-font-family:calibri;mso-fareast-font-family:calibri;mso-hansi-font-family:calibri;mso-bidi-font-family:calibri;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;•&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Export the results to Excel for pivoting and charting&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;h3&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;" color="#17365d"&gt;Publish a sample InfoPath form to DBXL&lt;/font&gt;&lt;/font&gt;&lt;/h3&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;1.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Download the sample InfoPath form template (&lt;a href="http://www.infopathdev.com/files/folders/examples/entry68009.aspx" target="_blank"&gt;CompanyContactInfo.xsn&lt;/a&gt;) – this is a simple InfoPath form that has a few fields and allows submit to DBXL via the &lt;i style="mso-bidi-font-style:normal;"&gt;SubmitDocument&lt;/i&gt; operation.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;2.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Open the form template in InfoPath Designer.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;3.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Go to &lt;b style="mso-bidi-font-weight:normal;"&gt;File&lt;/b&gt; &amp;gt; &lt;b style="mso-bidi-font-weight:normal;"&gt;Save As&lt;/b&gt; and save the XSN locally.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;4.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Launch the DBXL Administration Tool (DAT) from your local Database Accelerator Control Panel (the access URL would typically be in the format &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size:11pt;"&gt;&lt;a href="http://localhost:8000/QdabraWebService/default.htm"&gt;&lt;font color="#0000ff" face="Calibri"&gt;http://localhost:8000/QdabraWebService/default.htm&lt;/font&gt;&lt;/a&gt;&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;).&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;5.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Create a new document type configuration – give it a descriptive name and then attach your XSN. When done, click &lt;b style="mso-bidi-font-weight:normal;"&gt;Save&lt;/b&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_17DE46DE.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_2A831AC8.png" width="624" height="398" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;6.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click on the &lt;b style="mso-bidi-font-weight:normal;"&gt;Open &lt;/b&gt;link to open a new form using the template. Fill out and submit at least three to four documents.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_11E357AB.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_011BACFD.png" width="624" height="117" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;" color="#17365d"&gt;Build your queries using the Report Builder tool&lt;/font&gt;&lt;/font&gt;&lt;/h3&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;7.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Download the Report Builder tool via &lt;a title="Report Builder Tool" href="http://www.infopathdev.com/files/folders/others/entry68010.aspx" target="_blank"&gt;this link&lt;/a&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;8.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;To install, first make sure that InfoPath is not running (close all active InfoPath windows); run a command prompt as an administrator, change the directory to the location of your installation files, and then execute &lt;/font&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;font style="font-size:11pt;"&gt;install.js&lt;/font&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_6FE7CF59.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_0571E22A.png" width="525" height="138" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;9.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Launch the tool by opening InfoPath, clicking New and selecting &lt;b style="mso-bidi-font-weight:normal;"&gt;Qdabra Report Builder &lt;/b&gt;listed under the &lt;i style="mso-bidi-font-style:normal;"&gt;Installed Forms &lt;/i&gt;section.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_452BA2E2.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_60344C23.png" width="387" height="390" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;10.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;In the &lt;i style="mso-bidi-font-style:normal;"&gt;General &lt;/i&gt;section of the Report Builder tool, enter the Web Service URL Prefix, e.g. &lt;/font&gt;&lt;/font&gt;&lt;font style="font-size:11pt;"&gt;&lt;a href="http://localhost:8000"&gt;&lt;font color="#0000ff" face="Calibri"&gt;http://localhost:8000&lt;/font&gt;&lt;/a&gt;&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;11.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Enter &lt;b style="mso-bidi-font-weight:normal;"&gt;QdabraWebService &lt;/b&gt;as the Web Service Name and then click &lt;b style="mso-bidi-font-weight:normal;"&gt;Connect&lt;/b&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_35B7F539.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_7C053581.png" width="624" height="125" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;12.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Start building your query by clicking &lt;b style="mso-bidi-font-weight:normal;"&gt;Add Query &lt;/b&gt;&amp;gt; &lt;b style="mso-bidi-font-weight:normal;"&gt;Create&lt;/b&gt; in the &lt;i style="mso-bidi-font-style:normal;"&gt;Queries &lt;/i&gt;table.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_25B88AA8.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_7D39A893.png" width="387" height="90" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;13.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Select the document type you created in Step 5.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_03144C2D.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_73FD6D52.png" width="471" height="79" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;14.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click on the &lt;i style="mso-bidi-font-style:normal;"&gt;Schema &lt;/i&gt;icon (&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_20B28276.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_7BB4C1FC.png" width="13" height="15" /&gt;&lt;/a&gt;) – this will display the custom task pane at the right, double-click on the root node which in our sample XSN is&lt;span style="mso-spacerun:yes;"&gt;&amp;#160; &lt;/span&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;/my:myFields&lt;/b&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;15.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click &lt;b style="mso-bidi-font-weight:normal;"&gt;Insert Item &lt;/b&gt;and start adding the fields you wish to retrieve. Give each field an alias which will be the label/title in the Excel report for that particular field/column. Note that we can’t use spaces in aliases.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_4BEABE33.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_3EA43520.png" width="624" height="128" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Notice the &lt;i style="mso-bidi-font-style:normal;"&gt;Query XML &lt;/i&gt;section – here, you’ll see the query string we’ll be using to retrieve the data using DBXL web service &lt;i style="mso-bidi-font-style:normal;"&gt;QueryDocumentsNodeSet &lt;/i&gt;operation later on. Copy this string and paste it in Notepad for now.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;16.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click &lt;b style="mso-bidi-font-weight:normal;"&gt;Perform Query&lt;/b&gt; – you’ll be taken to the &lt;i style="mso-bidi-font-style:normal;"&gt;Query All &lt;/i&gt;tab, click on the left arrow key (&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_0605E65D.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_5335DFE8.png" width="9" height="10" /&gt;&lt;/a&gt;) to expand and see the query result, like such:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_4E63CA24.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_24A04F31.png" width="624" height="96" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;You can click on the &lt;b style="mso-bidi-font-weight:normal;"&gt;Export All Queries to Excel&lt;/b&gt; should you wish to use the data in Excel and do reporting.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_3DBBA969.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_1C5C03CD.png" width="226" height="78" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;" color="#17365d"&gt;Use QueryDocumentsNodeSet to auto-populate dropdowns&lt;/font&gt;&lt;/font&gt;&lt;/h3&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;We can now use the DBXL’s web service method called &lt;i style="mso-bidi-font-style:normal;"&gt;QueryDocumentsNodeSet &lt;/i&gt;to retrieve data in a form from another form.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;17.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;In InfoPath Designer, create a new blank form.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;18.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Go to &lt;b style="mso-bidi-font-weight:normal;"&gt;Data &amp;gt; Data Connections &amp;gt; Add&lt;/b&gt;&lt;i style="mso-bidi-font-style:normal;"&gt; &lt;/i&gt;and add a data connection that &lt;u&gt;retrieves data&lt;/u&gt; from a &lt;u&gt;SOAP Web service&lt;/u&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;19.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;The URL to the DBXL Document Service would be in the format: &lt;span style="mso-field-code:&amp;#39; HYPERLINK &amp;#39;;"&gt;&lt;span class="MsoHyperlink"&gt;&lt;font color="#0000ff"&gt;&lt;u&gt;http://&amp;lt;DBXLServer&amp;gt;/QdabraWebService/DbxlDocumentService.asmx&lt;/u&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;, where &amp;lt;DBXLServer&amp;gt; is the machine where DBXL is installed (in this case, your local machine):&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_4D0F0B78.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_311DD680.png" width="369" height="117" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;20.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Select &lt;b style="mso-bidi-font-weight:normal;"&gt;QueryDocumentsNodeSet &lt;/b&gt;from the list of operations.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_089EF46C.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_58184A28.png" width="235" height="306" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;21.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Set &lt;b style="mso-bidi-font-weight:normal;"&gt;Sample Value&lt;/b&gt; of the &lt;i style="mso-bidi-font-style:normal;"&gt;tns:query &lt;/i&gt;parameter to the query string generated by Report Builder – remember that you’ve pasted this in Notepad earlier.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_03E89E18.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_48488F57.png" width="462" height="236" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;22.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click &lt;b style="mso-bidi-font-weight:normal;"&gt;Next &lt;/b&gt;twice; give the data connection a descriptive name and then uncheck the box ‘Automatically retrieve data when form is opened’.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_17D20AE1.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_2B12C180.png" width="467" height="178" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;23.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click &lt;b style="mso-bidi-font-weight:normal;"&gt;Finish &amp;gt; Close&lt;/b&gt; to exit out of the &lt;i style="mso-bidi-font-style:normal;"&gt;Data Connections &lt;/i&gt;wizard.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;24.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;In the &lt;i style="mso-bidi-font-style:normal;"&gt;Fields &lt;/i&gt;task pane, add a new field called &lt;b style="mso-bidi-font-weight:normal;"&gt;Company&lt;/b&gt; – display this on the canvas in a dropdown list box control, like so:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_08025010.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_110EDB91.png" width="624" height="136" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;25.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Right-click on the dropdown and select &lt;b style="mso-bidi-font-weight:normal;"&gt;Drop-Down List Box Properties&lt;/b&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;26.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Change the &lt;i style="mso-bidi-font-style:normal;"&gt;List box choices &lt;/i&gt;selection to &lt;b style="mso-bidi-font-weight:normal;"&gt;Get choices from an external data source&lt;/b&gt;. The data source will default to the one you just added.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;27.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Click on the icon next to &lt;i style="mso-bidi-font-style:normal;"&gt;Entries &lt;/i&gt;and then expand the nodes until you see the &lt;b style="mso-bidi-font-weight:normal;"&gt;Company &lt;/b&gt;node – select that.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpLast"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_6ED6D00A.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_5DC27C5A.png" width="299" height="289" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;28.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;You might want to check the box ‘Show only entries with unique display names’ in case you have multiple entries with the same value.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_4E3F6A8B.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_0C58853D.png" width="352" height="284" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;29.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Next, we’ll add form load rules that first sets the query string and then queries the data connection.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 1in;mso-list:l0 level2 lfo2;mso-add-space:auto;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;a.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;From the InfoPath Designer menu, go to &lt;/font&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;font style="font-size:11pt;"&gt;Data &amp;gt; Form Load &lt;/font&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 1in;mso-list:l0 level2 lfo2;mso-add-space:auto;" class="MsoListParagraphCxSpLast"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_1771E9BA.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_7C591AAB.png" width="148" height="89" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 0pt 1in;mso-list:l0 level2 lfo2;mso-add-space:auto;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;b.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;In the &lt;i style="mso-bidi-font-style:normal;"&gt;Rules &lt;/i&gt;task pane that appears, click &lt;b style="mso-bidi-font-weight:normal;"&gt;New &amp;gt; Action&lt;/b&gt; &lt;b style="mso-bidi-font-weight:normal;"&gt;&amp;gt; Add &amp;gt; Set a field’s value&lt;/b&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 1in;mso-list:l0 level2 lfo2;mso-add-space:auto;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;c.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Allow the action to set the &lt;b style="mso-bidi-font-weight:normal;"&gt;query &lt;/b&gt;parameter of the &lt;i style="mso-bidi-font-style:normal;"&gt;QueryCompanies &lt;/i&gt;secondary data source, to the query string generated by the Report Builder (again, you pasted this in Notepad).&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 1in;mso-list:l0 level2 lfo2;mso-add-space:auto;" class="MsoListParagraphCxSpLast"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_5A8D421A.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_341B3902.png" width="624" height="233" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 1in;mso-list:l0 level2 lfo2;mso-add-space:auto;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;d.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Add another action in the same rule that queries for data in the &lt;i style="mso-bidi-font-style:normal;"&gt;QueryCompanies &lt;/i&gt;data connection.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 1in;mso-list:l0 level2 lfo2;mso-add-space:auto;" class="MsoListParagraph"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_1CC00EC4.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_5A6CF680.png" width="490" height="279" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent:-0.25in;margin:0in 0in 10pt 0.5in;mso-list:l0 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:calibri;mso-bidi-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:ignore;"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;30.&lt;/font&gt;&lt;/font&gt;&lt;span style="line-height:normal;font-family:;"&gt;&lt;font style="font-size:7pt;"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;Preview your form template – your dropdown should auto-populate with data from your DBXL doctype:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal" align="center"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/image_0564E486.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.infopathdev.com/blogs/mel_balsamo/image_thumb_0B7C0B54.png" width="624" height="224" /&gt;&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font style="font-size:11pt;"&gt;There’s your form data from another form – no database queries/mapping involved!&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=67916" width="1" height="1"&gt;</content><author><name>Mel.Balsamo</name><uri>http://www.infopathdev.com/members/Mel.Balsamo.aspx</uri></author></entry><entry><title>Make that repeating group display two rows per item instead of just one!</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2011/06/15/make-that-repeating-group-display-two-rows-per-item-instead-of-just-one.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2011/06/15/make-that-repeating-group-display-two-rows-per-item-instead-of-just-one.aspx</id><published>2011-06-15T09:33:00Z</published><updated>2011-06-15T09:33:00Z</updated><content type="html">&lt;div&gt;The default Expense Report form that’s shipped with InfoPath 2007 makes use of a table that shows the expense item details per row. Your requirement is
		to add a new field where users can enter notes or comments for that particular expense item – you’d like to display this new field underneath the
		already-existing row in the table, therefore having 2 rows for each item now.
	
	
	
&lt;p&gt;
		The technique used in this blog doesn’t only apply to the Expense Report form but to all others where you’d want to show two rows per item in a
		repeating group, instead of just one.
	&lt;/p&gt;
	
	
&lt;p&gt;
		Adding a new field is easy:
	&lt;/p&gt;
	
	
&lt;p&gt;
		1.       In your main data source, locate the &lt;b&gt;items &lt;/b&gt;group &amp;gt; &lt;b&gt;item &lt;/b&gt;repeating group and add a new field called &lt;b&gt;notes &lt;/b&gt;(you can set
		it either as &lt;i&gt;Text (string) &lt;/i&gt;data type or a &lt;i&gt;Rich Text (XHTML) &lt;/i&gt;depending on your requirement).
	&lt;/p&gt;
	
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/techniques/repeatingsection/Figure01.png" height="239" width="331" alt="" /&gt;&amp;nbsp;&lt;/p&gt;
	

	
&lt;p&gt;
		Your main data source should look similar to this:
	&lt;/p&gt;
	
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/techniques/repeatingsection/Figure02.png" alt="" /&gt; &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		The tricky part is the layout – displaying the controls in two separate rows, and making the header/footer not repeat like how it is in a repeating
		table. &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		To achieve the layout we want, we need to skip using a repeating table and use a repeating section instead. Follow along… &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		2.       Place your cursor where you want to display the section on the canvas - the &lt;i&gt;Itemized Expenses &lt;/i&gt;layout table would probably be your pick.
		Don’t delete the existing repeating table just yet so you can copy/paste or drag/drop some items over later. &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		3.       In the &lt;i&gt;Data Source &lt;/i&gt;taskpane, right-click on the &lt;b&gt;items &lt;/b&gt;parent group and select &lt;b&gt;Section &lt;/b&gt;– this will insert a section right
		where your cursor is on the canvas. Set this section’s padding to 0px to get rid of the unnecessary white spaces inside the section and that all its
		contents will stay as close to the edges as possible.
	&lt;/p&gt;
	
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/techniques/repeatingsection/Figure03.png" alt="" /&gt; &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		4.       With your cursor placed inside the newly-added section, go to the &lt;i&gt;Table &lt;/i&gt;menu &amp;gt; &lt;i&gt;Insert &amp;gt; Layout Table… &lt;/i&gt;and insert a 5
		columns by 3 rows table. &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		You may specify the number of columns you want depending on the fields you want to display. We’re adding 3 rows however, so we’ll have the top row for
		our table header, 2&lt;sup&gt;nd&lt;/sup&gt; row for the repeating section that will hold the expense item details (so merge the cells to make it 1 whole row
		without columns), and the 3&lt;sup&gt;rd&lt;/sup&gt; for the total amount of the expenses. &lt;br /&gt;&lt;/p&gt;
	

	
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/techniques/repeatingsection/Figure04.png" alt="" /&gt;&amp;nbsp;&lt;/p&gt;
	
&lt;p&gt;
		5.       Place your cursor in the second row (the one you just merged) and again, set all the paddings to 0px.
	&lt;/p&gt;
	
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/techniques/repeatingsection/Figure05.png" alt="" /&gt; &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		6.       Without moving your cursor where it’s at, right-click on the &lt;b&gt;items &lt;/b&gt;repeating group and then select &lt;b&gt;Repeating Section&lt;/b&gt;. This time,
		set all its paddings and margins to 0px. &lt;br /&gt;&lt;/p&gt;
	

	
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/techniques/repeatingsection/Figure06.png" alt="" /&gt;&amp;nbsp;&lt;/p&gt;
	
&lt;p&gt;
		In InfoPath 2007, sections and repeating sections have some kind of invisible borders by default. Remove this by selecting the repeating section, and
		selecting None in the &lt;i&gt;Borders &lt;/i&gt;and &lt;i&gt;Shading &lt;/i&gt;dialog.
	&lt;/p&gt;
	
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/techniques/repeatingsection/Figure07.png" alt="" /&gt; &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		Again, we’re doing all this to eliminate all the white spaces as possible in order to achieve that all-in-the-same table effect (like what a repeating
		table would give) even though we’re using a repeating section. &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		7.       With your cursor still inside the repeating section, insert a 5 columns by 2 rows table. The 1&lt;sup&gt;st&lt;/sup&gt; row will hold the default details
		(Date, Description, Category, Cost and the arrow button) while the second is for the new notes field. &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		8.       Add the controls inside the table (you can drag and drop from the existing repeating table and delete it afterwards). &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		Adjust the formatting to your liking – resize the cells making sure that all the columns and rows are perfectly aligned, fix the paddings and margins,
		add borders/shading, etc. &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		Your layout might look similar to this:
	&lt;/p&gt;
	
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/techniques/repeatingsection/Figure08.png" alt="" /&gt; &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		And in Preview, something like this isn’t bad at all:
	&lt;/p&gt;
	
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/techniques/repeatingsection/Figure09.png" alt="" /&gt; &lt;br /&gt;&lt;/p&gt;
	
&lt;p&gt;
		Have fun! :)&lt;/p&gt;
&lt;/div&gt;&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=67369" width="1" height="1"&gt;</content><author><name>Mel.Balsamo</name><uri>http://www.infopathdev.com/members/Mel.Balsamo.aspx</uri></author><category term="InfoPath 2007" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/InfoPath+2007/default.aspx" /><category term="repeating data" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/repeating+data/default.aspx" /><category term="repeating table" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/repeating+table/default.aspx" /><category term="repeating group" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/repeating+group/default.aspx" /><category term="repeating section" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/repeating+section/default.aspx" /></entry><entry><title>qRules: Videos and Documentation Links</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2011/03/11/qrules-videos-and-documentation-links.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2011/03/11/qrules-videos-and-documentation-links.aspx</id><published>2011-03-11T06:50:00Z</published><updated>2011-03-11T06:50:00Z</updated><content type="html">&lt;h2&gt;Video Tutorials&lt;/h2&gt;
						
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.youtube.com/watch?v=nN86mZGyBHU" rel="prettyPhoto" title="qRules Demo"&gt;
								qRules Demo [3:29]
								&lt;br /&gt;&lt;/a&gt;
								&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.youtube.com/watch?v=UXRLMTAA-2o" rel="prettyPhoto" title=""&gt;
								Submit To SharePoint List Demo [9:09]
								
								&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
								Save To SharePoint Demo[7:49]
								
								&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.screencast.com/t/NDU0YmIyNW"&gt;QdContactSelector XTP 
								Demo [4:33]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div id="col2" class="narrow" style="left:-1px;top:1px;"&gt;
&lt;h2&gt;Documentation:&lt;/h2&gt;
  
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.infopathdev.com/files/folders/qrules/entry34834.aspx"&gt;
	qRules User Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
	  &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry53061.aspx"&gt;qRules Encryption Template Part&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
	  &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry52968.aspx"&gt;How to use the FormatDate and GetWeekDay commands&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
	  &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry49214.aspx"&gt;
	  How to use the FilterOwssvr command&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;
	  &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry52999.aspx"&gt;How to use the ChangeSubmitUrl command&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
	  &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry53164.aspx"&gt;How to use the SetValue command&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.infopathdev.com/files/folders/qrules/entry40104.aspx"&gt;How 
	to use the SaveToSharePoint command&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
	  &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry49216.aspx"&gt;How 
	  to use the SubmitToSharePointList command &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
	  
	  &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2009/11/16/submit-items-to-a-sharepoint-list-with-qrules-v2-0.aspx"&gt;
	  Blog: Submit Items to a SharePoint List with qRules v2.0&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.infopathdev.com/files/folders/qrules/entry49403.aspx"&gt;Use GetInputParameter to pass data from one form to another&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
	  &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry53171.aspx"&gt;
	  Working with a qRules solution that uses DBXL and IPFS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.infopathdev.com/files/folders/qrules/entry44527.aspx"&gt;Use &amp;#39;Replace&amp;#39; to restore field values to default&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.infopathdev.com/files/folders/qrules/entry35303.aspx"&gt;Using 
	qRules to Perform a Codeless Submit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.infopathdev.com/files/folders/qrules/entry44529.aspx"&gt;Use qRules to email a link to the xml document&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
		 &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry54050.aspx"&gt;Dynamically set submission for a form library and a list&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
		 &lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/01/11/qdabra-s-imagepicker-xtp.aspx"&gt;
		 Qdabra&amp;#39;s Image Picker Template Part &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
		&lt;a href="http://www.infopathdev.com/files/folders/qrules/entry56111.aspx"&gt;
		 Using qRules with custom code &lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
 
&lt;/div&gt;&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=65085" width="1" height="1"&gt;</content><author><name>Mel.Balsamo</name><uri>http://www.infopathdev.com/members/Mel.Balsamo.aspx</uri></author><category term="qRules" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/qRules/default.aspx" /></entry><entry><title>New! qRules v2.4 Form Flags Sample Form</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/12/31/new-qrules-v2-4-form-flags-sample-form.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/12/31/new-qrules-v2-4-form-flags-sample-form.aspx</id><published>2010-12-31T06:06:00Z</published><updated>2010-12-31T06:06:00Z</updated><content type="html">&lt;p&gt;&amp;nbsp;&lt;b&gt;&lt;i&gt;The qRules Form Flags sample form features the 
following qRules Commands:&lt;/i&gt;&lt;/b&gt;
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;
&lt;b&gt;IsNew &lt;/b&gt;- checks if form is new&amp;nbsp;and sets the form 
version to &amp;#39;0&amp;#39;. This form version increments as changes are made to the 
form.
&lt;/li&gt;&lt;li&gt;
&lt;b&gt;IsDirty &lt;/b&gt;- checks if the form has changed. If 
there are no changes and user clicks Save/Submit,&amp;nbsp;the form will not save/submit 
to the server.
&lt;/li&gt;&lt;li&gt;
&lt;b&gt;SetDirty &lt;/b&gt;- resets the &lt;i&gt;IsDirty &lt;/i&gt;flag to 
&amp;#39;false&amp;#39; on successful submit to allow further changes the next time the form is 
opened.
&lt;/li&gt;&lt;li&gt;
&lt;b&gt;IsReadOnly &lt;/b&gt;- checks if the form is currently 
opened by another user and prevents save/submit if so.
&lt;/li&gt;&lt;li&gt;
&lt;b&gt;ClearErrors &lt;/b&gt;- clears&amp;nbsp;validation errors to allow 
users to save the form regardless if the required fields have been completed or 
not. 
&lt;/li&gt;&lt;li&gt;&lt;b&gt;GetErrorCount &lt;/b&gt;- counts the 
number of validation errors in the form; if present, users will not be allowed 
to submit. 
&lt;/li&gt;&lt;li&gt;&lt;b&gt;SetCaption &lt;/b&gt;-&amp;nbsp;sets the&amp;nbsp;form 
title to the form&amp;#39;s name in the SharePoint library. 
&lt;/li&gt;&lt;li&gt;&lt;b&gt;SetSave &lt;/b&gt;- prevents &lt;i&gt;File 
&amp;gt; Save &lt;/i&gt;to the SharePoint library. 
&lt;/li&gt;&lt;li&gt;
&lt;b&gt;Bonus:&lt;/b&gt;
&lt;ul&gt;&lt;li&gt;
Checks if a newer version exists on the server.
&lt;/li&gt;&lt;li&gt;
Detects the form status (Saved/Submitted),&amp;nbsp;version and DocID 
which are all displayed on the form&amp;#39;s footer.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;Click &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry62684.aspx"&gt;here&lt;/a&gt; to download the sample form.&lt;br /&gt;&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=62685" width="1" height="1"&gt;</content><author><name>Mel.Balsamo</name><uri>http://www.infopathdev.com/members/Mel.Balsamo.aspx</uri></author><category term="qRules" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/qRules/default.aspx" /></entry><entry><title>Free Training: Using InfoPath Workflow</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/12/12/free-training-using-infopath-workflow.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/12/12/free-training-using-infopath-workflow.aspx</id><published>2010-12-12T06:18:00Z</published><updated>2010-12-12T06:18:00Z</updated><content type="html">&lt;p&gt;You may be familiar with SharePoint
workflow, but have you added workflow to an InfoPath template? InfoPath
workflow is easier to use because it&amp;#39;s handled in InfoPath instead of requiring
the user to complete certain actions in SharePoint. &lt;/p&gt;

&lt;p&gt;Users can easily see the state of the form
and you can add custom conditional viewing to switch views based on the user
role (e.g. a private &lt;i&gt;Comments&lt;/i&gt; section
in a Manager&amp;#39;s view).&lt;/p&gt;

&lt;p&gt;During this lab, you will modify a
&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/SampleTimesheet.xsn" title="Download Starter Template"&gt;Timesheet form template&lt;/a&gt; to pull user information from Active Directory, submit
to SharePoint, and pass the SharePoint link in the notification email.&lt;/p&gt;

&lt;h3&gt;Retrieving the Users&amp;#39; Active Directory Information&lt;/h3&gt;

&lt;p&gt;If you go to &lt;i&gt;Data &amp;gt; Data Connections&lt;/i&gt;, you&amp;#39;ll see the pre-configured data
connections that use Qdabra DBXL&amp;#39;s Active Directory Web Service methods to
retrieve the users&amp;#39; information.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure01.png" width="205" height="66" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;And if you go to &lt;i&gt;Data &amp;gt; Form Load&lt;/i&gt;, you will see a rule that populates the user
info:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure02.png" width="362" height="357" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;We&amp;#39;re basically setting the fields in our
form to the values retrieved from the Active Directory web service methods and
using filters to specify which &lt;i&gt;Key &lt;/i&gt;to
use.&lt;/p&gt;

&lt;h3&gt;Add the Submit Data Connections&lt;/h3&gt;

&lt;p&gt;Start by modifying the starter template to
add data connections that submit the form to SharePoint and through email.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Open the Starter Template XSN
(included in this lab) in InfoPath Designer.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Save the template on your local
machine by going to &lt;b&gt;File &amp;gt; Save As &lt;/b&gt;and
saving it with the name &lt;i&gt;Timesheet.xsn&lt;/i&gt;&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add the data connection to
submit to your SharePoint library.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Go to &lt;b&gt;Data&lt;/b&gt; &amp;gt; &lt;b&gt;Data Connections&lt;/b&gt;
&amp;gt; &lt;b&gt;Add &amp;gt; Create a new connection to
submit data &amp;gt; To a document library on a SharePoint site&lt;/b&gt;&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Enter the name of your document
library, such as &lt;a href="http://training.qdabra.com/personal/%3c%3cusername%3e%3e/default.aspx"&gt;http://training.qdabra.com/personal/&amp;lt;&amp;lt;username&amp;gt;&amp;gt;/&lt;/a&gt;&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;c.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the File Name, click on the
&lt;b&gt;&lt;i&gt;fx&lt;/i&gt;&lt;/b&gt;
button and insert the formula:&lt;b&gt; &lt;br /&gt;&lt;/b&gt;&lt;/p&gt;
&lt;div style="margin-left:120px;"&gt;&lt;b&gt;
concat(tc:week/tc:weekOf, &amp;quot; - &amp;quot;, tc:employee/tc:name/tc:singleName)&lt;/b&gt;&lt;/div&gt;

&lt;p style="margin-left:80px;"&gt;If you click on the &lt;i&gt;Verify
Formula button&lt;/i&gt;, you should see the following:&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:80px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure03.png" width="183" border="0" height="56" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:80px;"&gt;d.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK &lt;/b&gt;in the &lt;i&gt;Insert Formula &lt;/i&gt;dialog.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;e.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Check the box ‘Allow overwrite
if the file exists&amp;#39;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;f.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Next&lt;/b&gt;, leave the default data connection name, and then click &lt;b&gt;Finish&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add an email submit data
connection.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;
In the &lt;i&gt;Data Connections &lt;/i&gt;dialog, click &lt;b&gt;Add
&amp;gt; Create a new connection to submit data &amp;gt; As an email message&lt;/b&gt;&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click on the &lt;b&gt;&lt;i&gt;fx &lt;/i&gt;&lt;/b&gt;button
next to the &lt;i&gt;To &lt;/i&gt;field and select the &lt;b&gt;emailto &lt;/b&gt;field which you&amp;#39;ll find under
the &lt;i&gt;my:actions &lt;/i&gt;group in the main data
source.&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:80px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure04.png" width="162" border="0" height="272" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;


&lt;p style="margin-left:80px;"&gt;c.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click on the &lt;b&gt;&lt;i&gt;fx &lt;/i&gt;&lt;/b&gt;button
next to the &lt;i&gt;Subject &lt;/i&gt;field and enter
the formula:&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;&lt;b&gt;concat(&amp;quot;Time
Card: &amp;quot;, tc:week/tc:weekOf, &amp;quot; - &amp;quot;,
tc:employee/tc:name/tc:singleName, &amp;quot; has been &amp;quot;,
my:actions/my:status, &amp;quot; by &amp;quot;, my:actions/my:modifiedby,
&amp;quot;.&amp;quot;)&lt;/b&gt;&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;If you click on the &lt;i&gt;Verify
Formula &lt;/i&gt;button, you should see the following:&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:80px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure05.png" width="468" border="0" height="58" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:80px;"&gt;d.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK &lt;/b&gt;in the &lt;i&gt;Insert Formula &lt;/i&gt;dialog
and then click &lt;b&gt;Next&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;e.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Make sure that the option ‘Send
only the active view of the form and no attachment&amp;#39;&lt;b&gt; &lt;/b&gt;is selected.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;f.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Next&lt;/b&gt;, leave the default data connection name, and then click &lt;b&gt;Finish&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Close &lt;/b&gt;to exit out of the &lt;i&gt;Data
Connections &lt;/i&gt;wizard.&lt;/p&gt;

&lt;h3&gt;Add the Rules that Trigger the workFlow&lt;/h3&gt;

&lt;p&gt;In the &lt;i&gt;Employee&lt;/i&gt;
(default) view, you&amp;#39;ll see a &lt;i&gt;Submit&lt;/i&gt;
button. This button will have rules that will set the form fields&amp;#39; values that
are being used in the workflow, such as who modified the form, whom is it
assigned to after the form submits, which email address should it be sent to,
etc. Same goes for the &lt;i&gt;Approve&lt;/i&gt; and
the &lt;i&gt;Reject&lt;/i&gt; buttons which you&amp;#39;ll find
in the Manager view - they have rules that trigger the workflow.&lt;/p&gt;

&lt;p&gt;Since the form also has a Form History
section for tracking purposes, you may find other rules that set the history
data. These have already been added in the form so we can concentrate on implementing
the logic that is associated with the workflow.&lt;/p&gt;

&lt;b style="font-style:italic;"&gt;Start by modifying the &lt;span style="text-decoration:underline;"&gt;Submit&lt;/span&gt; button:&lt;/b&gt;

&lt;p style="margin-left:40px;"&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
In the &lt;i&gt;Employee &lt;/i&gt;view, click on the &lt;i&gt;Submit
&lt;/i&gt;button.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;7.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
From the &lt;span style="font-style:italic;"&gt;Home tab &amp;gt; Rules&lt;/span&gt;
section, click &lt;span style="font-weight:bold;"&gt;Manage Rules&lt;/span&gt; to display the &lt;span style="font-style:italic;"&gt;Rules &lt;/span&gt;taskpane.&lt;/p&gt;

&lt;blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure06.png" width="589" border="0" height="82" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;

&lt;blockquote&gt;&lt;p&gt;You will see the
following pre-configured rules:&lt;/p&gt;&lt;/blockquote&gt;

&lt;blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure07.png" width="236" border="0" height="195" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;8.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add a rule that sets the
metadata&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;
In the &lt;i&gt;Rules &lt;/i&gt;taskpane, click &lt;b&gt;New
&amp;gt; Action&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Name your rule ‘Set Metadata&amp;#39;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;c.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Move the rule up so that it&amp;#39;s
the third in the set, i.e. after the rule ‘Warn: Need Hours&amp;#39;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;d.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Set the &lt;u&gt;modifiedby&lt;/u&gt;
field:&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;i.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Add &amp;gt; Set a field&amp;#39;s value&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;ii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the field, select &lt;b&gt;modifiedby &lt;/b&gt;under the &lt;i&gt;my:actions &lt;/i&gt;group: &lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:120px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure08.png" width="154" border="0" height="259" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:120px;"&gt;iii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the value, click on the &lt;b&gt;&lt;i&gt;fx &lt;/i&gt;&lt;/b&gt;button
and select &lt;b&gt;singlename &lt;/b&gt;under &lt;i&gt;employee &amp;gt; name&lt;/i&gt;&lt;/p&gt;

&lt;blockquote&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure09.png" width="182" border="0" height="225" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:120px;"&gt;You can also
just enter the following XPath in the &lt;i&gt;Insert
Formula &lt;/i&gt;dialog: &lt;b&gt;tc:employee/tc:name/tc:singleName&lt;/b&gt;&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iv.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK &lt;/b&gt;to close the dialogs.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;e.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Set the &lt;u&gt;assignedto&lt;/u&gt;
field:&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;i.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Add &amp;gt; Set a field&amp;#39;s value&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;ii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the field, select &lt;b&gt;assignedto&lt;/b&gt; under the &lt;i&gt;my:actions &lt;/i&gt;group.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the value, click on the &lt;b&gt;&lt;i&gt;fx &lt;/i&gt;&lt;/b&gt;button
and select &lt;b&gt;singlename &lt;/b&gt;under &lt;i&gt;employee &amp;gt; name.&lt;/i&gt;&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iv.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK &lt;/b&gt;to close the dialogs.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;f.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Set the &lt;u&gt;emailto&lt;/u&gt; field:&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;i.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Add &amp;gt; Set a field&amp;#39;s value&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;ii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the field, select &lt;b&gt;emailto&lt;/b&gt; under the &lt;i&gt;my:actions &lt;/i&gt;group.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the value, click on the &lt;b&gt;&lt;i&gt;fx &lt;/i&gt;&lt;/b&gt;button
and select &lt;b&gt;emailAddressPrimary &lt;/b&gt;under
&lt;i&gt;company &amp;gt; contact&lt;/i&gt;. You can also
just enter the following XPath in the &lt;i&gt;Insert
Formula &lt;/i&gt;dialog: &lt;b&gt;tc:company/tc:contact/tc:emailAddressPrimary&lt;/b&gt;&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iv.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK &lt;/b&gt;to close the dialogs.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;g.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Set the &lt;u&gt;status&lt;/u&gt; field:&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;i.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Add &amp;gt; Set a field&amp;#39;s value&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;ii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the field, select &lt;b&gt;status&lt;/b&gt; under the &lt;i&gt;my:actions &lt;/i&gt;group.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the value, enter the text &lt;i&gt;Submitted&lt;/i&gt;&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iv.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;h.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Set the &lt;u&gt;notes&lt;/u&gt; field:&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;i.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Add &amp;gt; Set a field&amp;#39;s value&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;ii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the field, select &lt;b&gt;notes&lt;/b&gt; under the &lt;i&gt;my:actions &lt;/i&gt;group.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the value, enter the text &lt;i&gt;Submitted to Manager&lt;/i&gt;&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iv.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;You should now
have the following &lt;i&gt;Submit &lt;/i&gt;button
rules that set the metadata:&lt;/p&gt;&lt;/blockquote&gt;

&lt;blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure10.png" width="319" border="0" height="292" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;9.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add a rule that submits the
form:&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;New &amp;gt; Action&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Name your rule ‘Submit&amp;#39; - this
will be the last rule in the set.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;c.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Submit to SharePoint:&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;i.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Add &amp;gt; Submit data&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;ii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Select your SharePoint Library submit
data connection from the drop-down:&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:120px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure11.png" width="380" border="0" height="105" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:120px;"&gt;iii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;d.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Set the &lt;u&gt;done&lt;/u&gt; field:&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;i.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Add &amp;gt; Set a field&amp;#39;s value&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;ii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the field, select &lt;b&gt;done&lt;/b&gt; under the &lt;i&gt;my:actions &lt;/i&gt;group.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
For the value, enter 1&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iv.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;Notice the
conditional formatting in the &lt;i&gt;Submit &lt;/i&gt;button:&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure12.png" width="208" border="0" height="273" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;This means that
we want the &lt;i&gt;Submit &lt;/i&gt;button to be
disabled if the value of the &lt;u&gt;done&lt;/u&gt; field equals &amp;quot;1&amp;quot; which we set after
the form submits to SharePoint. This will prevent users from clicking on the &lt;i&gt;Submit &lt;/i&gt;button twice which may result to
double-submits.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;e.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Submit via email:&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;i.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Add &amp;gt; Submit data&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;ii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Select your email submit data
connection from the drop-down.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;f.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Close the form:&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;i.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Add &amp;gt; Close the form&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;ii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Uncheck the box ‘If changes
have not been saved, prompt the user to save.&lt;/p&gt;

&lt;p style="margin-left:120px;"&gt;iii.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;You should now
have the following &lt;i&gt;Submit &lt;/i&gt;button
rules that submit the form:&lt;/p&gt;&lt;/blockquote&gt;

&lt;blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure13.png" width="337" border="0" height="268" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;

&lt;span style="font-weight:bold;font-style:italic;"&gt;Next, we will add rules in the &lt;/span&gt;&lt;i style="font-weight:bold;font-style:italic;text-decoration:underline;"&gt;Approve&lt;/i&gt;&lt;i style="font-weight:bold;font-style:italic;"&gt; &lt;/i&gt;&lt;span style="font-weight:bold;font-style:italic;"&gt;button:
&lt;/span&gt;
&lt;p style="margin-left:40px;"&gt;10.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Go to the &lt;i&gt;Page Design &lt;/i&gt;tab and switch to the &lt;b&gt;Manager &lt;/b&gt;view.&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure14.png" width="271" border="0" height="113" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;11.&amp;nbsp;&amp;nbsp;&amp;nbsp;
In the &lt;i&gt;Manager &lt;/i&gt;view, click on the &lt;i&gt;Approve
&lt;/i&gt;button. You will see the following pre-configured rules:&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure15.png" width="244" border="0" height="173" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;


&lt;p style="margin-left:40px;"&gt;12.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add a rule that sets the
metadata.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;
In the &lt;i&gt;Rules &lt;/i&gt;taskpane, click &lt;b&gt;New
&amp;gt; Action&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Name your rule ‘Set Metadata&amp;#39;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;c.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Move the rule up so that it&amp;#39;s
the second in the set, i.e. after the rule ‘Warn: Need Notes&amp;#39;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;d.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add the following actions:&lt;/p&gt;

&lt;blockquote&gt;&lt;blockquote&gt;&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure16.png" width="253" border="0" height="247" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;13.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add a rule that submits the
form:&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;New &amp;gt; Action&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Name your rule ‘Submit&amp;#39; - this
will be the last rule in the set.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;c.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add the following actions:&lt;/p&gt;

&lt;blockquote&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure17.png" width="333" border="0" height="243" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;

&lt;span style="font-weight:bold;font-style:italic;"&gt;Finally, we&amp;#39;ll add rules for the &lt;/span&gt;&lt;i style="font-weight:bold;font-style:italic;"&gt;&lt;span style="text-decoration:underline;"&gt;Reject&lt;/span&gt; &lt;/i&gt;&lt;span style="font-weight:bold;font-style:italic;"&gt;button:
&lt;/span&gt;
&lt;p style="margin-left:40px;"&gt;14.&amp;nbsp;&amp;nbsp;&amp;nbsp;
In the &lt;i&gt;Manager &lt;/i&gt;view, click on the &lt;i&gt;Reject
&lt;/i&gt;button.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;15.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add the same ‘Set Metadata&amp;#39;
rule that runs after the ‘Warn:Need Notes&amp;#39; rule.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;16.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add the following actions:&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure18.png" width="336" border="0" height="266" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;17.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add a &lt;i&gt;Submit &lt;/i&gt;rule which is the last in the set, and then add the
following actions:&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure19.png" width="337" border="0" height="268" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;18.
Save your changes to your XSN.&lt;/p&gt;

&lt;h3&gt;Create the Form Link&lt;/h3&gt;

&lt;p&gt;We will add a hyperlink control that links to
the form in SharePoint. The link will be included in the notification email so
that users can click on it to open the form.&lt;/p&gt;

&lt;blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure20.png" width="413" border="0" height="40" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;19.&amp;nbsp;&amp;nbsp;&amp;nbsp;
In the &lt;i&gt;Manager
&lt;/i&gt;view, you&amp;#39;ll see a small section at the bottom. Place your cursor below the
label ‘Click here to open this time card:&amp;#39;&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure21.png" width="566" border="0" height="173" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;20.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Go to the &lt;i&gt;Insert
&lt;/i&gt;tab and click &lt;b&gt;Hyperlink&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;21.&amp;nbsp;&amp;nbsp;&amp;nbsp;
In the &lt;i&gt;Insert
Hyperlink &lt;/i&gt;dialog, change the &lt;i&gt;Link to&lt;/i&gt;&lt;b&gt; &lt;/b&gt;and the &lt;i&gt;Display&lt;/i&gt;&lt;b&gt; &lt;/b&gt;options to &lt;b&gt;Data Source&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;22.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Insert the formula:&lt;br /&gt;
&lt;/p&gt;
&lt;div style="margin-left:80px;"&gt;&lt;b&gt;concat(substring-before(substring-after(/processing-instruction()[local-name()
= &amp;quot;mso-infoPathSolution&amp;quot;], &amp;#39;href=&amp;quot;&amp;#39;), &amp;quot;/Forms/&amp;quot;),
&amp;quot;/&amp;quot;, tc:week/tc:weekOf, &amp;quot; - &amp;quot;,
tc:employee/tc:name/tc:singleName, &amp;quot;.xml&amp;quot;)&lt;/b&gt;&lt;/div&gt;

&lt;blockquote&gt;&lt;blockquote&gt;&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure22.png" width="326" border="0" height="198" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;The formula is a concatenation of the form
location in SharePoint, e.g. &lt;i&gt;http://&amp;lt;YourSharePointSite&amp;gt;/&amp;lt;YourSharePointLibrary&amp;gt;/&amp;lt;FormFileName.xml&lt;/i&gt;&lt;i&gt;&amp;gt;&lt;/i&gt;&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;Recall that we&amp;#39;ve
set the form file name to this formula on SharePoint submit:&lt;/p&gt;

&lt;blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure23.png" width="183" border="0" height="56" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;

&lt;h3&gt;Publish the Template to your SharePoint Library&lt;/h3&gt;

&lt;p&gt;In order to access the form template and submit
forms, you need to publish it to a location where users can access it from,
such as a SharePoint form library.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;23.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Go to &lt;b&gt;File &amp;gt; Publish&lt;/b&gt; and then select &lt;b&gt;SharePoint Server&lt;/b&gt;.&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure24.png" width="421" border="0" height="104" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;24.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Enter the URL to your
SharePoint site.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;25.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Leave the default to &lt;b&gt;Form Library &lt;/b&gt;and then click &lt;b&gt;Next&lt;/b&gt;.&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure25.png" width="349" border="0" height="178" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;26.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Select ‘Update existing form
library&amp;#39; and select the SharePoint library you created earlier - that is, where
you&amp;#39;ve set your forms to submit to.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;27.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click click &lt;b&gt;Next&lt;/b&gt; twice, click &lt;b&gt;Publish&lt;/b&gt;, and then click &lt;b&gt;Close&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;Test by submitting a new &lt;i&gt;Timesheet &lt;/i&gt;form assigning it to your
manager. Your manager will receive the form via email and will see a link where
to access the form.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure26.png" width="418" border="0" height="161" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;


&lt;p&gt;The manager will then open the form via the
link and will decide whether to approve or reject. Approving goes to HR and
rejecting goes back to the original submitter.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/ipworkflow/images/Figure27.png" width="559" border="0" height="164" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;


&lt;p&gt;&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=62215" width="1" height="1"&gt;</content><author><name>Mel.Balsamo</name><uri>http://www.infopathdev.com/members/Mel.Balsamo.aspx</uri></author></entry><entry><title>Free Training: Data-Driven Design - Using XML Files to Configure Other Forms (Lab 2)</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/12/12/free-training-data-driven-design-using-xml-files-to-configure-other-forms-lab-2.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/12/12/free-training-data-driven-design-using-xml-files-to-configure-other-forms-lab-2.aspx</id><published>2010-12-12T05:50:00Z</published><updated>2010-12-12T05:50:00Z</updated><content type="html">&lt;p&gt;In this lab, your
business process has evolved and you have many more questions and answers. You
decide using a configuration form is more efficient so you&amp;#39;ll modify your Quiz
Form from &lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/12/12/free-training-data-driven-design-using-default-data-lab-1.aspx" title="Data-Driven Design - Lab 1"&gt;Lab 1&lt;/a&gt;. In real life, you could also create a form that pulls from a configuration
form without going through the steps in Lab 1.&lt;/p&gt;

&lt;h3&gt;Create a Form out of your Template&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Open your Quiz Form template in
InfoPath Designer.&lt;/p&gt;

&lt;p&gt;To make sure you are not overwriting your template for
Lab 1, change the title and save it with a different name.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab2/images/Figure01.png" width="589" height="78" alt="" /&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Preview your form template, go
to&lt;i&gt; File &amp;gt; Save As&lt;/i&gt; and save it as &lt;b&gt;Config.xml&lt;/b&gt;.
This will save the schema as well as the default data in an XML format.&lt;/p&gt;

&lt;p&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Close Preview.&lt;/p&gt;
&lt;/blockquote&gt;



&lt;h3&gt;Add a Data Connection to the XML File&lt;/h3&gt;

&lt;p&gt;We are going to add our new
configuration XML as a resource to our template.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Go to the &lt;i&gt;Data &lt;/i&gt;tab &amp;gt; &lt;i&gt;Data
Connections&lt;/i&gt;, and then click&lt;b&gt; Add&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add a data connection that &lt;u&gt;receives
data&lt;/u&gt; from an &lt;u&gt;XML document&lt;/u&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab2/images/Figure02.png" width="548" height="104" alt="" /&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Browse to the Config.xml file
saved earlier.&lt;/p&gt;

&lt;p&gt;7.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;Next &lt;/b&gt;twice leaving the default selections, click &lt;b&gt;Finish&lt;/b&gt; and then click &lt;b&gt;Close&lt;/b&gt;.&lt;/p&gt;
&lt;/blockquote&gt;



&lt;h3&gt;Change the Drop-Down to get Choices from the Secondary
Data Source&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;8.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Modify the data source for the &lt;i&gt;SelectedModule&lt;/i&gt; drop-down list box to use
the default Modules in the new Config data source:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;&amp;nbsp; Right-click on the &lt;i&gt;SelectedModule&lt;/i&gt; drop-down and select &lt;b&gt;Drop-Down List Box Properties&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;b.&amp;nbsp;&amp;nbsp; Change List box choices to &lt;i&gt;Get choices from an external data source&lt;/i&gt;.
The &lt;u&gt;Data source&lt;/u&gt; will default to the &lt;b&gt;Config&lt;/b&gt;
data connection you created earlier:&lt;/p&gt;

&lt;p&gt;c.&amp;nbsp;&amp;nbsp; Click on the icon next to &lt;i&gt;Entries, &lt;/i&gt;select the &lt;b&gt;Module&lt;/b&gt; repeating group under &lt;i&gt;Modules&lt;/i&gt;
and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;d.&amp;nbsp;&amp;nbsp; Leave &lt;i&gt;Value&lt;/i&gt; set to &lt;b&gt;my:ModuleNo&lt;/b&gt;,
but change &lt;i&gt;Display name&lt;/i&gt; to &lt;b&gt;my:ModuleName&lt;/b&gt;, and then click&lt;b&gt; OK&lt;/b&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab2/images/Figure03.png" width="339" height="135" alt="" /&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;



&lt;h3&gt;Use InfoPath Functions to Get Row Numbers&lt;/h3&gt;

&lt;p&gt;In this section, we will use the built-in
InfoPath functions &lt;u&gt;count&lt;/u&gt; and &lt;u&gt;preceding-sibling &lt;/u&gt;to create row
counts for the &lt;i&gt;Module &lt;/i&gt;and the &lt;i&gt;Question &lt;/i&gt;repeating groups. We will use these
row counts as default values to the &lt;i&gt;ModuleNo&lt;/i&gt;
and the &lt;i&gt;QuestionNo&lt;/i&gt; fields. We will
then use a formula to auto-increment the fields as we add new rows to the
repeating groups.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;9.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Set the default value of the &lt;i&gt;ModuleNo &lt;/i&gt;field.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;&amp;nbsp; In the &lt;i&gt;Fields &lt;/i&gt;taskpane, double-click on the &lt;b&gt;ModuleNo &lt;/b&gt;field to display its properties.&lt;/p&gt;

&lt;p&gt;b.&amp;nbsp;&amp;nbsp; Under &lt;i&gt;Default Value&lt;/i&gt;, click on the &lt;b&gt;&lt;i&gt;fx &lt;/i&gt;&lt;/b&gt;button next to the &lt;i&gt;Value &lt;/i&gt;box.&lt;/p&gt;

&lt;p&gt;c.&amp;nbsp;&amp;nbsp; Enter the formula: &lt;b&gt;count(../preceding-sibling::my:Module) + 1&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;d.&amp;nbsp;&amp;nbsp; Click &lt;b&gt;Verify Formula &lt;/b&gt;and you&amp;#39;ll see this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab2/images/Figure04.png" width="193" height="53" alt="" /&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;e.&amp;nbsp;&amp;nbsp; Click &lt;b&gt;OK &lt;/b&gt;twice.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;10.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Set the default value of the &lt;i&gt;QuestionNo &lt;/i&gt;field.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;&amp;nbsp; In the &lt;i&gt;Fields &lt;/i&gt;taskpane, double-click on the &lt;b&gt;QuestionNo &lt;/b&gt;field to display its properties.&lt;/p&gt;

&lt;p&gt;b.&amp;nbsp;&amp;nbsp; Under &lt;i&gt;Default Value&lt;/i&gt;, click on the &lt;b&gt;&lt;i&gt;fx &lt;/i&gt;&lt;/b&gt;button next to the &lt;i&gt;Value &lt;/i&gt;box.&lt;/p&gt;

&lt;p&gt;c.&amp;nbsp;&amp;nbsp; Enter the formula: &lt;b&gt;count(../preceding-sibling::my:Question) +
1&lt;/b&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;






&lt;h3&gt;Change the Default Values to Pull Data from the
Secondary Data Source&lt;/h3&gt;

&lt;p&gt;In the &lt;i&gt;Fields &lt;/i&gt;taskpane,
if you double-click on the &lt;i&gt;ModuleName &lt;/i&gt;field
of the main data source to see its properties, you will see the the default value you&amp;#39;ve manually added from Lab 1. We
will change this value to pull from the configuration file instead.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;11.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click on the &lt;b&gt;&lt;i&gt;fx &lt;/i&gt;&lt;/b&gt;button
and then click &lt;b&gt;Insert Field or Group...&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;12.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Switch to the &lt;i&gt;Config (Secondary)&lt;/i&gt;&lt;b&gt; &lt;/b&gt;data source and follow the series of steps shown in the image
below to select and filter the &lt;b&gt;ModuleName
&lt;/b&gt;field.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab2/images/Figure05.png" width="647" height="734" alt="" /&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;13.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK &lt;/b&gt;four times.&lt;/p&gt;
&lt;/blockquote&gt;



&lt;blockquote&gt;
&lt;p&gt;If you check the &lt;i&gt;Edit XPath (advanced) &lt;/i&gt;box, you&amp;#39;ll see the XPath &lt;b&gt;xdXDocument:GetDOM(&amp;quot;Config&amp;quot;)/my:QuizForm/my:Modules/my:Module/my:ModuleName[../my:ModuleNo
= current()/../my:ModuleNo]&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;This means that the control will show
the value of the Config &lt;i&gt;ModuleName &lt;/i&gt;field&amp;nbsp; filtered so that the Config &lt;i&gt;ModuleNo &lt;/i&gt;is the same as the main &lt;i&gt;ModuleNo &lt;/i&gt;which is being set by the
incrementing Module row count we&amp;#39;ve set earlier. Everything inside the square
braces ( &lt;b&gt;[ ] &lt;/b&gt;) is an XPath filter.
Basically, we are telling InfoPath we&amp;#39;d like the &lt;i&gt;ModuleName&lt;/i&gt; from the Config and then providing further information
to make sure the correct module name is selected. &lt;/p&gt;
&lt;/blockquote&gt;


&lt;blockquote&gt;
&lt;p&gt;14.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK &lt;/b&gt;twice to close the dialogs.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Next, we will change the question
texts&amp;#39; default values to pull from the configuration file using the same
technique.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;15.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Double-click on the &lt;i&gt;QuestionText &lt;/i&gt;field of the main data source to see its properties,
you will see the the default value you&amp;#39;ve
manually added from Lab 1.&lt;/p&gt;

&lt;p&gt;16.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click on the &lt;b&gt;&lt;i&gt;fx &lt;/i&gt;&lt;/b&gt;button
and change it to point to the secondary data source:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;&amp;nbsp; Click &lt;b&gt;Insert Field or Group...&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;b.&amp;nbsp;&amp;nbsp; Switch to the &lt;i&gt;Config (Secondary)&lt;/i&gt;&lt;b&gt; &lt;/b&gt;data source and select &lt;i&gt;QuestionText.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;c.&amp;nbsp;&amp;nbsp; Click &lt;b&gt;Filter Data... &amp;gt; Add&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;d.&amp;nbsp;&amp;nbsp; Select &lt;b&gt;QuestionNo&lt;/b&gt; in the first drop-down.&lt;/p&gt;

&lt;p&gt;e.&amp;nbsp;&amp;nbsp; Choose &lt;b&gt;Select a field or group... &lt;/b&gt;in the third drop-down.&lt;/p&gt;

&lt;p&gt;f.&amp;nbsp;&amp;nbsp; Switch to the &lt;i&gt;Main &lt;/i&gt;data source and select &lt;b&gt;QuestionNo&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;g.&amp;nbsp;&amp;nbsp; Click &lt;b&gt;OK &lt;/b&gt;once.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;17.&amp;nbsp;&amp;nbsp;&amp;nbsp;
We will add another filter
condition in order to get only the question set for the corresponding module.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;&amp;nbsp; Back in the &lt;i&gt;Specify Filter Conditions &lt;/i&gt;dialog, click
on the button labeled &lt;b&gt;And&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;b.&amp;nbsp;&amp;nbsp; Choose &lt;b&gt;Select a field or group... &lt;/b&gt;in the first drop-down.&lt;/p&gt;

&lt;p&gt;c.&amp;nbsp;&amp;nbsp; Select the &lt;b&gt;ModuleNo&lt;/b&gt; field from the &lt;i&gt;Config
&lt;/i&gt;data source and click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;d.&amp;nbsp;&amp;nbsp; Choose &lt;b&gt;Select a field or group... &lt;/b&gt;in the third drop-down.&lt;/p&gt;

&lt;p&gt;e.&amp;nbsp;&amp;nbsp; Switch to the &lt;i&gt;Main &lt;/i&gt;data source and select &lt;b&gt;ModuleNo&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;f.&amp;nbsp;&amp;nbsp; Click &lt;b&gt;OK &lt;/b&gt;four times and then check the &lt;i&gt;Edit XPath (advanced) &lt;/i&gt;box to see the formula&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;









&lt;blockquote&gt;
&lt;p&gt;The formula used is: &lt;b&gt;xdXDocument:GetDOM(&amp;quot;Config&amp;quot;)/my:QuizForm/my:Modules/my:Module/my:Question/my:QuestionText[../my:QuestionNo
= current()/../my:QuestionNo and ../../my:ModuleNo =
current()/../../my:ModuleNo]&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Here again, we are telling InfoPath
we&amp;#39;d like the &lt;i&gt;QuestionText&lt;/i&gt; from the
Config and then added filters to make sure the correct question for the
corresponding module is selected.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;Add More Default Rows&lt;/h3&gt;

&lt;p&gt;At this point, you would want to add
a couple more default rows for your repeating groups so that you&amp;#39;ll have
placeholders for new items that are added via the &lt;i&gt;Config.xml&lt;/i&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;18.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Go to the &lt;i&gt;Data &lt;/i&gt;tab &amp;gt; &lt;i&gt;Default Values&lt;/i&gt;.&lt;/p&gt;

&lt;p&gt;19.&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;Expand &lt;i&gt;Modules
&amp;gt; &lt;/i&gt;&amp;nbsp;&lt;i&gt;Module &lt;/i&gt;(last repeating group), and then select the last &lt;b&gt;Question &lt;/b&gt;repeating node.&lt;/p&gt;

&lt;p&gt;20.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click on the down-arrow key
next to node, and then select &lt;b&gt;Add
another Question below&lt;/b&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab2/images/Figure06.png" width="285" height="259" alt="" /&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;21.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Keep adding until you have
about 10 repeating &lt;i&gt;Question &lt;/i&gt;nodes.
Note that if you ever exceed this, i.e. you modify &lt;i&gt;Config.xml&lt;/i&gt; to add more than 10 questions for a module - you will
need to do this step again and add placeholders.&lt;/p&gt;

&lt;p&gt;22.&amp;nbsp;&amp;nbsp;&amp;nbsp;
When done, select the last &lt;b&gt;Module &lt;/b&gt;repeating node and also add more
until you have about 5.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab2/images/Figure07.png" width="285" height="195" alt="" /&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;23.&amp;nbsp;&amp;nbsp;&amp;nbsp;
Click &lt;b&gt;OK&lt;/b&gt; when done.&lt;/p&gt;
&lt;/blockquote&gt;




When
you preview your form template, you will see almost no difference to the
template you&amp;#39;ve created for Lab 1 - only now, we are not using default data;
instead, our data is retrieved from a secondary XML data source.&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=62213" width="1" height="1"&gt;</content><author><name>Mel.Balsamo</name><uri>http://www.infopathdev.com/members/Mel.Balsamo.aspx</uri></author></entry><entry><title>Free Training: Data-Driven Design - Using Default Data (Lab 1)</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/12/12/free-training-data-driven-design-using-default-data-lab-1.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/12/12/free-training-data-driven-design-using-default-data-lab-1.aspx</id><published>2010-12-12T02:29:00Z</published><updated>2010-12-12T02:29:00Z</updated><content type="html">&lt;p&gt;In this lab, you will be provided with a &lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab1/InfoPath%20Master%20Class%20-%20Quiz%20Form%20%28Default%20Data%29%20-%20Starter%20Template.xsn" title="Download Starter Template"&gt;starter form template&lt;/a&gt; that has a simple pre-designed layout, the schema, and an email submit data connection so that you won&amp;#39;t have to create them from a blank template.&lt;/p&gt;

&lt;p&gt;Take time to familiarize yourself with the form schema by looking at the fields in the main data source as well as how the controls are laid out on the design canvas.&lt;/p&gt;
&lt;h3&gt;Add Default Values to the List of Modules&lt;/h3&gt;
&lt;p&gt;Notice the Module dropdown - this lists all the modules with default values which we will configure in this lab. If you right-click on the &lt;b&gt;SelectedModule&lt;/b&gt; dropdown list box (under the heading &lt;b&gt;Select a Module&lt;/b&gt;) and select to show its properties, you will see that it gets choices from the &lt;i&gt;Module&lt;/i&gt; repeating group - from within the main data source.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab1/images/Figure01.png" alt="" width="336" height="219" /&gt;&lt;/p&gt;

&lt;p&gt;In order to provide options for this dropdown, we need to add default values for the &lt;b&gt;ModuleNo and ModuleName&lt;/b&gt; fields.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Go to the &lt;i&gt;Data &lt;/i&gt;tab &amp;gt; &lt;i&gt;Default Values&lt;/i&gt;.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab1/images/Figure02.png" alt="" width="322" height="113" /&gt;&lt;/p&gt;

&lt;p&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expand &lt;i&gt;Modules &amp;gt; Module &lt;/i&gt;(first repeating group)&lt;i&gt;,&lt;/i&gt; select &lt;b&gt;ModuleNo &lt;/b&gt;and then enter the default value: 1.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab1/images/Figure03.png" alt="" width="299" height="330" /&gt;&lt;/p&gt;

&lt;p&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select &lt;b&gt;ModuleName&lt;/b&gt; and then enter the default value: &lt;span style="text-decoration:underline;"&gt;Module 1 - Getting Started&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For the second &lt;i&gt;Module &lt;/i&gt;repeating group, add the following default values:&lt;/p&gt;

&lt;ul style="margin-left:40px;"&gt;
&lt;li&gt;ModuleNo: 2&lt;/li&gt;

&lt;li&gt;ModuleName: Module 2 - Schemas&lt;/li&gt;
&lt;/ul&gt;

&lt;/blockquote&gt;
&lt;p&gt;You may also add default nodes manually. For this lab, we will add a third &lt;i&gt;Module.&lt;/i&gt;&lt;/p&gt;
&lt;blockquote&gt;

&lt;p&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click on the down-arrow key next to the second &lt;i&gt;Module &lt;/i&gt;repeating node, and then select &lt;b&gt;Add another Module below&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab1/images/Figure04.png" alt="" width="270" height="230" /&gt;&lt;/p&gt;

&lt;/blockquote&gt;
&lt;p&gt;This will add another set of Module and Questions with the last-entered values copied over by default.&lt;/p&gt;
&lt;blockquote&gt;

&lt;p&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Replace the default values with the following:&lt;/p&gt;

&lt;ul style="margin-left:40px;"&gt;
&lt;li&gt;ModuleNo: 3&lt;/li&gt;

&lt;li&gt;ModuleName: Module 3 - SharePoint Integration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;7.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click &lt;b&gt;OK &lt;/b&gt;when done.&lt;/p&gt;

&lt;/blockquote&gt;
&lt;p&gt;When you preview your form template, you should see the Module dropdown list box populate with the default values you&amp;#39;ve added:&lt;/p&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab1/images/Figure05.png" alt="" width="589" height="119" /&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
&lt;h3&gt;Add Default Values to the List of Questions&lt;/h3&gt;
&lt;p&gt;We will also ‘hardcode&amp;#39; values for the &lt;i&gt;QuestionNo&lt;/i&gt; and the &lt;i&gt;QuestionText&lt;/i&gt; fields, hence giving them their default values.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;8.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Close Preview and then go back to the &lt;i&gt;Data &lt;/i&gt;tab &amp;gt; &lt;i&gt;Default Values&lt;/i&gt;.&lt;/p&gt;

&lt;p&gt;9.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expand &lt;i&gt;Modules &amp;gt; Module &amp;gt; Question&lt;/i&gt;.&lt;/p&gt;

&lt;p&gt;10.&amp;nbsp;&amp;nbsp;&amp;nbsp; Each module will have a list of three questions. Add the following default values for the &lt;b&gt;QuestionNo&lt;/b&gt; and the &lt;b&gt;QuestionText&lt;/b&gt; for each corresponding module (to save time, copy from this document and paste into the &lt;i&gt;Default Value&lt;/i&gt; box of the respective field).&lt;/p&gt;

&lt;blockquote&gt;
&lt;table class="mceItemTable" style="border-width:0px;" align="center" cellpadding="5"&gt;
&lt;tr&gt;
&lt;td id="" align="center"&gt;&lt;span&gt;&lt;b&gt;ModuleName&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/td&gt;

&lt;td id="" align="center"&gt;&lt;span&gt;&lt;b&gt;QuestionNo&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/td&gt;

&lt;td id="" align="center"&gt;&lt;span&gt;&lt;b&gt;QuestionText&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td id="" align="center"&gt;Module 1&lt;br /&gt;&lt;/td&gt;

&lt;td id="" align="center"&gt;1&lt;br /&gt;&lt;/td&gt;

&lt;td style="text-align:left;" id="" align="center"&gt;Guidance text helps users fill out forms. List three ways to add guidance text to your form.&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td id="" align="center"&gt;&lt;br /&gt;&lt;/td&gt;

&lt;td id="" align="center"&gt;2&lt;br /&gt;&lt;/td&gt;

&lt;td style="text-align:left;" id="" align="center"&gt;InfoPath
 Designer starts with the main data source. When building a form from 
the ground up (blank), why is it important to identify your secondary 
data sources up front?&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td id="" align="center"&gt;&lt;br /&gt;&lt;/td&gt;

&lt;td id="" align="center"&gt;3&lt;br /&gt;&lt;/td&gt;

&lt;td style="text-align:left;" id="" align="center"&gt;How do you uniquely name an email when you submit the form?&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td id="" rowspan="1" colspan="1" align="center"&gt;Module 2&lt;/td&gt;

&lt;td id="" rowspan="1" colspan="1" align="center"&gt;1&lt;br /&gt;&lt;/td&gt;

&lt;td id="" rowspan="1" colspan="1" style="text-align:left;" align="center"&gt;What are the pros/cons of using an XML resource in the XSN vs. XML from a network share?&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td id="" rowspan="1" colspan="1" align="center"&gt;&lt;br /&gt;&lt;/td&gt;

&lt;td id="" rowspan="1" colspan="1" align="center"&gt;2&lt;br /&gt;&lt;/td&gt;

&lt;td id="" rowspan="1" colspan="1" style="text-align:left;" align="center"&gt;How do you change the default value for choice group?&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td id="" rowspan="1" colspan="1" align="center"&gt;&lt;br /&gt;&lt;/td&gt;

&lt;td id="" rowspan="1" colspan="1" align="center"&gt;3&lt;br /&gt;&lt;/td&gt;

&lt;td id="" rowspan="1" colspan="1" style="text-align:left;" align="center"&gt;How do you change default value for choice group?&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td id="" rowspan="1" colspan="1" align="center"&gt;Module 3&lt;/td&gt;

&lt;td id="" rowspan="1" colspan="1" align="center"&gt;1&lt;br /&gt;&lt;/td&gt;

&lt;td id="" rowspan="1" colspan="1" style="text-align:left;" align="center"&gt;What&amp;#39;s the difference between Save and Submit?&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td id="" rowspan="1" colspan="1" align="center"&gt;&lt;br /&gt;&lt;/td&gt;

&lt;td id="" rowspan="1" colspan="1" align="center"&gt;2&lt;br /&gt;&lt;/td&gt;

&lt;td id="" rowspan="1" colspan="1" style="text-align:left;" align="center"&gt;Why does Microsoft promote SharePoint workflows? Why are the benefits?&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td id="" rowspan="1" colspan="1" align="center"&gt;&lt;br /&gt;&lt;/td&gt;

&lt;td id="" rowspan="1" colspan="1" align="center"&gt;3&lt;br /&gt;&lt;/td&gt;

&lt;td id="" rowspan="1" colspan="1" style="text-align:left;" align="center"&gt;List 3 things that browser-based forms can&amp;#39;t do. Why not?&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/blockquote&gt;

&lt;/blockquote&gt;

&lt;p&gt;Let&amp;#39;s also add two more default &lt;i&gt;Question&lt;/i&gt; nodes for &lt;i&gt;Module 3&lt;/i&gt;; but this time, there will be no default values for the questions, i.e. blank - we will conditionally hide blank questions later.&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;11.&amp;nbsp;&amp;nbsp;&amp;nbsp; Click on the down-arrow key next to the last &lt;i&gt;Question &lt;/i&gt;repeating node, and then select &lt;b&gt;Add another Question below&lt;/b&gt; twice.&lt;/p&gt;

&lt;p&gt;12.&amp;nbsp;&amp;nbsp;&amp;nbsp; Delete the copied-over values in the QuestionNo and QuestionText fields for both nodes.&lt;/p&gt;

&lt;p&gt;13.&amp;nbsp;&amp;nbsp;&amp;nbsp; Click &lt;b&gt;OK &lt;/b&gt;when done.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;Conditionally Hide Questions&lt;/h3&gt;
&lt;p&gt;If you preview your form template at this point, you will see &lt;span style="text-decoration:underline;"&gt;all&lt;/span&gt; the default questions you&amp;#39;ve just added. We don&amp;#39;t actually want to show them all. Instead, we&amp;#39;d want to display only those questions corresponding to the selected module.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;14.&amp;nbsp;&amp;nbsp;&amp;nbsp; In the &lt;i&gt;Fields &lt;/i&gt;taskpane, select the &lt;b&gt;Module &lt;/b&gt;repeating node.&lt;/p&gt;

&lt;p&gt;15.&amp;nbsp;&amp;nbsp;&amp;nbsp; From the &lt;i&gt;Home &lt;/i&gt;tab &amp;gt; &lt;i&gt;Rules &lt;/i&gt;section, click &lt;b&gt;Manage Rules&lt;/b&gt; to display the &lt;i&gt;Rules &lt;/i&gt;taskpane.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab1/images/Figure06.png" alt="" width="589" height="82" /&gt;&lt;/p&gt;

&lt;p&gt;16.&amp;nbsp;&amp;nbsp;&amp;nbsp; Add a conditional formatting that hides questions that don&amp;#39;t belong to the selected module.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;&amp;nbsp; Click &lt;b&gt;New &amp;gt; Formatting&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab1/images/Figure07.png" alt="" width="122" height="103" /&gt;&lt;/p&gt;

&lt;p&gt;b.&amp;nbsp;&amp;nbsp; Name your condition something like &amp;quot;Only show questions for the selected module&amp;quot;.&lt;/p&gt;

&lt;p&gt;c. &amp;nbsp; Click ‘None&amp;#39; under &lt;i&gt;Condition &lt;/i&gt;to display the dialog where you can add your conditions&lt;/p&gt;

&lt;p&gt;d. &amp;nbsp; In the &lt;i&gt;Condition &lt;/i&gt;dialog, leave the first dropdown pointing to the &lt;b&gt;ModuleNo &lt;/b&gt;field but change the comparison (second dropdown) to ‘is not equal to&amp;#39;.&lt;/p&gt;

&lt;p&gt;e.&amp;nbsp;&amp;nbsp; On the third dropdown, choose &lt;b&gt;Select a field or group...&lt;/b&gt;, choose the &lt;b&gt;SelectedModule&lt;/b&gt; field of the &lt;i&gt;Main &lt;/i&gt;data source.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab1/images/Figure08.png" alt="" width="151" height="91" /&gt;&lt;/p&gt;

&lt;p&gt;f.&amp;nbsp;&amp;nbsp; Click &lt;b&gt;OK &lt;/b&gt;twice and then check the box ‘Hide this control&amp;#39;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;

&lt;p style="margin-left:40px;"&gt;Your conditional formatting
should look similar to this:&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab1/images/Figure09.png" width="255" height="257" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;We also need to conditionally hide
questions that have no default values, i.e. those that are blank.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;17.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
In the &lt;i&gt;Fields
&lt;/i&gt;taskpane, select the &lt;b&gt;Question &lt;/b&gt;repeating
node.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;18.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Add your conditional
formatting:&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;a.&amp;nbsp;&amp;nbsp; In the &lt;i&gt;Rules &lt;/i&gt;taskpane, click &lt;b&gt;New
&amp;gt; Formatting&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;b.&amp;nbsp;&amp;nbsp; Name your condition something
like &amp;quot;Hide blank questions&amp;quot;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;c.&amp;nbsp;&amp;nbsp; Click ‘None&amp;#39; under &lt;i&gt;Condition &lt;/i&gt;to display the dialog where
you can add your conditions&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;d.&amp;nbsp;&amp;nbsp; In the &lt;i&gt;Condition &lt;/i&gt;dialog, leave the first dropdown pointing to the &lt;b&gt;QuestionNo &lt;/b&gt;field but change the second
dropdown to ‘is blank&amp;#39;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;e.&amp;nbsp;&amp;nbsp; Click on the button labeled &lt;b&gt;And &lt;/b&gt;and then change the operator to &lt;b&gt;or&lt;/b&gt;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;f.&amp;nbsp;&amp;nbsp; Select &lt;b&gt;QuestionText &lt;/b&gt;in the first dropdown and then change the second
dropdown to ‘is blank&amp;#39;.&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;g.&amp;nbsp;&amp;nbsp; Click &lt;b&gt;OK &lt;/b&gt;and then check the box ‘Hide this control&amp;#39;.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;Your conditional formatting
should look similar to this:&lt;/p&gt;

&lt;p style="margin-left:80px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab1/images/Figure10.png" width="207" height="270" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;Once again, preview your form
template. After you select a module, you should be able to see the default questions
for that module. If you select &lt;i&gt;&lt;u&gt;Module
3 - SharePoint Integration&lt;/u&gt;&lt;/i&gt;, you should still see only 3 sets of
questions - others that have blank values are hidden.&lt;/p&gt;

&lt;p style="margin-left:40px;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/files/training/datadriven/lab1/images/Figure11.png" width="537" height="736" alt="" /&gt;&lt;/p&gt;

&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=62212" width="1" height="1"&gt;</content><author><name>Mel.Balsamo</name><uri>http://www.infopathdev.com/members/Mel.Balsamo.aspx</uri></author></entry><entry><title>qRules and SharePoint-related Commands</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/11/18/qrules-and-sharepoint-related-commands.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/11/18/qrules-and-sharepoint-related-commands.aspx</id><published>2010-11-18T08:49:00Z</published><updated>2010-11-18T08:49:00Z</updated><content type="html">&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span&gt;Scenario&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;p class="MsoNormal"&gt;&lt;span&gt;Have you ever wanted to be able to add InfoPath form data to SharePoint list? Sure, promoted properties in your form library are fine – for one layer deep data. Real world data often has one to many relationships, however (think Customers and Orders, or Orders and Products), and SharePoint and InfoPath like to handle that by mushing all your nicely organized information into semi-colon delimited lists. Not so pretty, not so useful.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;br /&gt;Perhaps you also have attachments in your form that you’d like added to existing list items, speeding up your form by keeping it sleek and having the attachments out of the XML where they are easier to find. InfoPath and SharePoint won’t do this for you, but qRules can.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;br /&gt;What about updating your list items in your InfoPath form if they were changed after the form was submitted and items were submitted to your list? Wouldn’t that be great? You could have the best of both worlds.&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span&gt;Value Proposition&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;p class="MsoNormal"&gt;&lt;span&gt;You could write code to submit your list items. You could even add a secondary data connection to your form to help you generate CAML and submit repeating items one at a time. Of course, that means you have to write and maintain code, or ever worse, rely on your users to push the “Submit” button on each item. They’d never forget to do that, right?&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span&gt;&lt;br /&gt;With qRules, you can easily add the ability to submit information from your form to a list or to two lists. You can map the fields you want to submit. You can use additional commands to add any attachments to the list items. And, if you want, qRules will even refresh the list items in the form with the latest from the list. qRules consists of modular commands that you can leverage together to create powerful forms with all the features that custom code provides and none of the maintenance that custom code carries along with it.&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span&gt;Requirements&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;ul style="margin-top:0in;"&gt;
&lt;li class="MsoNormal"&gt;&lt;span&gt;qRules v2.3&lt;/span&gt;&lt;/li&gt;

&lt;li class="MsoNormal"&gt;&lt;span&gt;Access to the SharePoint List you wish to submit items to&lt;/span&gt;&lt;/li&gt;

&lt;li class="MsoNormal"&gt;&lt;span&gt;InfoPath To SharePoint List tool for mapping (this tool is provided with qRules)&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span&gt;&lt;b&gt;Note&lt;/b&gt;: This document was written for SharePoint 2007. If you run into questions when trying these steps for SharePoint 2010, please contact support at qdabra dot com.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;

&lt;/ul&gt;
&lt;br /&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span&gt;Click on &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry61475.aspx" title="qRules and SharePoint-related Commands"&gt;this link&lt;/a&gt; to download the documentation that covers the following qRules commands:&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;ul style="margin-top:0in;"&gt;
&lt;li class="MsoNormal"&gt;&lt;span&gt;SubmitToSharePointList&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span&gt;RefreshSharePointListItems&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span&gt;AttachToSharePointList&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span&gt;Extra: SharePoint DeleteAttachment operation&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;
&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=61505" width="1" height="1"&gt;</content><author><name>Mel.Balsamo</name><uri>http://www.infopathdev.com/members/Mel.Balsamo.aspx</uri></author><category term="qRules" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/qRules/default.aspx" /><category term="sharepoint list" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/sharepoint+list/default.aspx" /><category term="RefreshSharePointListItems" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/RefreshSharePointListItems/default.aspx" /><category term="AttachToSharePointList" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/AttachToSharePointList/default.aspx" /><category term="DeleteAttachment" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/DeleteAttachment/default.aspx" /><category term="SubmitToSharePointList" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/SubmitToSharePointList/default.aspx" /></entry><entry><title>How to Use Qdabra’s Encryption XTP</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/05/31/how-to-use-qdabra-s-encryption-xtp.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/05/31/how-to-use-qdabra-s-encryption-xtp.aspx</id><published>2010-05-31T04:44:00Z</published><updated>2010-05-31T04:44:00Z</updated><content type="html">&lt;font size="2" face="Calibri"&gt;
&lt;p&gt;qRules v2.1 comes with new commands called Encrypt and Decrypt. These allow password-protecting your InfoPath form controls to hide sensitive data. Encryption transforms strings and attachments into a set of random characters, while Decryption reveals the original content after entering the password that’s used to protect the data. &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="COLOR:red;"&gt;Be sure to save your password(s)—Qdabra does not record them.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="COLOR:red;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="mso-font-kerning:16.0pt;"&gt;To get you started on using qRules encryption in your forms, Qdabra created a template part that you can easily add in your InfoPath Custom Controls and drag over to your forms. It’s called the QdEncryption XTP.&lt;/span&gt; 
&lt;p style="MARGIN:10pt 0in;" class="MsoNormal"&gt;&lt;span style="mso-font-kerning:16.0pt;"&gt;Quick preview:&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;span style="mso-font-kerning:16.0pt;"&gt;&lt;img style="WIDTH:624px;HEIGHT:88px;" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_01.JPG" width="624" height="88" alt="" /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="mso-font-kerning:16.0pt;mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;span style="mso-font-kerning:16.0pt;"&gt;&lt;/span&gt;&lt;span style="mso-font-kerning:16.0pt;"&gt;In the screenshot above, the user enters a password and fills out the text field. Clicking on the &lt;b style="mso-bidi-font-weight:normal;"&gt;Encrypt&lt;/b&gt; button yields this:&lt;/span&gt;&lt;span style="mso-font-kerning:16.0pt;mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;span style="mso-font-kerning:16.0pt;"&gt;&lt;/span&gt; 
&lt;blockquote&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoNormal"&gt;&lt;span style="mso-font-kerning:16.0pt;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_02.JPG" alt="" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="mso-font-kerning:16.0pt;"&gt;As an added security measure, Qdabra uses a font we called ‘qDots’ to hide the actual texts in the password field. This font comes with the QdEncryption XTP package. To take advantage of it, you should install the font in every machine that will use your form.&lt;/span&gt;&lt;/p&gt;&lt;span style="mso-font-kerning:16.0pt;"&gt;&lt;/span&gt;&lt;span style="mso-font-kerning:16.0pt;"&gt;This blog post details the step-by-step instructions on how to use the QdEncryption XTP.&lt;/span&gt; 
&lt;p&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="LINE-HEIGHT:115%;TEXT-TRANSFORM:uppercase;FONT-SIZE:11pt;"&gt;ADD THE TEMPLATE PART IN INFOPATH CUSTOM CONTROLS&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;"&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l4 level1 lfo8;" class="MsoNormal"&gt;Launch InfoPath and select &lt;b style="mso-bidi-font-weight:normal;"&gt;Design a Form Template&lt;/b&gt; based on a new blank one.&lt;/li&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l4 level1 lfo8;" class="MsoNormal"&gt;In the &lt;b style="mso-bidi-font-weight:normal;"&gt;Controls &lt;/b&gt;taskpane, click &lt;b style="mso-bidi-font-weight:normal;"&gt;Add or Remove Custom Controls…&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;blockquote&gt;
&lt;p style="MARGIN:10pt 0in;mso-list:l4 level1 lfo8;" class="MsoNormal"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_03.JPG" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in 10pt 0.5in;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;" start="3"&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l4 level1 lfo8;" class="MsoNormal"&gt;In the Custom Controls dialog box, click &lt;b style="mso-bidi-font-weight:normal;"&gt;Add &amp;gt; Template Part&lt;/b&gt;, and browse to the location where you placed your &lt;i style="mso-bidi-font-style:normal;"&gt;QdEncryption&lt;/i&gt; XTP 
&lt;p style="MARGIN:10pt 0in;mso-list:l4 level1 lfo8;" class="MsoNormal"&gt;&lt;img style="WIDTH:385px;HEIGHT:256px;" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_04.JPG" width="385" height="256" alt="" /&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;mso-ansi-language:EN-PH;mso-fareast-language:EN-PH;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;ol style="MARGIN-TOP:0in;" start="4"&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l4 level1 lfo8;" class="MsoNormal"&gt;Verify that the XTP has been added to your &lt;b style="mso-bidi-font-weight:normal;"&gt;Custom Controls &lt;/b&gt;taskpane. 
&lt;p style="MARGIN:10pt 0in;mso-list:l4 level1 lfo8;" class="MsoNormal"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_05.JPG" alt="" /&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in 10pt 0.5in;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;" start="5"&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l4 level1 lfo8;" class="MsoNormal"&gt;Save your blank form template (XSN). For the purposes of this tutorial, we will name it as &lt;i style="mso-bidi-font-style:normal;"&gt;QdEncryptionXSN&lt;/i&gt;.&lt;/li&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l4 level1 lfo8;" class="MsoNormal"&gt;Close InfoPath.&lt;/li&gt;&lt;/ol&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="LINE-HEIGHT:115%;TEXT-TRANSFORM:uppercase;FONT-SIZE:11pt;"&gt;Inject qRules and the XTP in your Form Template&lt;/span&gt;&lt;/b&gt; 
&lt;ol style="MARGIN-TOP:0in;"&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l2 level1 lfo9;" class="MsoNormal"&gt;Launch the qRules Injector from &lt;i style="mso-bidi-font-style:normal;"&gt;Start &amp;gt; All Programs &amp;gt; Qdabra &amp;gt; Tools &amp;gt; qRules Injector.&lt;/i&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;blockquote&gt;
&lt;p style="MARGIN:10pt 0in;mso-list:l2 level1 lfo9;" class="MsoNormal"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_06.JPG" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in 10pt 0.5in;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;" start="2"&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l2 level1 lfo9;" class="MsoNormal"&gt;Browse to the location where you saved your &lt;i style="mso-bidi-font-style:normal;"&gt;QdEncryptionXSN&lt;/i&gt;.&lt;/li&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l2 level1 lfo9;" class="MsoNormal"&gt;Click &lt;b style="mso-bidi-font-weight:normal;"&gt;Inject&lt;/b&gt;, then &lt;b style="mso-bidi-font-weight:normal;"&gt;OK&lt;/b&gt; in the confirmation dialog, and then close the qRules Injector.&lt;/li&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l2 level1 lfo9;" class="MsoNormal"&gt;Open &lt;i style="mso-bidi-font-style:normal;"&gt;QdEncryptionXSN&lt;/i&gt; in InfoPath Design mode.&lt;/li&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l2 level1 lfo9;" class="MsoNormal"&gt;Scroll down to the very bottom of the &lt;b style="mso-bidi-font-weight:normal;"&gt;Controls &lt;/b&gt;taskpane to get to the &lt;b style="mso-bidi-font-weight:normal;"&gt;Custom &lt;/b&gt;section, and then click on the &lt;b style="mso-bidi-font-weight:normal;"&gt;QdEncryption &lt;/b&gt;control.&lt;/li&gt;&lt;/ol&gt;
&lt;p style="MARGIN:10pt 0in 10pt 0.25in;" class="MsoNormal"&gt;You should now have the template part on your canvas. The main and the secondary data sources will be injected in your XSN as well.&lt;/p&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="LINE-HEIGHT:115%;TEXT-TRANSFORM:uppercase;FONT-SIZE:11pt;"&gt;Source Files Clean-up&lt;/span&gt;&lt;/b&gt; 
&lt;p style="MARGIN:10pt 0in;" class="MsoNormal"&gt;If you go to &lt;b style="mso-bidi-font-weight:normal;"&gt;Tools &amp;gt; Data Connections&lt;/b&gt;, you will notice that you have two instances of &lt;b style="mso-bidi-font-weight:normal;"&gt;QdabraRules&lt;/b&gt;, one for the XSN, and one for the XTP:&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoNormal"&gt;&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_07.JPG" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoNormal"&gt;When you first injected qRules in your XSN, it added the QdabraRules XML as a secondary data source. In this same XSN, you injected the QdEncryption&lt;b style="mso-bidi-font-weight:normal;"&gt; &lt;/b&gt;XTP which also uses qRules. This added another QdabraRules XML secondary data source to the XSN (with a different name). So now, you have two qRules XMLs, which is confusing and might cause issues when calling the qRules commands. Unfortunately, there is no workaround at the moment, hence the need to do some clean-up.&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;"&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l0 level1 lfo1;" class="MsoNormal"&gt;Save &lt;i style="mso-bidi-font-style:normal;"&gt;QdEncryptionXSN&lt;/i&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt; &lt;/b&gt;as source files and close InfoPath.&lt;/li&gt;
&lt;li style="MARGIN:10pt 0in;mso-list:l0 level1 lfo1;" class="MsoNormal"&gt;Modify the &lt;b style="mso-bidi-font-weight:normal;"&gt;manifest.xsf&lt;/b&gt; file:&lt;/li&gt;&lt;/ol&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:auto auto auto 1in;mso-list:l9 level1 lfo3;mso-add-space:auto;" class="MsoNormalCxSpMiddle"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the directory where you saved your source files, locate &lt;strong&gt;manifest.xsf&lt;/strong&gt; and open it in any text editor.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:auto auto auto 1in;mso-list:l9 level1 lfo3;mso-add-space:auto;" class="MsoNormalCxSpMiddle"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Replace all 25 instances of &amp;quot;&lt;strong&gt;QdabraRules_QdEncryption&lt;/strong&gt;&amp;quot; with &amp;quot;&lt;strong&gt;QdabraRules&lt;/strong&gt;&amp;quot;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:auto auto auto 1in;mso-list:l9 level1 lfo3;mso-add-space:auto;" class="MsoNormalCxSpMiddle"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;c.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Delete the associated blocks where you find &amp;quot;QdabraRules1&amp;quot;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-1.5in;MARGIN:10pt 0in 10pt 1.5in;mso-list:l8 level3 lfo4;mso-text-indent-alt:-9.0pt;" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;i.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;xsf:file (for .xsd)&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p style="TEXT-INDENT:-1.5in;MARGIN:10pt 0in 10pt 1.5in;mso-list:l8 level3 lfo4;mso-text-indent-alt:-9.0pt;" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_08.JPG" alt="" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p style="TEXT-INDENT:-1.5in;MARGIN:10pt 0in 10pt 1.5in;mso-list:l8 level3 lfo4;mso-text-indent-alt:-9.0pt;" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ii.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;xsf:file (for .xml)&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p style="TEXT-INDENT:-1.5in;MARGIN:10pt 0in 10pt 1.5in;mso-list:l8 level3 lfo4;mso-text-indent-alt:-9.0pt;" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_09.JPG" alt="" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p style="TEXT-INDENT:-1.5in;MARGIN:10pt 0in 10pt 1.5in;mso-list:l8 level3 lfo4;mso-text-indent-alt:-9.0pt;" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;iii.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;xsf:dataObject&lt;/p&gt;
&lt;blockquote&gt;
&lt;p style="TEXT-INDENT:-1.5in;MARGIN:10pt 0in 10pt 1.5in;mso-list:l8 level3 lfo4;mso-text-indent-alt:-9.0pt;" class="MsoNormal"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_10.JPG" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 1in;mso-list:l9 level1 lfo3;" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;d.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Replace all 12 instances of &lt;b style="mso-bidi-font-weight:normal;"&gt;/xpath=/my:qdEncrypt&lt;/b&gt; with &lt;b style="mso-bidi-font-weight:normal;"&gt;/xpath=/my:myFields/my:qdEncrypt&lt;/b&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 1in;mso-list:l9 level1 lfo3;" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&amp;nbsp;e.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Replace all 12 instances of &lt;b style="mso-bidi-font-weight:normal;"&gt;/pass=/my:qdEncrypt&lt;/b&gt; with &lt;b style="mso-bidi-font-weight:normal;"&gt;/pass=/my:myFields/my:qdEncrypt&lt;/b&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in 10pt 1in;" class="MsoNormal"&gt;Note that in Steps d and e above, we are replacing the XPaths with &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;/my:myFields&lt;/i&gt;&lt;/b&gt;. If you have a different name for your main data source group node, please use that instead of &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;myFields&lt;/i&gt;&lt;/b&gt;.&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 1in;mso-list:l9 level1 lfo3;" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&amp;nbsp;f.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Save and close manifest.xsf.&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;" start="3"&gt;
&lt;li style="MARGIN:auto auto 0pt;mso-list:l0 level1 lfo1;mso-add-space:auto;" class="MsoNormalCxSpLast"&gt;Modify the &lt;strong&gt;view.xsl&lt;/strong&gt; file.&lt;/li&gt;&lt;/ol&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:0in 0in 10pt 1in;mso-list:l7 level1 lfo7;mso-add-space:auto;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Open &lt;b style="mso-bidi-font-weight:normal;"&gt;view1.xsl &lt;/b&gt;in a text editor.&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:0in 0in 10pt 1in;mso-list:l7 level1 lfo7;mso-add-space:auto;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Replace the 7 instances of “&lt;b style="mso-bidi-font-weight:normal;"&gt;QdabraRules_QdEncryption&lt;/b&gt;” with “&lt;b style="mso-bidi-font-weight:normal;"&gt;QdabraRules&lt;/b&gt;”.&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:0in 0in 10pt 1in;mso-list:l7 level1 lfo7;mso-add-space:auto;" class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;c.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Save and close view1.xsl.&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;" start="4"&gt;
&lt;li style="mso-list:l0 level1 lfo1;" class="MsoNormalCxSpFirst"&gt;Modify the &lt;strong&gt;sampledata.xml&lt;/strong&gt; file&lt;/li&gt;&lt;/ol&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:auto auto auto 1in;mso-list:l5 level1 lfo2;mso-add-space:auto;" class="MsoNormalCxSpMiddle"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open &lt;strong&gt;sampledata.xml&lt;/strong&gt; in a text editor.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:auto auto auto 1in;mso-list:l5 level1 lfo2;mso-add-space:auto;" class="MsoNormalCxSpMiddle"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Delete the &lt;i style="mso-bidi-font-style:normal;"&gt;xd:DataConnection&lt;/i&gt; block where you find “&lt;b style="mso-bidi-font-weight:normal;"&gt;QdabraRules_QdEncryption&lt;/b&gt;”. &lt;/p&gt;
&lt;blockquote&gt;
&lt;p style="TEXT-INDENT:-1.5in;MARGIN:10pt 0in 10pt 1.5in;mso-list:l8 level3 lfo4;mso-text-indent-alt:-9.0pt;" class="MsoNormal"&gt;&lt;img style="WIDTH:593px;HEIGHT:206px;" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_11.JPG" width="593" height="206" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 1in;mso-list:l5 level1 lfo2;" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;c.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Save and close sampledata.xml.&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;" start="5"&gt;
&lt;li style="mso-list:l0 level1 lfo1;" class="MsoNormalCxSpMiddle"&gt;Delete the extraneous QdabraRules1 files in the source files directory:&lt;/li&gt;&lt;/ol&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:auto auto auto 1in;mso-list:l1 level1 lfo5;mso-add-space:auto;" class="MsoNormalCxSpMiddle"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;QdabraRules1.xml&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 1in;mso-list:l1 level1 lfo5;" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;QdabraRules1.xsd&lt;/p&gt;
&lt;ol style="MARGIN-TOP:0in;" start="6"&gt;
&lt;li style="mso-list:l0 level1 lfo1;" class="MsoNormalCxSpMiddle"&gt;Verify changes.&lt;/li&gt;&lt;/ol&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:auto auto auto 1in;mso-list:l6 level1 lfo6;mso-add-space:auto;" class="MsoNormalCxSpMiddle"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Open manifest.xsf in InfoPath Design mode&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 1in;mso-list:l6 level1 lfo6;" class="MsoNormal"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Go to &lt;b style="mso-bidi-font-weight:normal;"&gt;Tools &lt;/b&gt;&amp;gt; &lt;b style="mso-bidi-font-weight:normal;"&gt;Data Connections &lt;/b&gt;and verify that you now have only one instance of &lt;b style="mso-bidi-font-weight:normal;"&gt;QdabraRules&lt;/b&gt;.&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 1in;mso-list:l6 level1 lfo6;" class="MsoNormal"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_12.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;" class="MsoNormalCxSpMiddle" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="LINE-HEIGHT:115%;TEXT-TRANSFORM:uppercase;FONT-SIZE:11pt;"&gt;Test Your Form Template&lt;/span&gt;&lt;/b&gt; 
&lt;p style="MARGIN:10pt 0in;" class="MsoNormal"&gt;Test the encryption in Preview mode:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoNormal"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_13.JPG" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoNormal" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l0 level4 lfo1;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Enter a password.&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l0 level4 lfo1;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Fill out any of the fields you wish to encrypt.&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l0 level4 lfo1;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Click on the &lt;b style="mso-bidi-font-weight:normal;"&gt;Encrypt&lt;/b&gt; button corresponding to the field you’ve filled out.&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l0 level4 lfo1;" class="MsoListParagraph"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_14.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoNormal"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in 10pt 0.5in;" class="MsoListParagraph"&gt;A ‘Success’ message is shown upon successful encryption.&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in 10pt 0.25in;" class="MsoListParagraph"&gt;If you’ve encrypted a text field, the control will be hidden. The texts will be replaced with random characters starting with “qdEncrypted”, like shown:&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in 10pt 0.25in;" class="MsoListParagraph"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_15.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoListParagraph" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in 10pt 0.25in;" class="MsoListParagraph"&gt;An expression box is displayed instead:&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in 10pt 0.25in;" class="MsoListParagraph"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_16.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoListParagraph" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l0 level4 lfo1;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Enter the password that you used to encrypt and click &lt;b style="mso-bidi-font-weight:normal;"&gt;Decrypt&lt;/b&gt;. This will reveal the original texts.&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in 10pt 0.25in;" class="MsoListParagraph"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;If you’ve encrypted an image or a file attachment, the attachment will be hidden. An expression box is displayed instead. Decrypting reveals the attachment.&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in 10pt 0.25in;" class="MsoListParagraph"&gt;&lt;img style="WIDTH:624px;HEIGHT:47px;" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_17.JPG" width="624" height="47" alt="" /&gt;&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoListParagraph" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l0 level4 lfo1;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;You may also test encrypting/decrypting the fields all at once by entering a password and filling out all the fields.&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l0 level4 lfo1;" class="MsoListParagraph"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_18.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoListParagraph"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in 10pt 0.5in;" class="MsoListParagraph"&gt;Clicking on the &lt;b style="mso-bidi-font-weight:normal;"&gt;Encrypt All &lt;/b&gt;button will show:&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in 10pt 0.5in;" class="MsoListParagraph"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_19.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoListParagraph"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in 10pt 0.5in;" class="MsoListParagraph"&gt;To decrypt, enter the password that you used to encrypt, and click &lt;b style="mso-bidi-font-weight:normal;"&gt;Decrypt All&lt;/b&gt;.&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in 10pt 0.5in;" class="MsoListParagraph"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_20.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoListParagraph"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l0 level4 lfo1;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Also try entering a wrong password when decrypting. This will return an error message.&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l0 level4 lfo1;" class="MsoListParagraph"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/qrules/encryption/xtp/figure_21.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoNormal"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="LINE-HEIGHT:115%;TEXT-TRANSFORM:uppercase;FONT-SIZE:11pt;"&gt;Additional Notes&lt;/span&gt;&lt;/b&gt; 
&lt;p style="MARGIN:10pt 0in;" class="MsoNormal"&gt;Below are some guidelines that will help you, should you wish to customize the template part or wish to create your own InfoPath forms using the qRules Encrypt and Decrypt commands:&lt;/p&gt;
&lt;blockquote&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;· &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;Arguments&lt;/b&gt;: 
&lt;p style="LINE-HEIGHT:normal;TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.75in;mso-list:l3 level1 lfo10;" class="MsoNormal"&gt;o&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;/xpath&lt;/strong&gt;: XPath to the field to encrypt/decrypt&lt;/p&gt;
&lt;p style="LINE-HEIGHT:normal;TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.75in;mso-list:l3 level1 lfo10;" class="MsoNormal"&gt;o&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;/dsnamepass&lt;/strong&gt; – (optional) Data Source name for Password field if it is in a secondary data source&lt;/p&gt;
&lt;p style="LINE-HEIGHT:normal;TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.75in;mso-list:l3 level1 lfo10;" class="MsoNormal"&gt;o&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;/pass&lt;/strong&gt;: XPath to the password field&lt;/p&gt;
&lt;p style="LINE-HEIGHT:normal;TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.75in;mso-list:l3 level1 lfo10;" class="MsoNormal"&gt;o&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;/clear&lt;/strong&gt;: (optional) can have a value of yes or no.&amp;nbsp;If set to yes, the password will be&lt;/p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cleared after encryption/decryption. If unspecified, the value defaults to yes.&amp;nbsp;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;· &lt;/span&gt;&lt;/span&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;Examples&lt;/b&gt;: &lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="LINE-HEIGHT:normal;TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.75in;mso-list:l3 level1 lfo10;" class="MsoNormal"&gt;o&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;Encrypt /xpath= /my:myFields/my:textEncrypt /pass=/my:myFields/my:password&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="LINE-HEIGHT:normal;TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.75in;mso-list:l3 level1 lfo10;" class="MsoNormal"&gt;o&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;Encrypt /xpath=/my:myFields/my:imageEncrypt&amp;nbsp; /pass=/my:myFields/my:password /clear=no&lt;/em&gt; &lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="LINE-HEIGHT:normal;TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.75in;mso-list:l3 level1 lfo10;" class="MsoNormal"&gt;o&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;Decrypt /xpath=/my:myFields/my:fileEncrypt &amp;nbsp; /dsnamepass=myEncryption /pass=/myEncryption/Password&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="LINE-HEIGHT:normal;TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.75in;mso-list:l3 level1 lfo10;" class="MsoNormal"&gt;o&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;em&gt;Decrypt /xpath=/my:myFields/my:group1/my:group2/my:field1[../my:field2=&amp;#39;a&amp;#39;] /pass=/my:myFields/my:password&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p style="LINE-HEIGHT:normal;TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.75in;mso-list:l3 level1 lfo10;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;· &lt;/span&gt;&lt;/span&gt;&lt;strong&gt;Additional Observations:&lt;/strong&gt; &lt;/p&gt;
&lt;blockquote&gt;
&lt;p style="LINE-HEIGHT:normal;TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.75in;mso-list:l3 level1 lfo10;" class="MsoNormal"&gt;o&amp;nbsp;&amp;nbsp;&amp;nbsp; Encrypting/Decrypting file or image attachments will make the control appear empty in the form because it can’t read the filename and extension from the string any longer. However the encrypted string will always start with “qdEncrypted”. Conditional formatting can be based off that to hide a control if the node starts with qdE, and display an expression box instead. &lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="LINE-HEIGHT:normal;TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.75in;mso-list:l3 level1 lfo10;" class="MsoNormal"&gt;o&amp;nbsp;&amp;nbsp;&amp;nbsp; Fields that use whole number or decimal as data types can be encrypted/decrypted; but since we are returning a string, the field will return a data validation error.&lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p style="LINE-HEIGHT:normal;TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.75in;mso-list:l3 level1 lfo10;" class="MsoNormal"&gt;o&amp;nbsp;&amp;nbsp;&amp;nbsp; You cannot encrypt/decrypt a secondary data source field because every time we pull data into a form from a secondary data source, it would be the actual data. Encrypting it would only be until the data was refreshed, since it isn’t stored with the form.&lt;/p&gt;&lt;/blockquote&gt;&lt;/font&gt;&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=55464" width="1" height="1"&gt;</content><author><name>jose cruz</name><uri>http://www.infopathdev.com/members/jose-cruz.aspx</uri></author></entry><entry><title>Working with a qRules solution that uses DBXL and MOSS 2007</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/05/29/working-with-a-qrules-solution-that-uses-dbxl-and-ipfs.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/05/29/working-with-a-qrules-solution-that-uses-dbxl-and-ipfs.aspx</id><published>2010-05-29T05:28:00Z</published><updated>2010-05-29T05:28:00Z</updated><content type="html">&lt;font face="Calibri" size="3"&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;With DBXL, you can quickly integrate your solution with SharePoint 2007 and IPFS in order to create a browser-based solution. However, the challenge is that InfoPath Forms Server can only open documents from SharePoint document libraries. Connecting an existing form template with DBXL for use on IPFS can be done by using code to access the DBXL web services; but now that there’s qRules, all this can be done without the need of writing code.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;i&gt;&lt;b&gt;NOTE&lt;/b&gt;: For a browser enabled, InfoPath 2010 form template, injected with qRules v2.4 and used on SharePoint 2010 and DBXL v2.4, please refer to &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry62469.aspx"&gt;this document&lt;/a&gt;. &lt;/i&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;Since browser forms allow users to pass in custom parameters via the URL, we will pass in the DBXL document ID (DocID) using the qRules command called &lt;i&gt;GetInputParameter&lt;/i&gt;. If passed in, we use a data connection to DBXL to retrieve the document then replace the main DOM with the retrieved XML using the new qRules command called &lt;i&gt;SwapDomWithDocument&lt;/i&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;This document details the steps on how to configure your qRules-based solution that can submit documents to DBXL and load them in IPFS.&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt; This requires qRules v2.1 (or later) and DBXL v2.3 (or later). For creating SharePoint data views, SharePoint Designer is required.&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;The document outlines the following:&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;b&gt;&lt;font size="3"&gt;·&lt;/font&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Create the data connections&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Configure the qRules commands&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;/span&gt;&lt;/span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Configure the submit command&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;/span&gt;&lt;/span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;IPFS-enable your form template&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;/span&gt;&lt;/span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Publish your form as an admin-approved form template&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;/span&gt;&lt;/span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Create an IPFS-enabled SharePoint library&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;/span&gt;&lt;/span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Create a document type in DBXL&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Test the solution&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;&lt;font size="3"&gt;·&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Create a data view to access your DBXL forms&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;a href="http://www.infopathdev.com/controlpanel/blogs/posteditor.aspx?SelectedNavItem=NewPost#_create_a_Data"&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;b&gt;&lt;span style="font-size:11pt;text-transform:uppercase;line-height:115%;"&gt;Create the Data Connections&lt;/span&gt;&lt;/b&gt; 
&lt;p class="MsoNormal" style="margin:10pt 0in;"&gt;Our solution will use two web service data adapters, one called &lt;i&gt;GetDocument&lt;/i&gt; which will retrieve document data from DBXL, the other called &lt;i&gt;SubmitDocument&lt;/i&gt; which will post a modified document back to DBXL.&lt;/p&gt;
&lt;ol style="margin-top:0in;"&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;Design your qRules-injected form template in InfoPath.&lt;/li&gt;
&lt;li class="MsoNormalCxSpMiddle"&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;font face="Calibri"&gt;Add the &lt;i&gt;GetDocument&lt;/i&gt;&lt;/font&gt;&amp;nbsp;&lt;font face="Calibri"&gt;data connection&lt;/font&gt;:&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;&lt;font size="3"&gt;a.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font face="Calibri" size="3"&gt;Go to &lt;b&gt;Tools&amp;gt;Data Connections&lt;/b&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;font face="Calibri"&gt;and click &lt;b&gt;Add&lt;/b&gt;&lt;/font&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;b.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font face="Calibri" size="3"&gt;Select &lt;b&gt;Create a new connection to: Receive data&lt;/b&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;and click&lt;/font&gt; &lt;b&gt;&lt;font face="Calibri"&gt;Next&lt;/font&gt;&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;c.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font face="Calibri" size="3"&gt;Select &lt;b&gt;Web Service&lt;/b&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;font face="Calibri"&gt;in the next screen and&amp;nbsp;&lt;b&gt;Next&lt;/b&gt;&lt;/font&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;d.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font face="Calibri" size="3"&gt;For the Web Service URL, enter the location of the Qdabra DBXL Document web service. In default DBXL installations, the format would be:&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span&gt;&lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;u&gt;&lt;font color="#0000ff"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;a href="http://%3cyourservername%3e/QdabraWebService/DbxlDocumentService.asmx"&gt;&lt;span style="font-size:11pt;line-height:115%;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;span class="MsoHyperlink"&gt;&lt;i&gt;http://&amp;lt;YourServerName&amp;gt;/QdabraWebService/DbxlDocumentService.asmx&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/u&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;. &lt;font face="Calibri"&gt;Click&lt;/font&gt; &lt;b&gt;&lt;font face="Calibri"&gt;Next&lt;/font&gt;&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;e.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font face="Calibri" size="3"&gt;Select &lt;b&gt;GetDocument&lt;/b&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;font face="Calibri"&gt;from the list of operations and click &lt;b&gt;Next&lt;/b&gt;&lt;/font&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;f.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font face="Calibri" size="3"&gt;Double-click on the &lt;b&gt;tns:docId&lt;/b&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;parameter and enter the number&lt;/font&gt; ‘0’ &lt;font face="Calibri"&gt;(zero)&lt;/font&gt;, &lt;font face="Calibri"&gt;then click&lt;/font&gt; &lt;b&gt;&lt;font face="Calibri"&gt;Next&lt;/font&gt;&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;g.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font face="Calibri" size="3"&gt;No value is needed for next&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;font face="Calibri"&gt;&lt;b&gt;tns:docId&lt;/b&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Calibri"&gt;parameter, so leave it blank and click&lt;/font&gt; &lt;font face="Calibri"&gt;&lt;b&gt;Next &lt;/b&gt;twice&lt;/font&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;h.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font face="Calibri" size="3"&gt;Give your data connection a name of your choosing. For this document, we will &lt;i&gt;GetDocument&lt;/i&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;. &lt;font face="Calibri"&gt;We will use this name later when we configure our qRules command&lt;/font&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in 10pt 0.75in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;i.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Uncheck the box ‘Automatically retrieve data when the form is opened’ and click &lt;b&gt;Finish&lt;/b&gt;.&lt;/p&gt;
&lt;ol style="margin-top:0in;" start="3"&gt;
&lt;li class="MsoNormalCxSpLast" style="margin:auto auto 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;font face="Calibri"&gt;Add the &lt;i&gt;SubmitDocument&lt;/i&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Calibri"&gt;data connection&lt;/font&gt;: &lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p class="MsoListParagraph" style="margin:0in 0in 0pt 0.75in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;a.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Back in the Data Connections dialog box, click &lt;b&gt;Add&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpFirst" style="margin:0in 0in 0pt 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;&lt;font size="3"&gt;b.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font face="Calibri" size="3"&gt;Select &lt;b&gt;Create a new connection to: Receive data&lt;/b&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;font face="Calibri"&gt;and click&lt;/font&gt; &lt;b&gt;&lt;font face="Calibri"&gt;Next&lt;/font&gt;&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;c.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Select &lt;b&gt;Web Service&lt;/b&gt;&lt;/font&gt;&amp;nbsp;&lt;font face="Calibri"&gt;in the next screen and click&lt;/font&gt; &lt;b&gt;&lt;font face="Calibri"&gt;Next&lt;/font&gt;&lt;/b&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;&lt;font size="3"&gt;d.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font face="Calibri" size="3"&gt;For the Web Service URL, enter the location of the Qdabra DBXL Document web service which is the same as what we used in the previous step&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;(&lt;u&gt;&lt;font color="#0000ff"&gt;&lt;span style="font-size:11pt;line-height:115%;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;span&gt;&lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;a href="http://%3cyourservername%3e/QdabraWebService/DbxlDocumentService.asmx"&gt;http://&amp;lt;YourServerName&amp;gt;/QdabraWebService/DbxlDocumentService.asmx&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/u&gt;), &lt;font face="Calibri"&gt;and click &lt;b&gt;Next&lt;/b&gt;&lt;/font&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;e.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Select &lt;b&gt;SubmitDocument&lt;/b&gt;&lt;/font&gt;&amp;nbsp;&lt;font face="Calibri"&gt;from the list of operations and click&lt;/font&gt; &lt;font face="Calibri"&gt;&lt;b&gt;Next &lt;/b&gt;three times, leaving the rest of the defaults&lt;/font&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;&lt;font size="3"&gt;f.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font face="Calibri" size="3"&gt;Give your data connection a name of your choosing. For this document, we will use SubmitDocument. We will use this name later when we configure our qRules command.&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;g.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font face="Calibri" size="3"&gt;Uncheck the box ‘Automatically retrieve data when the form is opened’ and click &lt;b&gt;Finish&lt;/b&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormalCxSpMiddle" style="margin:auto auto auto 0.75in;text-indent:-0.25in;"&gt;&lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;span&gt;h.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Click &lt;b&gt;Close&lt;/b&gt;&lt;/font&gt;&amp;nbsp;&lt;font face="Calibri"&gt;to exit out of the Data Connections dialog&lt;/font&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:11pt;text-transform:uppercase;line-height:115%;"&gt;Configure the qRules Commands&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Now that we’ve added our data connections, we need to add rules to the &lt;i&gt;finishedLoading&lt;/i&gt; attribute of the QdabraRules (Secondary) data source. This will trigger getting the input parameters on load and use those parameters with the &lt;i&gt;SwapDomWithDocument&lt;/i&gt; commmand.&lt;/span&gt; 
&lt;ol style="margin-top:0in;"&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;In the Data source taskpane, switch to the &lt;b&gt;QdabraRules (Secondary) &lt;/b&gt;data source.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_01.JPG" alt="" /&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt; 
&lt;ol style="margin-top:0in;" start="2"&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Right-click on the &lt;i&gt;finishedLoading&lt;/i&gt;&lt;b&gt; &lt;/b&gt;node and select &lt;b&gt;Properties&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;In the field properties window, switch to the ‘Rules and Merge’ tab and click &lt;b&gt;Add&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;The first rule will simply stop the succeeding rules to run if the conditions are met. Click on the &lt;b&gt;Set Condition &lt;/b&gt;button and add two conditions as shown:&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_02.JPG" alt="" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Click &lt;b&gt;OK&lt;/b&gt;.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Check the box ‘Stop processing rules when this rule finishes’. No action is needed for this rule. It should look similar to this:&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&amp;nbsp; 
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_03.JPG" alt="" /&gt; &lt;/p&gt;
&lt;ol style="margin-top:0in;" start="7"&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Give your rule a name of your choosing and click &lt;b&gt;OK&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Click &lt;b&gt;Add &lt;/b&gt;to add another rule that will call the qRules &lt;i&gt;GetInputParameter&lt;/i&gt; command and will use ‘DocID’ as the key.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Click &lt;b&gt;Add Action &lt;/b&gt;and leave the first dropdown with the action “Set a field’s value”.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Click on the schema icon next to &lt;b&gt;Field&lt;/b&gt; and select the &lt;b&gt;Command &lt;/b&gt;node from the &lt;b&gt;QdabraRules (Secondary) &lt;/b&gt;data source.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_04.JPG" alt="" /&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt; 
&lt;ol style="margin-top:0in;" start="11"&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Click &lt;b&gt;OK&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;In the &lt;b&gt;Value &lt;/b&gt;box, enter the command string: &lt;i&gt;GetInputParameter /key=DocID. &lt;/i&gt;(Note that &lt;i&gt;DocID&lt;/i&gt; is case-sensitive. It should match the specified parameter in the URL that we will set up in the later part of this document.) Your rule action should be similar to this:&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_05.JPG" alt="" /&gt;&lt;/span&gt;&lt;/p&gt;&amp;nbsp;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;13.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Click &lt;b&gt;OK &lt;/b&gt;twice and then click &lt;b&gt;Add &lt;/b&gt;to add the third rule.&lt;/span&gt; 
&lt;ol style="margin-top:0in;" start="14"&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;The third rule will stop the succeeding rule to run if the specified condition is met. Click on the &lt;b&gt;Set Condition &lt;/b&gt;button and add a condition as shown:&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_06.JPG" alt="" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Click &lt;b&gt;OK&lt;/b&gt;.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;16.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Check the box ‘Stop processing rules when this rule finishes’. &lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Again, no action is needed for this rule. It should look similar to this:&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_07.JPG" alt="" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;17.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Click &lt;b&gt;OK&lt;/b&gt;, then click &lt;b&gt;Add &lt;/b&gt;to add the last rule that will call the qRules &lt;i&gt;SwapDomWithDocument&lt;/i&gt; command and will use the resulting ‘DocID’ returned by the &lt;i&gt;GetDocument &lt;/i&gt;data connection.&lt;/span&gt; 
&lt;ol style="margin-top:0in;" start="18"&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Click &lt;b&gt;Add Action &lt;/b&gt;and leave the first dropdown with the action “Set a field’s value”.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;For the &lt;b&gt;Field&lt;/b&gt;, select the &lt;b&gt;Command &lt;/b&gt;node from the &lt;b&gt;QdabraRules (Secondary) &lt;/b&gt;data source.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;For the &lt;b&gt;Value&lt;/b&gt;, click on the &lt;b&gt;&lt;i&gt;fx&lt;/i&gt;&lt;/b&gt; button and enter the formula:&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;blockquote&gt;&lt;b&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;concat(&amp;quot;SwapDomWithDocument /getdocument=GetDocument /docid=&amp;quot;, &lt;u&gt;Result&lt;/u&gt;)&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;where the &lt;b&gt;/getdocument&lt;/b&gt; parameter is the name of your &lt;i&gt;GetDocument&lt;/i&gt; data connection, and &lt;b&gt;/docid&lt;/b&gt; is the &lt;b&gt;Result &lt;/b&gt;node of the &lt;b&gt;QdabraRules (Secondary) &lt;/b&gt;data source. Your formula should look like this:&lt;/span&gt; &lt;/blockquote&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_08.JPG" alt="" /&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;21.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Click &lt;b&gt;OK &lt;/b&gt;three times. We now have four rules in the QdabraRules &lt;i&gt;finishedLoading &lt;/i&gt;node:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_09.JPG" alt="" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;&lt;span&gt;22.&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11pt;line-height:115%;"&gt;Click &lt;b&gt;OK &lt;/b&gt;to close the Field Properties window.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:11pt;text-transform:uppercase;line-height:115%;"&gt;&lt;font face="Calibri"&gt;CONfigure the Submit Command&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:11pt;text-transform:uppercase;line-height:115%;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;font face="Calibri"&gt;We will use the qRules command called &lt;i&gt;SubmitToDbxl &lt;/i&gt;via rules to enable our forms to submit to DBXL. For this, we will add a button that will trigger the submit rule. (For more detailed, step-by-step instructions, see the tutorial &lt;/font&gt;&lt;a href="http://www.infopathdev.com/files/folders/qrules/entry35303.aspx"&gt;&lt;font color="#800080" face="Calibri"&gt;Use qRules to submit to DBXL&lt;/font&gt;&lt;/a&gt;&lt;font face="Calibri"&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;The &lt;i&gt;SubmitToDbxl&lt;/i&gt; qRules command allows specifying three values to use as metadata for each of the forms that are submitted to DBXL.&lt;span&gt;&amp;nbsp; &lt;/span&gt;These values are:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="margin:10pt 0in 0pt 0.5in;text-indent:-0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;b&gt;Name&lt;/b&gt; – A title for each form&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0pt 0.5in;text-indent:-0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;b&gt;Author&lt;/b&gt; – The name of the person who created the form, or who last modified it, depending on how you would like to use this value.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;b&gt;Description&lt;/b&gt; – A description for each form&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;In order to make these values dynamic, we will use the fields in our form corresponding to each of these metadata values.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;1.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Add three text fields in your form, as shown:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_10.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;2.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Drag these fields on your form canvas.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;3.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Next, we will add our submit button. In the &lt;i&gt;Controls&lt;/i&gt; taskpane, click on the &lt;b&gt;Button &lt;/b&gt;control to add it onto your view. &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;4.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Double-click on the button on your canvas to see its properties.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;5.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Label your button ‘Submit’ and give it an ID of your choosing, e.g. &lt;i&gt;btnSubmit&lt;/i&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_11.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;6.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Click on &lt;b&gt;Rules&lt;/b&gt;, and then &lt;b&gt;Add.&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;7.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Give your rule a name of your choosing and click &lt;b&gt;Add Action&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;ol style="margin-top:0in;" start="8"&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;Leave the first dropdown with the action “Set a field’s value”.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;For the &lt;b&gt;Field&lt;/b&gt;, select the &lt;b&gt;Command &lt;/b&gt;node from the &lt;b&gt;QdabraRules (Secondary) &lt;/b&gt;data source.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;For the &lt;b&gt;Value&lt;/b&gt;, click on the &lt;b&gt;&lt;i&gt;fx&lt;/i&gt;&lt;/b&gt; button and enter the formula:&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;blockquote&gt;&lt;b&gt;&lt;font face="Calibri"&gt;concat(&amp;quot;SubmitToDbxl /submit=SubmitDocument /doctype=qRulesForms /name=&amp;quot;, &lt;u&gt;Name&lt;/u&gt;, &amp;quot; /author=&amp;quot;, &lt;u&gt;Author&lt;/u&gt;, &amp;quot; /desc=&amp;quot;, &lt;u&gt;Description&lt;/u&gt;)&lt;/font&gt;&lt;/b&gt; &lt;/blockquote&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in 10pt 0.5in;"&gt;&lt;font face="Calibri"&gt;where we are concatenating the values in the following parameters:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="margin:10pt 0in 0pt 1in;text-indent:-0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;b&gt;/submit&lt;/b&gt; – name of the &lt;i&gt;SubmitDocument&lt;/i&gt; data connection&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="margin:0in 0in 0pt 1in;text-indent:-0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;b&gt;/doctype – &lt;/b&gt;specifying a value in this parameter is the same as ‘hardcoding’ the document type name. Since we want to submit forms via IPFS, we will have to declare the doctype in our qRules command. You may give it any name of your choosing, but remember that we will use this when we create our document type in DBXL later. For this document, we will use the name ‘&lt;i&gt;qRulesForms’&lt;/i&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span style="font-family:Symbol;"&gt;&lt;span&gt;·&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;b&gt;/name&lt;/b&gt;, &lt;b&gt;/author&lt;/b&gt;, &lt;b&gt;/desc&lt;/b&gt; – the underlines indicate that these are the field that you created above. If you click the &lt;b&gt;Edit Xpath (advanced)&lt;/b&gt; checkbox, you should see the full XPaths of the fields.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in 10pt 0.5in;"&gt;&lt;font face="Calibri"&gt;Your formula should look like this:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in 10pt 0.5in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_12.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;11.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Click &lt;b&gt;OK &lt;/b&gt;to close all the dialogs.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;12.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Our sample form will simply look like shown:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_13.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:11pt;text-transform:uppercase;line-height:115%;"&gt;&lt;font face="Calibri"&gt;IPFS-enable your form template&lt;/font&gt;&lt;/span&gt;&lt;/b&gt; &lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;1.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Go to &lt;b&gt;Tools &amp;gt; Form Options &amp;gt; Compatibility&lt;/b&gt;, and enable browser-compatibility:&lt;/font&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_14.JPG" alt="" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;2.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Make sure that the Submit button (since it makes use the qRules command) is set to &lt;u&gt;ALWAYS&lt;/u&gt; send data to the server. To do this, double-click on the Submit button to show its properties, and go to the &lt;b&gt;Browser forms &lt;/b&gt;tab, then select &lt;b&gt;Always&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_15.JPG" alt="" /&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;ol style="margin-top:0in;" start="3"&gt;
&lt;li class="MsoNormalCxSpMiddle" style="margin:0in auto auto;line-height:normal;"&gt;&lt;span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;font face="Calibri"&gt;Save your form template to your network or local hard drive. For the purposes of this document, we will name our form template &lt;i&gt;&amp;#39;qRulesForms&amp;#39;&lt;/i&gt;&lt;/font&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;&lt;span style="font-size:11pt;text-transform:uppercase;line-height:115%;"&gt;&lt;font face="Calibri"&gt;Publish your Form as an Admin-Approved Template&lt;/font&gt;&lt;/span&gt;&lt;/b&gt; 
&lt;p class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Since qRules injects code into your forms, you will have to publish your XSN as an admin-approved form template. This allows you to manage the form in one place and use it in many places.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol style="margin-top:0in;"&gt;
&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;In InfoPath’s menu, go to &lt;b&gt;File&lt;/b&gt; &lt;b&gt;&amp;gt;&lt;/b&gt; &lt;b&gt;Publish&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Select the option to publish the form template ‘To a SharePoint Server with or without InfoPath Forms Services’&lt;b&gt; &lt;/b&gt;and click &lt;b&gt;Next&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_16.JPG" alt="" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt; 
&lt;ol style="margin-top:0in;" start="3"&gt;
&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Enter the address of your SharePoint or IPFS site and click &lt;b&gt;Next&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:12pt 0in 0pt;line-height:normal;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;The next page will allow you to publish your form as an &lt;b&gt;Administrator Approved form template&lt;/b&gt;. Make sure that option is selected and click &lt;b&gt;Next&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_17.JPG" style="width:373px;height:247px;" height="247" width="373" alt="" /&gt; 
&lt;ol style="margin-top:0in;" start="5"&gt;
&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Browse to the local or network location where you wish to save your published form template to, click &lt;b&gt;Save&lt;/b&gt; and then click &lt;b&gt;Next&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Add some columns to be promoted to the SharePoint library and click &lt;b&gt;Next&lt;/b&gt;, and then click &lt;b&gt;Publish&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;font face="Calibri"&gt;You will see a message that your form was published successfully and you are to give your SharePoint Administrator the information listed on the screen.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;7. &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Click &lt;b&gt;Close&lt;/b&gt; and close &lt;b&gt;InfoPath&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;You need to be a SharePoint Administrator with access to SharePoint Central Administration to complete the next steps.&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span&gt;&lt;font face="Calibri"&gt;8. Navigate to the Central Administration web site. &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;9.&amp;nbsp;&lt;/span&gt;Click on the &lt;b&gt;Application Management &lt;/b&gt;tab.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_18.JPG" style="width:593px;height:284px;" height="284" width="593" alt="" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt; 
&lt;ol style="margin-top:0in;" start="10"&gt;
&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Under InfoPath Forms Services, click &lt;b&gt;Manage form templates&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_19.JPG" alt="" /&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt; 
&lt;ol style="margin-top:0in;" start="11"&gt;
&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;In the ‘Manage Form Templates’ page, click &lt;b&gt;Upload form template&lt;/b&gt;. &lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_20.JPG" alt="" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt; 
&lt;ol style="margin-top:0in;" start="12"&gt;
&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;In the ‘Upload Form Template’ page, browse to the location where you saved your published form template and click &lt;b&gt;Save&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_21.JPG" alt="" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt; 
&lt;ol style="margin-top:0in;" start="13"&gt;
&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Accept the other defaults and click &lt;b&gt;Upload&lt;/b&gt;. You should see a message indicating a successful upload. Click &lt;b&gt;OK&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:0in 0in 10pt;line-height:normal;"&gt;&lt;font face="Calibri"&gt;In the ‘Manage Form Templates’ page, click on the down arrow next to the&lt;span&gt; template that you just uploaded and select&lt;/span&gt;&lt;b&gt; Activate to a site collection&lt;/b&gt;.&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_22.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;font face="Calibri"&gt;15. If the Activation Location Site Collection&lt;b&gt; &lt;/b&gt;shows an incorrect site, click on the down arrow next to &lt;b&gt;Site collection&lt;/b&gt; and select &lt;b&gt;Change Site Collection&lt;/b&gt;. (Note: SharePoint almost always defaults to the &lt;i&gt;wrong&lt;/i&gt; site collection the first time a form template is activated).&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;16.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In the pop-up window, click the &lt;b&gt;Web Application&lt;/b&gt; selector menu and choose &lt;b&gt;Change Web Application&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;17.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Click &lt;b&gt;SharePoint - 80&lt;/b&gt;&lt;i&gt;,&lt;/i&gt; and then click the &lt;b&gt;&lt;i&gt;/&lt;/i&gt; &lt;/b&gt;to activate to the entire site collection. Click &lt;b&gt;OK&lt;/b&gt; twice.&lt;/font&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;18.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Close Central Administration.&lt;/font&gt;&lt;/span&gt; &lt;/blockquote&gt;&lt;a class="" title="_Create_an_IPFS-enabled" name="_Create_an_IPFS-enabled"&gt;&lt;/a&gt;&lt;span style="font-size:11pt;text-transform:uppercase;letter-spacing:0.75pt;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;a class="" title="_Create_an_IPFS-enabled_1" name="_Create_an_IPFS-enabled_1"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="font-size:11pt;text-transform:uppercase;line-height:115%;"&gt;&lt;font face="Calibri"&gt;Create an IPFS-enabled SharePoint libary&lt;/font&gt;&lt;/span&gt;&lt;/b&gt; 
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;1.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Navigate to the Site Collection in Internet Explorer.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;2.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Click &lt;b&gt;Site Actions&lt;/b&gt; &amp;gt; &lt;b&gt;Create&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_23.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;3.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Click &lt;b&gt;Document Library&lt;/b&gt; or &lt;b&gt;Form Library&lt;/b&gt; to create new library.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_24.JPG" style="width:188px;height:85px;" height="85" width="188" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;4.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Continue to the page to create your new library. Give it a name of your choosing. For the purposes of this document, we will name our library ‘&lt;i&gt;qRulesForms&lt;/i&gt;’. Select the options as desired, then click &lt;b&gt;Create&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;5.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Go to the library created and click &lt;b&gt;Settings&lt;/b&gt; &amp;gt; &lt;b&gt;Form Library Settings&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin:0in 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_25.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;6.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Click &lt;b&gt;Advanced settings&lt;/b&gt; under &lt;i&gt;General Settings&lt;/i&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_26.JPG" alt="" /&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;7.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;In the Advanced Settings Page, select &lt;b&gt;Yes&lt;/b&gt; under &lt;b&gt;Allow management of content types&lt;/b&gt;, &lt;/span&gt;click &lt;b&gt;Display as a Web page&lt;/b&gt; to open forms in the browser, then click &lt;b&gt;OK&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_27.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;8.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Back on the Library Settings Page, you should now see a section called &lt;b&gt;Content Types&lt;/b&gt;. Choose the link &lt;b&gt;Add from existing site content types.&lt;/b&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_28.JPG" alt="" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;9.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Find your administrator-deployed template name in the &lt;b&gt;Available Site Content Types&lt;/b&gt; list box and click &lt;b&gt;Add&lt;/b&gt;, then click &lt;b&gt;OK&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;10. &lt;font face="Calibri"&gt;Back in Settings page, click &lt;b&gt;Change new button order and default content type&lt;/b&gt; under Content Type section.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_29.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;11. &lt;font face="Calibri"&gt;Uncheck the Visible check box for Content Type ‘Form’ or ‘Document’ and click &lt;b&gt;OK&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Now when users click the &lt;b&gt;New&lt;/b&gt; button in the document library, your Administrator-Enable form will launch.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:11pt;text-transform:uppercase;letter-spacing:0.75pt;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;a class="" title="_Create_a_document_1" name="_Create_a_document_1"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="font-size:11pt;text-transform:uppercase;line-height:115%;"&gt;&lt;font face="Calibri"&gt;Create a document type in DBXL&lt;/font&gt;&lt;/span&gt;&lt;/b&gt; 
&lt;p class="MsoListParagraph" style="margin:10pt 0in 0pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;1.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In DBXL, click on &lt;b&gt;New Configuration&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 0pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_30.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;2.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In the &lt;i&gt;General &lt;/i&gt;tab, &lt;i&gt;Document Type &lt;/i&gt;details section, enter the &lt;b&gt;Document Type Name&lt;/b&gt;, making sure that it matches the same name that was hardcoded into the form. In this case, we used the name ‘&lt;i&gt;qRulesForms&lt;/i&gt;’.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_31.JPG" style="width:477px;height:66px;" height="66" width="477" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:0in 0in 10pt;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;3.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Click on the file attachment control in the &lt;b&gt;InfoPath Form Template&lt;/b&gt; section and attach the admin-approved form template that you have published and saved locally (i.e. &lt;u&gt;not the one in SharePoint&lt;/u&gt;).&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_32.JPG" style="width:313px;height:133px;" height="133" width="313" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;4.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Click &lt;b&gt;Save&lt;/b&gt;, and then &lt;b&gt;OK&lt;/b&gt; in the confirmation dialog.&lt;/font&gt;&lt;/p&gt;&lt;span style="font-size:11pt;text-transform:uppercase;letter-spacing:0.75pt;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;a class="" title="_Test_the_Solution_1" name="_Test_the_Solution_1"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="font-size:11pt;text-transform:uppercase;line-height:115%;"&gt;&lt;font face="Calibri"&gt;Test the Solution&lt;/font&gt;&lt;/span&gt;&lt;/b&gt; 
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;1.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Test creating and updating a new document from the browser.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;a.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In the DBXL Administration Tool (DAT), click the &lt;b&gt;Documents&lt;/b&gt; tab and observe that there are no documents listed.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;b.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In your IPFS library, click on the down arrow next to &lt;b&gt;New &lt;/b&gt;and select the admin-approved form template that you have published.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_33.JPG" style="width:265px;height:101px;" height="101" width="265" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;c.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;The form will open in the browser. Fill out the fields and click on the &lt;b&gt;Submit &lt;/b&gt;button. (Do not close the form.)&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_34.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;d.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In DAT, click &lt;b&gt;Refresh&lt;/b&gt; and verify that the submitted document appears.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_35.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;e.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Back in the form in IPFS, modify the description and click &lt;b&gt;Submit&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_36.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;f.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In DAT, click &lt;b&gt;Refresh&lt;/b&gt; and verify that the document is now showing the modified value in the &lt;i&gt;Description&lt;/i&gt; column. Notice that the DocID column has not changed because the form is now connected to the previously submitted document.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_37.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;2.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Test opening and updating an existing document from the browser.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;a.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;To open an existing document, specify the DocID parameter in the URL.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;"&gt;&lt;font face="Calibri"&gt;You can identify a document ID by looking in DAT under the DocID column. The URL to open this document would then look like: &lt;span&gt;&lt;u&gt;&lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;font color="#0000ff"&gt;http://&lt;/font&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;span style="color:red;"&gt;&amp;lt;YourServerName&amp;gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;/_layouts/formserver.aspx?XsnLocation=/FormServerTemplates/&lt;/font&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;span style="color:red;"&gt;&amp;lt;FormTemplatePublished&amp;gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;.xsn&amp;amp;OpenIn=Browser&amp;amp;DocID=&lt;/font&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;span style="color:red;"&gt;&amp;lt;DocumentID&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;i&gt;.&lt;/i&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;b.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;In a new web browser window, navigate to this URL, replacing &lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;span style="color:red;"&gt;&lt;u&gt;&amp;lt;YourServerName&amp;gt;&lt;/u&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt; with yours, changing &lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;span style="color:red;"&gt;&lt;u&gt;&amp;lt;FormTemplatePublished&amp;gt;&lt;/u&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt; with the name of your admin-approved template which in this case is ‘&lt;i&gt;qRulesForms&lt;/i&gt;’, and setting the &lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;span style="color:red;"&gt;&lt;u&gt;&amp;lt;DocumentID&amp;gt;&lt;/u&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt; parameter to the one for your document. In this case, the document we have submitted in Step 1 has a DocID of 253. Your URL should then look like: &lt;/font&gt;&lt;a href="http://mysharepointsite/_layouts/formserver.aspx?XsnLocation=/FormServerTemplates/qRulesForms.xsn&amp;amp;OpenIn=Browser&amp;amp;DocID=253"&gt;&lt;i&gt;&lt;font face="Calibri"&gt;http://mySharePointSite/_layouts/formserver.aspx?XsnLocation=/FormServerTemplates/qRulesForms.xsn&amp;amp;OpenIn=Browser&amp;amp;DocID=253&lt;/font&gt;&lt;/i&gt;&lt;/a&gt;&lt;i&gt;&lt;font face="Calibri"&gt;.&lt;/font&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;c.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Verify that your form opens in the browser without errors. &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;d.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Modify the description and click &lt;b&gt;Submit&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;e.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In DAT, click &lt;b&gt;Refresh&lt;/b&gt; and verify that the document shows the changed value in the &lt;i&gt;Description&lt;/i&gt; column.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;3.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Test submitting documents via DBXL and opening them in the browser.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;a.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In DAT, go to the &lt;i&gt;General &lt;/i&gt;tab and click on the &lt;b&gt;Download&lt;/b&gt; icon&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_61.JPG" alt="" /&gt;&lt;/font&gt;&lt;span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to open the form in InfoPath.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;b.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Fill out the form fields and click &lt;b&gt;Submit&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;c.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Go to the &lt;b&gt;Documents &lt;/b&gt;tab and verify that the submitted document appears.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;d.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Open the document in the browser by passing in the DocID parameter in the URL. Use the same URL as before, replacing DocID with that of the newly-submitted document.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;e.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Verify that your form opens in the browser without errors.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;f.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Continue submitting new documents to have at least 3 in preparation for the next task.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:11pt;text-transform:uppercase;line-height:115%;"&gt;&lt;font face="Calibri"&gt;Create a data view to access your DBXL forms&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Calibri"&gt;To make the process of opening and submitting documents easier, it will be best to add a data view to the SharePoint site that would list all the documents in DBXL via the &lt;i&gt;GetListItems&lt;/i&gt; method. This requires the installation of SharePoint Designer.&lt;/font&gt;&lt;/span&gt; 
&lt;ol style="margin-top:0in;"&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;In the SharePoint Designer menu, go to &lt;b&gt;File &amp;gt; Open Site&lt;/b&gt;.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;&lt;span&gt;Enter the URL for your SharePoint site and click &lt;b&gt;Open&lt;/b&gt;&lt;/span&gt;.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;In the ‘Folder List’&lt;i&gt; &lt;/i&gt;pane, navigate to the SharePoint library that you created in the previous steps, which in this case is ‘&lt;i&gt;qRulesForms&lt;/i&gt;’.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;Expand &lt;b&gt;qRulesForms &amp;gt; Forms&lt;/b&gt;, and double-click on &lt;b&gt;AllItems.aspx&lt;/b&gt; to open it in the designer.&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;In the menu, go to &lt;b&gt;Data View&lt;/b&gt; &amp;gt; &lt;b&gt;Manage Data Sources&lt;/b&gt;.&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_38.JPG" style="width:210px;height:73px;" height="73" width="210" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;6.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Under &lt;b&gt;XML Web Services&lt;/b&gt;, click &lt;b&gt;Connect to a web service&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_39.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in 10pt 0.25in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;7.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Enter the &lt;b&gt;Service Description Location&lt;/b&gt; (URL) to the DBXLDocumentService, usually located at &lt;span&gt;&lt;span class="MsoHyperlink"&gt;&lt;u&gt;&lt;font color="#0000ff"&gt;http://&amp;lt;servername&amp;gt;/QdabraWebService/DbxlDocumentService.asmx&lt;/font&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;, and click &lt;b&gt;Connect&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_40.JPG" alt="" /&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;8.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In the Operation dropdown, select &lt;b&gt;GetListItems&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_41.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-indent:0.5in;"&gt;&lt;font face="Calibri"&gt;You should be able to see the following:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-indent:0.5in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_42.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;9.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Select &lt;b&gt;listName&lt;/b&gt; and click &lt;b&gt;Modify&lt;/b&gt;, then enter the name of the Document Type you wish to query. Remember that we have already created a document type and have named it ‘&lt;i&gt;qRulesForms&lt;/i&gt;’.&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_43.JPG" alt="" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;10.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Click &lt;b&gt;OK&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;11.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Go to the &lt;b&gt;General&lt;/b&gt; tab and enter a name for the connection.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_44.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;12.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Go to the &lt;b&gt;Login&lt;/b&gt; tab and select &lt;b&gt;Use Windows authentication&lt;/b&gt;, then click &lt;b&gt;OK&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_45.JPG" alt="" /&gt;&lt;/p&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;13.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;The new web service connection will show up under &lt;b&gt;XML Web Services&lt;/b&gt; in the Data Source Library. Click the down arrow for the connection you just created and click on &lt;b&gt;Show Data&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt; 
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_46.JPG" alt="" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Calibri"&gt;The Data Source Details tab will show the columns retrieved from the Document Type. For the purposes of this document, we will do the following:&lt;/font&gt;&lt;/span&gt; &lt;/blockquote&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;14.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Hold down the &lt;i&gt;Ctrl&lt;/i&gt; key and use your mouse to click on the &lt;b&gt;DocID&lt;/b&gt;, &lt;b&gt;Name&lt;/b&gt;, &lt;b&gt;Author&lt;/b&gt; and &lt;b&gt;Description&lt;/b&gt;. &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_47.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;15.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Drag and drop these columns onto a location on the page where you wish to display this data. Your canvas should now look like this:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_48.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;a class="" title="_Toc242226397" name="_Toc242226397"&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;16.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Add a hyperlink to open the documents in the browser&lt;/font&gt;&lt;font face="Calibri"&gt;:&lt;/font&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;a.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Click on&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_49.JPG" alt="" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;next to any entry in the column you wish to display form links in. A menu will appear:&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_50.JPG" alt="" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;b.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Select &lt;b&gt;Hyperlink&lt;/b&gt; in the ‘Format as’ dropdown. Click &lt;b&gt;Yes &lt;/b&gt;when prompted.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;c.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In the ‘Edit Hyperlink’ dialog, click on the &lt;b&gt;Parameters &lt;/b&gt;button.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_51.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;d.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;Remove the text in the Path field and enter &lt;/span&gt;&lt;span&gt;&lt;span class="MsoHyperlink"&gt;&lt;span&gt;&lt;u&gt;&lt;font color="#0000ff"&gt;http://&amp;lt;YourServerName&amp;gt;/_layouts/FormServer.aspx&lt;/font&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;, replacing &amp;lt;YourServerName&amp;gt; with yours.&lt;/span&gt;&lt;/font&gt; 
&lt;p&gt;&lt;span&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_52.JPG" alt="" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;ol style="margin-top:0in;" start="16"&gt;
&lt;ol style="margin-top:0in;" start="5"&gt;
&lt;li class="MsoNormal" style="margin:10pt 0in;"&gt;&lt;font face="Calibri"&gt;Click on the &lt;b&gt;Add&lt;/b&gt; button to start adding your query string parameters:&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;i.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;In the &lt;b&gt;Name &lt;/b&gt;field, enter &lt;b&gt;XsnLocation&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;ii.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;In the &lt;b&gt;Value &lt;/b&gt;field, enter the relative path to the published form template, e.g. &lt;/font&gt;&lt;/span&gt;&lt;a href="http://daldevappspp2/sites/LCS/FormServerTemplates/LCS_Reviews.xsn"&gt;&lt;span&gt;&lt;font face="Calibri"&gt;/FormServerTemplates/qRulesForms.xsn&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;font face="Calibri"&gt;, then click &lt;b&gt;OK&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_53.JPG" alt="" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Continue to add the following parameters:&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;iii.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;DefaultItemOpen = 1&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_54.JPG" style="width:295px;height:185px;" height="185" width="295" alt="" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;iv.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;DocID = {@DocID} (Select &lt;b&gt;XSL: DocID&lt;/b&gt; from the Value dropdown and remove the &lt;b&gt;@&lt;/b&gt; sign in the &lt;b&gt;Name&lt;/b&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_55.JPG" alt="" /&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;v.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;OpenIn = Browser&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_56.JPG" alt="" /&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;vi.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Source = (relative path where the user is taken when they close the document), e.g. /qRulesForms/Forms/AllItems.aspx.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_57.JPG" alt="" /&gt;&lt;/font&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;&lt;span&gt;&lt;font face="Calibri"&gt;You should now have the following Query strings:&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_58.JPG" alt="" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;f.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Click &lt;b&gt;OK&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;&lt;span&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;g.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;In the ‘Edit Hyperlink’ dialog, enter {@Name} as the text to display.&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt; 
&lt;p&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_59.JPG" alt="" /&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;h.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Verify that the link generated in the Address field is correct. The address should be in the format: &lt;span&gt;&lt;u&gt;&lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;font color="#0000ff"&gt;http://&lt;/font&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;span style="color:red;"&gt;&amp;lt;YourServerName&amp;gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;/_layouts/formserver.aspx?XsnLocation=/FormServerTemplates/&lt;/font&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;span style="color:red;"&gt;&amp;lt;FormTemplatePublished&amp;gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;.xsn&amp;amp;DefaultItemOpen=1&amp;amp;DocID={@DocID}&amp;amp;OpenIn=Browser&amp;amp;Source=/&lt;/font&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class="MsoHyperlink"&gt;&lt;i&gt;&lt;span style="color:red;"&gt;&amp;lt;YourSharePointLibary&amp;gt;&lt;/span&gt;&lt;font color="#0000ff"&gt;/Forms/AllItems.aspx&lt;/font&gt;&lt;/i&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 1in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;i.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;span&gt;Click &lt;b&gt;OK &lt;/b&gt;to close the &lt;b&gt;Edit Hyperlink &lt;/b&gt;dialog.&lt;/span&gt; &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;17.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In the menu, click &lt;b&gt;File&lt;/b&gt; &amp;gt; &lt;b&gt;Save&lt;/b&gt; to save the changes to your SharePoint library.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;span&gt;&lt;span&gt;&lt;font face="Calibri"&gt;18.&lt;/font&gt;&lt;span style="font:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In Internet Explorer, navigate to your SharePoint library. You will now see your new data view added onto your SharePoint library.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph" style="margin:10pt 0in 10pt 0.5in;text-indent:-0.25in;"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/dbxl_ipfs/figure_60.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin:10pt 0in;text-align:center;" align="center"&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Calibri"&gt;Test opening new forms in the browser by clicking on the &lt;b&gt;New&lt;/b&gt; link, and submitting using the &lt;b&gt;Submit&lt;/b&gt; button. Your form will be submitted to DBXL and get displayed on your SharePoint data view. Test opening existing forms and verify that they open in the browser, and that you can modify and submit any changes.&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=55443" width="1" height="1"&gt;</content><author><name>jose cruz</name><uri>http://www.infopathdev.com/members/jose-cruz.aspx</uri></author><category term="DBXL" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/DBXL/default.aspx" /><category term="IPFS" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/IPFS/default.aspx" /><category term="DAT" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/DAT/default.aspx" /></entry><entry><title>How to use the SetValue command</title><link rel="alternate" type="text/html" href="http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/05/28/how-to-use-the-setvalue-command.aspx" /><id>http://www.infopathdev.com/blogs/mel_balsamo/archive/2010/05/28/how-to-use-the-setvalue-command.aspx</id><published>2010-05-28T07:26:00Z</published><updated>2010-05-28T07:26:00Z</updated><content type="html">&lt;font size="2" face="Calibri"&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;InfoPath allows us to set the value of a target field by using rules. We can even filter which field we want to set the value of. However, it can be a problem if that field happens to be in a repeating group.&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;The qRules &lt;b style="mso-bidi-font-weight:normal;"&gt;SetValue &lt;/b&gt;command allows us to define the XPath to the target field. Using XPath filters with the SetValue command, setting a field’s value can be extremely easy when dealing with repeating data.&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 0pt 0.5in;mso-list:l0 level1 lfo1;" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;·&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;font face="Calibri"&gt;Arguments:&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 63.35pt;mso-add-space:auto;mso-list:l0 level2 lfo1;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span style="mso-list:Ignore;"&gt;o&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;xpath&lt;/b&gt;: XPath to the field to set&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 63pt;mso-list:l0 level2 lfo1;" class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span style="mso-list:Ignore;"&gt;o&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;value&lt;/b&gt;:&lt;b style="mso-bidi-font-weight:normal;"&gt; &lt;/b&gt;New value for the field being set&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 0.5in;mso-list:l0 level1 lfo1;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;·&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;font face="Calibri"&gt;Examples:&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:0in 0in 0pt 63.35pt;mso-add-space:auto;mso-list:l0 level2 lfo1;" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span style="mso-list:Ignore;"&gt;o&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;&lt;font face="Calibri"&gt;SetValue /xpath=/my:myFields/my:Group/my:RepeatingGroup/my:field2[../my:field1=&amp;#39;abc&amp;#39;] /value=ABC&lt;/font&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 63.35pt;mso-list:l0 level2 lfo1;" class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-fareast-font-family:&amp;#39;Courier New&amp;#39;;"&gt;&lt;span style="mso-list:Ignore;"&gt;o&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;&lt;font face="Calibri"&gt;concat(&amp;quot;SetValue /xpath=my:myFields/my:Group/my:RepeatingGroup/my:field2[../my:field1=&amp;#39;&amp;quot;, &lt;u&gt;Filter&lt;/u&gt;, &amp;quot;&amp;#39;] /value=&amp;quot;, &lt;u&gt;Value&lt;/u&gt;)&lt;/font&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoListParagraph"&gt;&lt;font face="Calibri"&gt;This document assumes that you already have a qRules-injected form template. To demonstrate how the above examples work, design your form template based on the following guidelines/steps:&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;1.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Your main data source structure should be similar to this (all use a string data type):&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;img style="WIDTH:269px;HEIGHT:394px;" align="middle" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qRules/setvalue/figure_01.JPG" width="269" height="394" alt="" /&gt;&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in 10pt 0.5in;" class="MsoListParagraph" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;2.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;You have the following layout and controls on your canvas:&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;img style="WIDTH:593px;HEIGHT:181px;" align="middle" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qRules/setvalue/figure_02.JPG" width="593" height="181" alt="" /&gt;&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoListParagraph" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;3.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In your ‘Set Value’ button properties, click on &lt;b style="mso-bidi-font-weight:normal;"&gt;Rules&lt;/b&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;4.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Add a rule that has an action that sets the value of your QdabraRules (Secondary) data source &lt;b style="mso-bidi-font-weight:normal;"&gt;Command&lt;/b&gt; node:&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;img style="WIDTH:320px;HEIGHT:365px;" align="middle" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qRules/setvalue/figure_03.JPG" width="320" height="365" alt="" /&gt;&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoListParagraph" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font face="Calibri"&gt;to: &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;SetValue /xpath=/my:myFields/my:Group/my:RepeatingGroup/my:field2[../my:field1=&amp;#39;a&amp;#39;] /value=Test&lt;/i&gt;&lt;/b&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;&lt;/i&gt;&lt;/font&gt; 
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in 10pt 0.5in;" class="MsoListParagraph" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;&lt;img style="WIDTH:344px;HEIGHT:245px;" align="middle" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qRules/setvalue/figure_04.JPG" width="344" height="245" alt="" /&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;5.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Preview your form template.&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;6.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Insert at least 5 items in your repeating table.&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;7.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;In the Field 1 column, fill out some fields with the text ‘a’, and others with random texts, like shown:&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;img style="WIDTH:593px;HEIGHT:194px;" align="middle" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qRules/setvalue/figure_05.JPG" width="593" height="194" alt="" /&gt;&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoListParagraph" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;8.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Click on the ‘Set Value’ button. You should get the result as shown:&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;img style="WIDTH:593px;HEIGHT:154px;" align="middle" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qRules/setvalue/figure_06.JPG" width="593" height="154" alt="" /&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoListParagraph" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoListParagraph"&gt;&lt;font face="Calibri"&gt;In this example, we set our qRules Command to:&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoListParagraph"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;&lt;font face="Calibri"&gt;SetValue &lt;span style="COLOR:red;"&gt;/xpath=/my:myFields/my:Group/my:RepeatingGroup/my:field2[../my:field1=&amp;#39;a&amp;#39;]&lt;/span&gt; &lt;span style="COLOR:#00b050;"&gt;/value=Test&lt;/span&gt;&lt;/font&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoListParagraph"&gt;&lt;font face="Calibri"&gt;Using this command syntax, qRules will set the value of any row in the Field 2 column that has ‘a’ in Field 1. It sets the value of Field 2 to ‘Test’.&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoListParagraph"&gt;&lt;font face="Calibri"&gt;Like the other qRules command, you can also use a ‘concat’ statement if you wish to use specific fields with dynamic values in your parameters. For the next example, we’ll use the command syntax:&lt;/font&gt;&lt;/p&gt;&lt;font face="Calibri"&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;concat(&amp;quot;SetValue &lt;span style="COLOR:red;"&gt;/xpath=my:myFields/my:Group/my:RepeatingGroup/my:field2[../my:field1=&amp;#39;&amp;quot;, &lt;u&gt;Filter&lt;/u&gt;, &amp;quot;&amp;#39;]&lt;/span&gt; &lt;span style="COLOR:#00b050;"&gt;/value=&amp;quot;, &lt;u&gt;Value&lt;/u&gt;&lt;/span&gt;)&lt;/i&gt;&lt;/b&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;&lt;/i&gt;&lt;/font&gt; 
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;9.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Back on your canvas in Design mode, change your button rule to set the value of the qRules &lt;b style="mso-bidi-font-weight:normal;"&gt;Command &lt;/b&gt;node to the concat statement above. Note that since ‘concat’ is an InfoPath function, you will have to enter it as a formula, pointing &lt;u&gt;Filter&lt;/u&gt; and &lt;u&gt;Value&lt;/u&gt; to their respective nodes in the main data source:&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;img style="WIDTH:369px;HEIGHT:244px;" align="middle" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qRules/setvalue/figure_07.JPG" width="369" height="244" alt="" /&gt;&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in 10pt 0.5in;" class="MsoListParagraph" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;10.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Preview your form template.&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;11.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Enter ‘John’ in the &lt;u&gt;Filter&lt;/u&gt; text box and ‘John Smith’ in the &lt;u&gt;Value&lt;/u&gt; text box.&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;12.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Insert at least 5 items in your repeating table, filling out some fields with the text ‘John’, and others with random texts, like shown:&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;img style="WIDTH:593px;HEIGHT:258px;" align="middle" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qRules/setvalue/figure_08.JPG" width="593" height="258" alt="" /&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoListParagraph"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;13.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri"&gt;Click on the ‘Set Value’ button. You should get the result as shown:&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:-0.25in;MARGIN:10pt 0in 10pt 0.5in;mso-list:l1 level1 lfo2;" class="MsoListParagraph"&gt;&lt;img style="WIDTH:593px;HEIGHT:155px;" align="middle" src="http://www.infopathdev.com/blogs/mel_balsamo/images/qRules/setvalue/figure_09.JPG" width="593" height="155" alt="" /&gt;&lt;/p&gt;
&lt;p style="TEXT-ALIGN:center;MARGIN:10pt 0in;" class="MsoListParagraph" align="center"&gt;&lt;span style="mso-no-proof:yes;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:10pt 0in;" class="MsoListParagraph"&gt;&lt;font face="Calibri"&gt;When you’ve started using the &lt;b style="mso-bidi-font-weight:normal;"&gt;SetValue &lt;/b&gt;command in your InfoPath solutions, you’ll see how helpful it is and how it can make dealing with repeating data easier.&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;img src="http://www.infopathdev.com/aggbug.aspx?PostID=55407" width="1" height="1"&gt;</content><author><name>jose cruz</name><uri>http://www.infopathdev.com/members/jose-cruz.aspx</uri></author><category term="qRules" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/qRules/default.aspx" /><category term="SetValue" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/SetValue/default.aspx" /><category term="How To" scheme="http://www.infopathdev.com/blogs/mel_balsamo/archive/tags/How+To/default.aspx" /></entry></feed>