<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.infopathdev.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>qForm</title><link>http://www.infopathdev.com/files/folders/qform/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>Using qForm’s taskpane search</title><link>http://www.infopathdev.com/files/folders/qform/entry31715.aspx</link><pubDate>Tue, 26 Aug 2008 19:48:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31715</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The QdCatalogBase.xsn InfoPath form, better known as qForm, is included in every DBXL v2.2 installation. Among other features, this form template allows for taskpane search, which empowers users to quickly find documents within their forms. To begin using search, simply enter the desired search term into the Search field in the taskpane and click OK.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Simple Search&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Search supports matching based on literal substrings. In other words, you can enter any text that you want to search on but it must be in the order you want to search. For example, if your text contains &amp;quot;John ate an apple&amp;quot;, then searching for &amp;quot;John apple&amp;quot; would not match, while searching for &amp;quot;John ate&amp;quot; would.&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;For special formatting, make sure you follow the order of the text field. For example, if the data string stored in the form is “Smith, John”. The search will be successful if the user entered “Smith, John”, but entering “John Smith” will return no forms.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;The date format is a special case. For instance, if the form displays the date field as “10/29/2007”, you will have to enter the search string using the xml format, in this case“2007-10-29”.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Search does not support combination searches. For example, searching for “Smith 2007-10-29” will not return documents with name Smith and date 10/29/2007.&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Search is not case sensitive.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Search will search all documents regardless of workflow status. In other words, while qForm’s Catalog view does not display documents with status Closed by default, search operations will include documents with status Closed.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Tip: &lt;/strong&gt;If you know the DocID (Document ID) of your form, just type that number into the search field and click OK to display that document. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Advanced Search&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For more advanced searching capabilities, you are able to select between searching Properties and Data by checking or un-checking the appropriate checkboxes. &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;“Properties” refers to metadata, namely author, name and description. Even if you have not specified metadata for your form, all qForm XML will contain the following processing instruction: &amp;lt;?QdabraDBXL docid=&amp;quot;12345&amp;quot; doctype=&amp;quot;DocumentType&amp;quot; name=&amp;quot;FormName&amp;quot; author=&amp;quot;John Smith&amp;quot; description=&amp;quot;Test form&amp;quot; ?&amp;gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&amp;quot;Data&amp;quot; refers to the contents of the actual XML document. This is relevant when qForm has been customized to contain other fields. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Note: &lt;/strong&gt;If the OK button is disabled, make sure that one of the two checkboxes is checked.&lt;/p&gt;</description><enclosure url="http://www.infopathdev.com/files/folders/31715/download.aspx" length="58368" type="application/octet-stream" /></item><item><title>How To Localize Your InfoPath with QdCatalogBase</title><link>http://www.infopathdev.com/files/folders/qform/entry31601.aspx</link><pubDate>Wed, 20 Aug 2008 21:28:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31601</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;To ensure global compatibility, QdCatalogBase uses a mechanism for providing localized strings for all labels and other static text in the form¬¬. To edit the values that already exist, you must open the underlying XML and change the text there.&lt;/p&gt;
&lt;p&gt;As seen in Figure 1, double-clicking any of the expression boxes on the form will show you where the value is pulled from at run-time.&amp;nbsp;&amp;nbsp; The value of this node changes dynamically based on what language is selected.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31592/original.aspx" border="1" alt="" /&gt;&lt;br /&gt;&lt;em&gt;Figure 1. Changing the &amp;lt;Form Name&amp;gt; value.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The first thing you will want to do when creating a new form based off of QdCatalogBase is change the &amp;lt;Form Name&amp;gt; value to the name of the form you are developing.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;strong&gt;Modify the &amp;lt;Form Name&amp;gt; node&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1.&amp;nbsp;From your DBXL installation, download the latest version of the XSN for the QdCatalogBase Document Type to your local drive.&lt;br /&gt;2.&amp;nbsp;Right-click the XSN and select Design to open it in InfoPath.&lt;br /&gt;3.&amp;nbsp;In the Edit view, add three text fields for the following fields: First name, Last name and Telephone, as shown in Figure 2.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31593/original.aspx" border="1" alt="" /&gt;&lt;br /&gt;&lt;em&gt;Figure 2&lt;br /&gt;&lt;/em&gt;&amp;nbsp;&lt;br /&gt;4.&amp;nbsp;From the File menu, select Save as Source Files (or Extract Form Files for InfoPath 2003), and then choose a directory to save the source files to. Close InfoPath.&lt;br /&gt;5.&amp;nbsp;Open the QdLanguageSource.xml file with the text editor of your choice and find the node specified by the XPath on the expression box.&amp;nbsp; In our example, this would be the /LanguageSource/cv_form_name node.&lt;br /&gt;6.&amp;nbsp;Edit the value of all instances of this node, making sure to translate the new value into each of the respective languages.&lt;br /&gt;7.&amp;nbsp;Save and close the file.&lt;br /&gt;8.&amp;nbsp;From the folder with all of the source files, right-click the manifest.xsf file and select Design.&lt;br /&gt;9.&amp;nbsp;From the File menu, select Publish and publish a new version of the XSN to your local hard drive. Save the file and close InfoPath.&lt;br /&gt;10.&amp;nbsp;In DAT, add a new configuration and attach the new XSN. When you open this configuration, the form will show the form name you entered. Save the configuration as SampleDocType.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Add Localized Text in QdCatalogBase&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;To add custom values you must edit the XSD file to add the node, and then correspondingly add the node and value to the XML file.&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;Edit the QdCurrentLanguage.xsd and QdLanguageSource.xsd files to specify the new nodes, as seen in Figure 3 for QdCurrentLanguage.xsd.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31594/original.aspx" border="1" alt="" /&gt;&lt;br /&gt;Figure 3&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Add the new nodes with a blank value to the QdCurrentLanguage.xml file.&amp;nbsp; Be sure to place the nodes in the correct location, as specified by the schema changes in step 2. For our sample form, we have added the nodes seen in Figure 4.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31595/original.aspx" border="1" alt="" /&gt;&lt;br /&gt;&lt;em&gt;Figure 4&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;Add a copy of the new nodes to each of the defined Language elements in the QdLanguageSource.xml file, as seen in Figure 5.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31596/original.aspx" border="1" alt="" /&gt;&amp;nbsp;&lt;br /&gt;&lt;em&gt;Figure 5&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp;Save all files and open manifest.xsf in Design mode.&lt;br /&gt;5.&amp;nbsp;Add an expression box pointing to the new nodes that were added to QdCurrentLanguage.xml, as seen in Figure 6.&lt;br /&gt;6.&amp;nbsp;Preview the form to make sure everything is working correctly.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31597/original.aspx" border="1" alt="" /&gt;&amp;nbsp;&lt;br /&gt;&lt;em&gt;Figure 6&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;7.&amp;nbsp;Publish a new XSN, and upload this into the configuration SampleDocType.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Add Multi-language support&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;With a few modifications in these language files, we can add multi-language support to our forms.&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;Using a text editor, open QdLanguageSource.xml. The third line of the file contains the beginning of the node: &amp;lt;Language locale=&amp;quot;en-US&amp;quot; displayName=&amp;quot;English&amp;quot;&amp;gt;. By copying this entire node, we can create a second locale. Copy the whole node, until the ending &amp;lt;/Language&amp;gt; tag, and paste it immediately below.&lt;br /&gt;2.&amp;nbsp;In this example, we will localize the form to Spanish. Change the locale to “es-AR” and the displayName to Español.&lt;br /&gt;3.&amp;nbsp;In a real world situation, you would have to translate the content of each of the nodes contained within the &amp;lt;Language&amp;gt; node. For the purposes of this example, we will only translate the four that were modified earlier in this form. Change the content of the &amp;lt;cv_form_name&amp;gt; node to Información, as well as the contents of the &amp;lt;cv_firstname&amp;gt;, &amp;lt;cv_lastname&amp;gt; and &amp;lt;cv_telephone&amp;gt;, as seen in Figure 7. Save and close the file.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31598/original.aspx" border="1" alt="" /&gt;&amp;nbsp;&lt;br /&gt;&lt;em&gt;Figure 7&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp;From the folder with all of the source files, right-click the manifest.xsf file and select Design.&lt;br /&gt;5.&amp;nbsp;From the File menu, select Publish and publish a new version of the XSN to your local hard drive. Save the file.&lt;br /&gt;6.&amp;nbsp;From DAT, add a new configuration and upload the new XSN. &lt;br /&gt;7.&amp;nbsp;Save the configuration as SampleDocType.&lt;br /&gt;8.&amp;nbsp;Open the configuration and select Español from the language dropdown, as seen in Figure 8. &lt;br /&gt;9.&amp;nbsp;Click on Add Document.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31599/original.aspx" border="1" alt="" /&gt;&amp;nbsp;&lt;br /&gt;&lt;em&gt;Figure 8&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;10.&amp;nbsp;When the Edit View opens, you will see the title as well as the three fields displayed in Spanish.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31600/original.aspx" border="1" alt="" /&gt;&amp;nbsp;&lt;br /&gt;&lt;em&gt;Figure 9&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;</description><enclosure url="http://www.infopathdev.com/files/folders/31601/download.aspx" length="386560" type="application/octet-stream" /></item><item><title>How to use the template feature in qForm</title><link>http://www.infopathdev.com/files/folders/qform/entry31590.aspx</link><pubDate>Wed, 20 Aug 2008 19:28:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31590</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;A&amp;nbsp;qForm-based solution allows the user to save a template file which can then be used as a starting point for future document entries. For illustration purposes we will use the unmodified QdCatalogBase.xsn that comes with the DBXL v2.2 installation.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Prepare the Document Type Configuration&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;Open the DBXL Administration Tool (DAT) and click on New Configuration.&lt;br /&gt;2.&amp;nbsp;In the InfoPath Form Template table, click on Click here to attach a file.&lt;br /&gt;3.&amp;nbsp;Attach the QdCatalogBase.xsn form, located in C:\Inetpub\wwwroot\QdabraWebService\install in default installations.&lt;br /&gt;4.&amp;nbsp;Enter a Name in the Document Type Details table and click Save. Click OK in the confirmation dialog.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fill out the template&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;5.&amp;nbsp;Click on the Open link under the File Attachment Control.&lt;br /&gt;6.&amp;nbsp;Click on the + Add Document button.&lt;br /&gt;7.&amp;nbsp;Enter any desired values into the Name, Author and Description fields. &lt;br /&gt;8.&amp;nbsp;Click on the Save As Template button in the taskpane.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31586/original.aspx" border="1" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;9.&amp;nbsp;Click Close to return to the Catalog view.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fill out a new form based on the template&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;10.&amp;nbsp;When you are returned to the Catalog View, no documents will show. You will need to use the taskpane section called Advanced to select Templates in order to show the template just created in Step 9.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31587/original.aspx" border="1" alt="" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;11.&amp;nbsp;There are two icons next to each template. We will click the first icon to create a new Normal document based on this template. &lt;/p&gt;
&lt;p&gt;&lt;img style="WIDTH:639px;HEIGHT:209px;" height="209" src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31588/original.aspx" width="639" border="1" alt="" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;12.&amp;nbsp;Modify the Name, Author or Description field, and then click on the Save button in the taskpane. Note that the DocID field will be updated to a new number, indicating that a new document has been saved.&lt;br /&gt;13.&amp;nbsp;Click Close to return to the Catalog view.&lt;br /&gt;14.&amp;nbsp;In the taskpane, select Normal Documents in the Advanced section. You will see the document you have saved in Step 12.&lt;br /&gt;Modify the template&lt;br /&gt;15.&amp;nbsp;Click on Templates in the Advanced section to once again list the template.&lt;br /&gt;16.&amp;nbsp;In order to modify the template itself, click the second icon.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31589/original.aspx" border="1" alt="" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;17.&amp;nbsp;Modify the Name, Author or Description field, and then click on the Save button in the taskpane. Note that the DocID field will NOT be updated to a new number, indicating that a new document has NOT been saved. Instead, we have just modified the template.&lt;br /&gt;18.&amp;nbsp;Click Close to return to the Catalog view. You will see that, indeed, there is only one template listed.&lt;/p&gt;</description><enclosure url="http://www.infopathdev.com/files/folders/31590/download.aspx" length="118784" type="application/octet-stream" /></item><item><title>How To Manage qForm’s Client Side Notifications</title><link>http://www.infopathdev.com/files/folders/qform/entry31585.aspx</link><pubDate>Wed, 20 Aug 2008 19:14:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31585</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;While the QdNotifications Document Type allows DBXL to send server-side emails, a small modification in your qForm-based solution will allow DBXL to send client-side notifications.&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;Open your qForm solution in InfoPath design mode.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;Open InfoPath, select Design a Form Template, select On my Computer and select your qForm-based solution.&lt;br /&gt;b.&amp;nbsp;Alternatively, you can right-click on your qForm-based solution and select Design.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;2.&amp;nbsp;Select File &amp;gt; Save As Source Files. Note the folder (location) where the files are being saved. Close InfoPath.&lt;br /&gt;3.&amp;nbsp;Navigate to the location noted in the previous step and open QdConfig.xml in a text editor such as Notepad.&lt;br /&gt;4.&amp;nbsp;Find the &amp;lt;EmailSettings&amp;gt; node. Change the value of the &amp;lt;Condition&amp;gt; node as to the value desired, noting that the possible values are Never, Always and AssignedToChange. The section, by default, looks like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;lt;EmailSettings&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Sender&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Application&amp;gt;qForm&amp;lt;/Application&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;Condition&amp;gt;Never&amp;lt;/Condition&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/Sender&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/EmailSettings&amp;gt;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;5.&amp;nbsp;After performing the change, save and close the QdConfig.xml file.&lt;br /&gt;6.&amp;nbsp;Back in the folder view, right-click on manifest.xsf and select Design. The file will open in InfoPath.&lt;br /&gt;7.&amp;nbsp;Select File &amp;gt; Save As and provide a new file name.&lt;/p&gt;</description><enclosure url="http://www.infopathdev.com/files/folders/31585/download.aspx" length="53760" type="application/msword" /></item><item><title>How to customize Status values in qForm</title><link>http://www.infopathdev.com/files/folders/qform/entry31564.aspx</link><pubDate>Tue, 19 Aug 2008 23:45:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31564</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;A&amp;nbsp;solution based on Qdabra’s qForm (QdCatalogBase.xsn) includes Status workflow in the taskpane, consisting of the following values: Saved, Submitted, Reviewed, Approved, Rejected and Closed. These may not be compatible with your needs, but they are easily customizable when designing your solution.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Extract the source files for qForm&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1.&amp;nbsp;Navigate to C:\Inetpub\wwwroot\QdabraWebService\install and right-click on QdCatalogBase.xsn. Select Design.&lt;br /&gt;2.&amp;nbsp;Select File &amp;gt; Save As Source Files, and select an output directory for the source files.&lt;br /&gt;3.&amp;nbsp;Close InfoPath.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Modify the language files&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;4.&amp;nbsp;Navigate to the folder where the source files were saved and open QdCurrentLanguage.xml in a text editor such as Notepad.&lt;br /&gt;5.&amp;nbsp;Find the section that contains the status values, which looks like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;tp_status_saved&amp;gt;&amp;lt;/tp_status_saved&amp;gt;&lt;br /&gt;&amp;lt;tp_status_submitted&amp;gt;&amp;lt;/tp_status_submitted&amp;gt;&lt;br /&gt;&amp;lt;tp_status_reviewed&amp;gt;&amp;lt;/tp_status_reviewed&amp;gt;&lt;br /&gt;&amp;lt;tp_status_approved&amp;gt;&amp;lt;/tp_status_approved&amp;gt;&lt;br /&gt;&amp;lt;tp_status_rejected&amp;gt;&amp;lt;/tp_status_rejected&amp;gt;&lt;br /&gt;&amp;lt;tp_status_closed&amp;gt;&amp;lt;/tp_status_closed&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;6.&amp;nbsp;Add a new line. For this example, we will add a status value called Proposed, with a line that will look like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;tp_status_proposed&amp;gt;&amp;lt;/tp_status_proposed&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;7.&amp;nbsp;Save and close QdCurrentLanguage.xml.&lt;br /&gt;8.&amp;nbsp;Open QdCurrentLanguage.xsd in a text editor such as Notepad.&lt;br /&gt;9.&amp;nbsp;Find the section that contains the status values, which looks like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;xs:element name=&amp;quot;tp_status_saved&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;xs:element name=&amp;quot;tp_status_submitted&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;xs:element name=&amp;quot;tp_status_reviewed&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;xs:element name=&amp;quot;tp_status_approved&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;xs:element name=&amp;quot;tp_status_rejected&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;xs:element name=&amp;quot;tp_status_closed&amp;quot; /&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;10.&amp;nbsp;Add a new line. For this example, since we will add a status value called Proposed, the line will look like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;xs:element name=&amp;quot;tp_status_proposed&amp;quot; /&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;11.&amp;nbsp;Save and close QdCurrentLanguage.xsd.&lt;br /&gt;12.&amp;nbsp;Open QdLanguageSource.xml in a text editor such as Notepad.&lt;br /&gt;13.&amp;nbsp;Find the section that contains the status values, which looks like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;tp_status_saved&amp;gt;Saved&amp;lt;/tp_status_saved&amp;gt;&lt;br /&gt;&amp;lt;tp_status_submitted&amp;gt;Submitted&amp;lt;/tp_status_submitted&amp;gt;&lt;br /&gt;&amp;lt;tp_status_reviewed&amp;gt;Reviewed&amp;lt;/tp_status_reviewed&amp;gt;&lt;br /&gt;&amp;lt;tp_status_approved&amp;gt;Approved&amp;lt;/tp_status_approved&amp;gt;&lt;br /&gt;&amp;lt;tp_status_rejected&amp;gt;Rejected&amp;lt;/tp_status_rejected&amp;gt;&lt;br /&gt;&amp;lt;tp_status_closed&amp;gt;Closed&amp;lt;/tp_status_closed&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;14.&amp;nbsp;Add a new entry. For this example, the line that will look like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;tp_status_proposed&amp;gt;Proposed&amp;lt;/tp_status_proposed&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;15.&amp;nbsp;Save and close QdLanguageSource.xml.&lt;br /&gt;16.&amp;nbsp;Open QdLanguageSource.xsd in a text editor such as Notepad.&lt;br /&gt;17.&amp;nbsp;Find the section that contains the status values, which looks like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;xs:element name=&amp;quot;tp_status_saved&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;xs:element name=&amp;quot;tp_status_submitted&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;xs:element name=&amp;quot;tp_status_reviewed&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;xs:element name=&amp;quot;tp_status_approved&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;xs:element name=&amp;quot;tp_status_rejected&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;xs:element name=&amp;quot;tp_status_closed&amp;quot; /&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;18.&amp;nbsp;Add a new entry. For this example, the new line will look like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;xs:element name=&amp;quot;tp_status_proposed&amp;quot; /&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;19.&amp;nbsp;Save and close QdLanguageSource.xsd.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note that you should not change existing strings, but instead add new ones with the customized text, as we have done in these steps.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Modify QdConfig.xml&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;20.&amp;nbsp;Open QdConfig.xml in a text editor such as Notepad.&lt;br /&gt;21.&amp;nbsp;Find the section that contains the status values, which looks like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;StatusOptions&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Status isClosed=&amp;quot;false&amp;quot; value=&amp;quot;Saved&amp;quot;&amp;gt;tp_status_saved&amp;lt;/Status&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Status isClosed=&amp;quot;false&amp;quot; value=&amp;quot;Submitted&amp;quot;&amp;gt;tp_status_submitted&amp;lt;/Status&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Status isClosed=&amp;quot;false&amp;quot; value=&amp;quot;Reviewed&amp;quot;&amp;gt;tp_status_reviewed&amp;lt;/Status&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Status isClosed=&amp;quot;false&amp;quot; value=&amp;quot;Approved&amp;quot;&amp;gt;tp_status_approved&amp;lt;/Status&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Status isClosed=&amp;quot;false&amp;quot; value=&amp;quot;Rejected&amp;quot;&amp;gt;tp_status_rejected&amp;lt;/Status&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Status isClosed=&amp;quot;true&amp;quot; value=&amp;quot;Closed&amp;quot;&amp;gt;tp_status_closed&amp;lt;/Status&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/StatusOptions&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;22.&amp;nbsp;Add a line within the &amp;lt;StatusOptions&amp;gt; node, above the line for the Saved status, which will look like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;Status isClosed=&amp;quot;false&amp;quot; value=&amp;quot;Proposed&amp;quot;&amp;gt;tp_status_proposed&amp;lt;/Status&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;em&gt;Note that the isClosed value determines whether documents with that status value will be shown in the Catalog view. For example, documents with status Closed are by default not shown in the Catalog.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;23.&amp;nbsp;For illustration purposes, comment out the line for Saved status. It will look like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;!--&amp;lt;Status isClosed=&amp;quot;false&amp;quot; value=&amp;quot;Saved&amp;quot;&amp;gt;tp_status_saved&amp;lt;/Status&amp;gt;--&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;24.&amp;nbsp;Save and close QdConfig.xml.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Save and test the modified qForm&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;25.&amp;nbsp;Right click on manifest.xsf and select Design. Click on File &amp;gt; Save As and enter a new form name.&lt;br /&gt;26.&amp;nbsp;In DAT, click on New Configuration. Attach the xsn file saved in the previous step and name it. Click Save, and then click OK in the confirmation dialog.&lt;br /&gt;27.&amp;nbsp;Click the Open link under the file attachment control. This will open the Catalog view of your form.&lt;br /&gt;28.&amp;nbsp;Click + Add Document to create a new forms. In the status dropdown in the taskpane, Saved has now been replaced with Proposed.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31563/original.aspx" border="1" alt="" /&gt;&lt;/p&gt;</description><enclosure url="http://www.infopathdev.com/files/folders/31564/download.aspx" length="81920" type="application/octet-stream" /></item><item><title>Deleting Documents and Flow for a qForm</title><link>http://www.infopathdev.com/files/folders/qform/entry31433.aspx</link><pubDate>Wed, 13 Aug 2008 15:23:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31433</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;When a user deletes a document that was created off of a qForm-based solution, DBXL will still contain data related to the document’s assignment history. This is stored in the system document type called QdEmailFlow. The visual effect of this is easily seen in the Catalog view taskpane: ‘zombie’ users are present even though they do not have any documents assigned to them. There is an advanced customer scenario that depends on deletion: pruning and archiving. This occurs if databases begin performing poorly when there is too much unneeded historical data. &lt;/p&gt;
&lt;p&gt;To address these scenarios, DBXL users can turn to Document Deployer to perform the necessary cleanup. After deleting the documents you wish to remove, follow these steps.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1.&amp;nbsp;Copy the Scenario file called CleanupFlow.xml into Document Deployer’s scenario folder. &lt;em&gt;(Click Download, above, to obtain this file.)&lt;/em&gt;&lt;br /&gt;2.&amp;nbsp;Launch Document Deployer UI and click on the Custom tab.&lt;br /&gt;3.&amp;nbsp;Select CleanupFlow.xml from the Scenario Path dropdown and click Load. &lt;br /&gt;4.&amp;nbsp;Change the DBXLRoot and DBXLUrl variables to reflect the values for your DBXL instance.&lt;br /&gt;5.&amp;nbsp;Click Run.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;You will see a message like this in the Log window:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;2008-08-12 05:07:03 Executing action ListFlowDocuments...&lt;br /&gt;2008-08-12 05:07:25 Executing action DeleteFlowDocuments...&lt;br /&gt;2008-08-12 05:07:26 Removing document with id 1...&lt;br /&gt;2008-08-12 05:07:26 Removing document with id 2...&lt;br /&gt;Etc.&lt;br /&gt;2008-08-12 05:07:42 Executing action OutputResult...&lt;br /&gt;2008-08-12 05:07:42 Removed &amp;lt;x&amp;gt; flow documents&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;When the operation is complete you will see a confirmation message, letting you know that the execution was successful!&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><enclosure url="http://www.infopathdev.com/files/folders/31433/download.aspx" length="19987" type="application/x-zip-compressed" /></item><item><title>How to Use Promoted Properties in qForm</title><link>http://www.infopathdev.com/files/folders/qform/entry31394.aspx</link><pubDate>Tue, 12 Aug 2008 19:21:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31394</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;By default, a qForm’s Catalog view only downloads metadata –specifically the Name, Author and Description fields. This prevents users from being able to see document fields while still presenting basic information as part of the Catalog view. In order to solve the problem of displaying custom fields in the catalog view, QdCatalogBase offers a promoted properties import mechanism.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Promote the field you wish to expose&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1.&amp;nbsp;Navigate to C:\Inetpub\wwwroot\QdabraWebService\install and right-click on QdCatalogBase.xsn. Select Design.&lt;br /&gt;2.&amp;nbsp;Select File &amp;gt; Tools &amp;gt; Form Options &amp;gt; Property Promotion.&lt;br /&gt;3.&amp;nbsp;Select the field you wish to promote, making sure to select “first” aggregation. Note: make sure property names do not contain spaces.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31390/original.aspx" alt="" /&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Extract the source files for your qForm&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;4.&amp;nbsp;Select File &amp;gt; Save As Source Files, and select an output directory for the source files.&lt;br /&gt;5.&amp;nbsp;Close InfoPath.&lt;br /&gt;6.&amp;nbsp;Navigate to the folder where the source files were saved and open QdConfig.xml in a text editor such as Notepad.&lt;br /&gt;7.&amp;nbsp;Add an entry to the &amp;lt;CatalogViewMapping&amp;gt; section. Note that the Xpaths should not contain a leading slash (/) or /my:QdCatalog/my:QdForm in them. Be very careful specifying the name/Xpath pairs – most of the issues with promoted properties import come from errors in there. For example, in order to promote the status, with Xpath /my:QdCatalog/my:QdForm/my:field1, enter only my:status. The new line will look like this:&lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;PromotedPropertyMapping name=&amp;quot;PromotedField&amp;quot; xpath=&amp;quot;my:field1&amp;quot; /&amp;gt;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;8.&amp;nbsp;Save and close QdConfig.xml.&lt;br /&gt;9.&amp;nbsp;Right click on manifest.xsf and select Design. Click on File &amp;gt; Save As and enter a new form name.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Add the field into your qForm&amp;#39;s Catalog view&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;10.&amp;nbsp;In InfoPath, open the newly saved form in Design mode and navigate to the Catalog (default) view.&lt;br /&gt;11.&amp;nbsp;Double click on the Author Expression box and change it from Data Source to Text. Enter Field1 in the text box and click Ok. You will see the text Field1 replace the text Author in the form’s column.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31391/original.aspx" border="1" alt="" /&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;12.&amp;nbsp;Double click on the @my:author Expression box and click on the Edit Formula button to the right of the Xpath field.&lt;br /&gt;13.&amp;nbsp;Use on the Insert Field or Group button to change the Xpath from @my:author to @my:status and click OK twice to close all dialogs.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31392/original.aspx" border="1" alt="" /&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;14.&amp;nbsp;Click File &amp;gt; Save and close InfoPath.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Test the modified qForm&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;15.&amp;nbsp;In DAT, click on New Configuration. Attach the xsn file saved in the previous step and name it. Click Save, and then click OK in the confirmation dialog.&lt;br /&gt;16.&amp;nbsp;Click the Open link under the file attachment control. This will open the Catalog view of your form.&lt;br /&gt;17.&amp;nbsp;Click + Add Document to create a new forms. For the purposes of this example, create various documents with different values in the field1 node. When you return to the Catalog view, you will see each document’s status listed, as shown below.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;img style="WIDTH:680px;HEIGHT:227px;" height="227" src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/31393/original.aspx" width="680" border="1" alt="" /&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Additional notes&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Property Promotion works for both qForm and Admin Plus mode but not for the Admin mode.&lt;/li&gt;
&lt;li&gt;There are some DBXL issues handling non-string data types. This can be remedied by editing the manifest.xsf file manually and changing the type to xsd:string.&lt;/li&gt;
&lt;li&gt;In some cases, InfoPath won’t let you promote some properties via UI such as base64 fields. However, it can be done manually by editing the corresponding fields in the XSF.&lt;/li&gt;
&lt;li&gt;If you are promoting a default promoted property, such as Status or Assigned To Name, you do not need to complete the first two sections of the above tutorial (i.e. skip steps 1 through 9 in Promote the field you wish to expose and Extract the source files for your qForm sections).&lt;/li&gt;&lt;/ul&gt;</description><enclosure url="http://www.infopathdev.com/files/folders/31394/download.aspx" length="160768" type="application/octet-stream" /></item><item><title>How to Create Nodes in Taxonomy</title><link>http://www.infopathdev.com/files/folders/qform/entry30714.aspx</link><pubDate>Wed, 23 Jul 2008 01:35:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30714</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;DBXL allows you to tag your qForm-based solution with a set of category filters. You can create and manage these category filters by using the Taxonomy Tree feature in DAT. This document will show you how to create category filters or nodes in taxonomy.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Create a Node in Taxonomy&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;After saving a Document Type in DAT, follow these steps: &lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;In DAT, click the Taxonomy Tree tab. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/30707/original.aspx" alt="" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Taxonomy tab is displayed and you will see a text field that will allow you to add a node:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/30708/original.aspx" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Enter the category name that you wish to create as a filter in qForm. You will notice that a Save button and Cancel button will now be displayed:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/30709/original.aspx" alt="" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;Click on the Save button. The category name you just entered is now saved as a node in Taxonomy Tree. In this example, Company Size is saved as node. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/30710/original.aspx" alt="" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that qForm has two reserved names for taxonomy. This means the user will not be able to create categories at the root level called “All Users&amp;quot; and &amp;quot;TemplateState”.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Add a Subnode in Taxonomy&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;4.&amp;nbsp;To add a subnode, just click on the + (plus sign) icon of the root note you added in Step 3. Another field below the root node will be displayed.&lt;/p&gt;
&lt;p&gt;5.&amp;nbsp;Enter a name for the subnode.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/30711/original.aspx" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;6.&amp;nbsp;Click Save. Your subnode is now added.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/30712/original.aspx" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;7.&amp;nbsp;You may continue adding more subnodes as desired.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Verify taxonomy in the Catalog View of qForm&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1.&amp;nbsp;Go back to Catalog by clicking the Catalog button in the header.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;For your qForm-based solution, click the corresponding Open link.&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;Check the Category Filter in the taskpane. This section should now have the category filters you just created above. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/30713/original.aspx" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Verify your Category Filters in qForm&lt;/strong&gt; &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1.&amp;nbsp;Add two documents by using the + Add Document button in the Catalog view. Before saving each document, tag them using the taxonomy you created.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Return to the Catalog view and set the desired filter settings by checking the nodes under Category Filter in the taskpane. &lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;After choosing the filter you desired, click the Apply button. The catalog will display the documents according to your filter settings.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Adding Taxonomy to Admin solutions&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Note that if you wish to add taxonomy (category filters) to an Admin solution, you will need to add the Taxonomy tree to the Target (Original) Document Type, and NOT the Admin Document Type.&lt;/p&gt;&lt;/blockquote&gt;</description><enclosure url="http://www.infopathdev.com/files/folders/30714/download.aspx" length="186368" type="application/msword" /></item><item><title>How To Setup Default Sorting and Grouping in qForm</title><link>http://www.infopathdev.com/files/folders/qform/entry30114.aspx</link><pubDate>Fri, 04 Jul 2008 22:46:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30114</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Setting up a qForm-based solution to perform default grouping and sorting is very simple. There are only two files that need to be updated in the qForm source and the result is a Catalog view organized according to your preferences. For the purposes of this document, we will assume that the file being edited is the original QdCatalogBase.xsn form included in the DBXL v2.2 installation.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Extract the source files for your qForm&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1.&amp;nbsp;Navigate to C:\Inetpub\wwwroot\QdabraWebService\install and right-click on QdCatalogBase.xsn. Select Design.&lt;br /&gt;2.&amp;nbsp;Select File &amp;gt; Save As Source Files, and select an output directory for the source files.&lt;br /&gt;3.&amp;nbsp;Close InfoPath.&lt;br /&gt;Update QdTaskPaneData.xml&lt;br /&gt;4.&amp;nbsp;Open the file QdTaskPaneData.xml in a text editor such as Notepad.&lt;br /&gt;5.&amp;nbsp;Locate the TaskPaneData/View/OrderTab node.&amp;nbsp; By default, the node’s contents are as follows:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;OrderTab&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;OrderOptions&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Option value=&amp;quot;&amp;quot;&amp;gt;tp_select&amp;lt;/Option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Option value=&amp;quot;@my:name&amp;quot;&amp;gt;tp_sort_option_name&amp;lt;/Option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Option value=&amp;quot;@my:author&amp;quot;&amp;gt;tp_sort_option_author&amp;lt;/Option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Option value=&amp;quot;@my:description&amp;quot;&amp;gt;tp_sort_option_description&amp;lt;/Option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/OrderOptions&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;SortBy1 isAscending=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/SortBy1&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;SortBy2 isAscending=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/SortBy2&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;SortBy3 isAscending=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/SortBy3&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;GroupBy1&amp;gt;&amp;lt;/GroupBy1&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;GroupBy2&amp;gt;&amp;lt;/GroupBy2&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;GroupBy3&amp;gt;&amp;lt;/GroupBy3&amp;gt;&lt;br /&gt;&amp;lt;/OrderTab&amp;gt;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;6.&amp;nbsp;Add a line to the OrderOptions node. For example, we will add the following line to the OrderOptions node, which will add the document Status as an option in the sorting and grouping dropdowns.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;Option value=&amp;quot;@my:status&amp;quot;&amp;gt;Status&amp;lt;/Option&amp;gt;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;7.&amp;nbsp;Add this value to the &amp;lt;SortBy1&amp;gt; or &amp;lt;GroupBy1&amp;gt;. This will establish the default sorting or grouping when the qForm is opened. Make these two modifications, below, which will result in the documents being sorted by Status and grouped by Author.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;SortBy1 isAscending=&amp;quot;1&amp;quot;&amp;gt;@my:status&amp;lt;/SortBy1&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;lt;GroupBy1&amp;gt;@my:author&amp;lt;/GroupBy1&amp;gt;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;8.&amp;nbsp;Save and close the file.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Generate and test the modified qForm&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;9.&amp;nbsp;Right click on manifest.xsf and select Design.&lt;br /&gt;10.&amp;nbsp;Select File &amp;gt; Save As and select a directory and name for the updated form.&lt;br /&gt;11.&amp;nbsp;In DAT, click on New Configuration. Attach the xsn file saved in the previous step and name it qFormSample. Click Save, then click OK in the confirmation dialog.&lt;br /&gt;12.&amp;nbsp;Click the Open link under the file attachment control. This will open the Catalog view of your form.&lt;br /&gt;13.&amp;nbsp;Click + Add Document to create a new forms. Note: Documents need to be assigned via the qForm taskpane in order for status assignments to work. For the purposes of this example, we create four document with the following values:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/30113/original.aspx" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Result: &lt;/strong&gt;The documents will be grouped by author and, within the Author groups, sorted by Status.&lt;/p&gt;</description><enclosure url="http://www.infopathdev.com/files/folders/30114/download.aspx" length="61952" type="application/octet-stream" /></item><item><title>How to create a qForm-based solution</title><link>http://www.infopathdev.com/files/folders/qform/entry30057.aspx</link><pubDate>Wed, 02 Jul 2008 23:19:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30057</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;A&amp;nbsp;qForm-based solution will have catalog and search functionality not available in non-qForm solutions. While the Qdabra Upgrade Tool allows you to add functionality to your existing solutions, it is also possible to create new qForm-based solutions from scratch. This document aims to explain the following scenarios:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1.&amp;nbsp;How to use the Upgrade Tool to upgrade an existing solution.&lt;br /&gt;2.&amp;nbsp;How to create a qForm solution from scratch.&lt;br /&gt;3.&amp;nbsp;How to use the Upgrade Tool to create an Admin solution.&lt;br /&gt;4.&amp;nbsp;How to use the Upgrade Tool to create an Admin Plus solution.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Upgrading an existing solution&lt;br /&gt;&lt;/strong&gt;Having designed a form in InfoPath, you can use these steps below to upgrade your form, turning it into a qForm to gain additional functionality in DBXL.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;u&gt;Running the Upgrade Tool&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;Open the Qdabra Upgrade Tool.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;A link to the form was installed during the installation of the DBXL Tools. Find it in Start &amp;gt; All Programs &amp;gt; DBXL Tools &amp;gt; QdUpgradeForm. The Qdabra Upgrade Tool will open in InfoPath.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;2.&amp;nbsp;Fill out the Upgrade form fields and upgrade the form.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;Click the button on the right-hand side of the Input Template Form field to browse your local drive and select your InfoPath form.&lt;br /&gt;b.&amp;nbsp;Click the button on the right-hand side of the CatBase Form field to browse your local drive and select the QdCatalogBase.xsn form. This is installed with DBXL, in the following path: C:\Inetpub\wwwroot\QdabraWebService\install\.&lt;br /&gt;c.&amp;nbsp;Click the button on the right-hand side of the Output File field to browse your local drive and select the path and name for the output InfoPath form.&lt;br /&gt;d.&amp;nbsp;Click on the Upgrade button.&lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/30053/original.aspx" alt="" /&gt;&lt;br /&gt;Figure 1: Fill out the Upgrade form fields&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;u&gt;Verify the upgrade was successful&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;Open the form in Design mode in InfoPath&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;Right-click on the Output File and select Design. The form will open in InfoPath in design mode. This is the first step in verifying the upgrade was successful.&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Note&lt;/strong&gt;: You should remove any Submit buttons in the main view. Because the taskpane has a Save button that submits to DBXL, you do not need a Submit button if you are submitting strictly to DBXL. &lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;b.&amp;nbsp;Save and close InfoPath.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;4.&amp;nbsp;In the Database Accelerator Administration Tool (DAT), create and open a new configuration.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;Click on New Configuration.&lt;br /&gt;b.&amp;nbsp;Enter a Name for the configuration, such as SampleQForm, and attach the upgraded form.&lt;br /&gt;c.&amp;nbsp;Click on Save, then OK when the dialog confirms this action.&lt;br /&gt;d.&amp;nbsp;Click on the Open link.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;5.&amp;nbsp;Fill out a sample form&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;Click on + Add Document.&lt;br /&gt;b.&amp;nbsp;Complete the form, filling out all required fields.&lt;br /&gt;c.&amp;nbsp;Click on the Save button in the right hand task pane.&lt;/p&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/30054/original.aspx" alt="" /&gt;&lt;br /&gt;Figure 2&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;u&gt;Notes:&lt;/u&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;•&amp;nbsp;Due to the fact that upgrading modifies the form’s data source, you will need to do one of the following when upgrading a currently existing form into qForm:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;o&amp;nbsp;Create a new docType in DBXL and add the mappings from scratch&lt;br /&gt;o&amp;nbsp;Manually update the docType&amp;#39;s mapping.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;•&amp;nbsp;In case a new version of QdCatalogBase is released, you can use the upgrade tool to update an existing qForm solution.&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Create a qForm solution from scratch&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;You can create a qForm-based solution from scratch, that is, by opening the QdCatalogBase form in design mode and modifying it as desired.&lt;/p&gt;
&lt;p&gt;To open the QdCatalogBase form, open the default.htm URL installed with DBXL and click on the qForm link. The URL is located at &lt;a href="http://%3cservername%3e/QdabraWebService/default.htm"&gt;http://&amp;lt;servername&amp;gt;/QdabraWebService/default.htm&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/30055/original.aspx" alt="" /&gt;&lt;br /&gt;&lt;em&gt;Figure 3&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Create an Admin solution&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;In this scenario you will design a qForm to manage your existing form. However, form created will not be able to edit the individual documents. There will be two Document Types (or configurations) in the system: the &amp;quot;target&amp;quot; Document Type, which is not qForm-based, and the almost-unchanged qForm that serves as the catalog for the former. &lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;Use the Qdabra Upgrade Tool, as explained previously in this document, to upgrade your InfoPath form. &lt;br /&gt;2.&amp;nbsp;Extract the form’s files and edit QdConfig.xml file by setting the target DocType and setting CatalogMode to &amp;quot;Catalog&amp;quot;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;Right-click on the output (upgraded) form and click on Design.&lt;br /&gt;b.&amp;nbsp;Click on File &amp;gt; Save As Source Files and select a directory to store the source files.&lt;br /&gt;c.&amp;nbsp;Navigate to the folder created in the previous step and open the file called QdConfig.xml in the text editor of your choice, such as Notepad.&lt;br /&gt;d.&amp;nbsp;Find the node Config/Logic/DocType and set its value to SampleForm, which is the name of your original (or “target”) form.&lt;br /&gt;e.&amp;nbsp;Find the node Config/Logic/CatalogMode and set its value to Catalog. Save and close QdConfig.xml&lt;br /&gt;f.&amp;nbsp;Right-click on manifest.xsn and select Design. Select File &amp;gt; Save As, select a location and save the file as SampleFormAdmin. Close InfoPath.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;3.&amp;nbsp;Create the Document Types in DBXL.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;In the DAT, click on New Configuration.&lt;br /&gt;b.&amp;nbsp;Attach the original, InfoPath form.&lt;br /&gt;c.&amp;nbsp;Enter the form’s name, in this case SampleForm. &lt;br /&gt;d.&amp;nbsp;Click Save, then OK when the dialog confirms the action.&lt;br /&gt;e.&amp;nbsp;Click on Catalog to return to the list of Document Types.&lt;br /&gt;f.&amp;nbsp;Click on New Configuration.&lt;br /&gt;g.&amp;nbsp;Attach the upgraded, Admin form.&lt;br /&gt;h.&amp;nbsp;Enter a descriptive name, such as SampleFormAdmin.&lt;br /&gt;i.&amp;nbsp;Click Save, then OK when the dialog confirms the action.&lt;br /&gt;j.&amp;nbsp;Click on Catalog to return to the list of Document Types.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;4.&amp;nbsp;Test your solution.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;a.&amp;nbsp;Click to Open the document type SampleForm.&lt;br /&gt;b.&amp;nbsp;Fill out the form and submit it. &lt;br /&gt;c.&amp;nbsp;Return to the DAT and click on Refresh. You will see that SampleForm is now listed as having one document, as seen in Figure 4.&lt;br /&gt;d.&amp;nbsp;Click to open the document type SampleFormAdmin. You will see a Catalog view of the documents, where currently only one is listed.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/dbxl_v22_documentation_images/images/30056/original.aspx" alt="" /&gt;&lt;br /&gt;&lt;em&gt;Figure 4&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;e.&amp;nbsp;Click on + Add Document. A new window will open; this is the original form created in InfoPath, that is, SampleForm. Fill out the form and submit it.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;i.&amp;nbsp;If you click on the View icon, you will see a link through which you can open the original form.&lt;br /&gt;ii.&amp;nbsp;If you click on the Edit icon, SampleForm will open, allowing you to update form and submit it.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;f.&amp;nbsp;Back in the Catalog view, click Reset in the task pane. When the Catalog refreshes, you will see two documents.&lt;br /&gt;g.&amp;nbsp;Close the form and click Refresh in the DAT. SampleForm is now listed as having two documents. SampleFormAdmin is still listed as having 0 documents.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Create an Admin Plus solution&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The Admin Plus solution is more advanced than Admin mode, because it also allows the user to edit the documents belonging to the target (or original) Document Type.&lt;/p&gt;
&lt;p&gt;The steps to achieve this will be identical to those detailed above for the Admin solution, noting the following differences:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;1.&amp;nbsp;You will set the CatalogMode node to &amp;quot;Full&amp;quot; instead of “Catalog”.&lt;br /&gt;2.&amp;nbsp;To avoid confusion, name your form SampleFormAdminPlus instead of SampleFormAdmin.&lt;br /&gt;3.&amp;nbsp;Even though the documents submitted will still be saved under the target Document Type, you will be able to create new documents from the Admin Plus document type itself. That is, when you click + Add Document you’ll be able to submit the document without seeing the target document type open in a separate window.&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;</description><enclosure url="http://www.infopathdev.com/files/folders/30057/download.aspx" length="196096" type="application/octet-stream" /></item></channel></rss>