8,849
edits
Changes
→Enter XML details in Configuration Section of UTA PDF Parser
==Enter XML details in Configuration Section of UTA PDF Parser==
The following is an example of the XML block required to automatically create {{l2}}s in SmartSimple from an uploaded PDF:
<pre style="white-space: pre-wrap;
</utaparser> </pre>
The example below illustrates above XML code can be broken out into the XML syntax required to automatically create {{l2}}s in SmartSimple from an uploaded PDF.following sections:
{| style="background-color: #00FFFF;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;width: 50%;"
{| style="background-color: #FF6600;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;width: 50%;"
|+ align="right" + width: 10%; |
:'''[[#File Locations|File Locations]]'''
|<docid>DID</docid><br /><appid>102587</appid><br /><attachfieldid>1371520</attachfieldid><br /><parentid>Parentid</parentid>
|}
{| style="background-color: #9999CC;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;width: 50%;"
|+ align="right" + width: 10%; |
:'''[[#Key Fields|Key Fields]]'''
|<keyfields><br /><typename>{32588}</typename><br /><description>DID</description><br /><eownerid>@userid@</eownerid><br /><objectid>Parentid</objectid><br /><objecttype>{23}</objecttype><br /><subject>@userid@</subject><br /><startdate>Date</startdate><br /></keyfields>
|}
{| style="background-color: #FFFF99;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;width: 50%;"
|+ align="right" + width: 10%; |
:'''[[#Form Fields/Field Mapping|Form Fields / Field Mapping]]'''
|<formfields><br /><startdate>SubmissionDate</startdate><br /><cf_1371453>MeetingDate</cf_1371453><br /><cf_1371454>Time</cf_1371454><br /><cf_1371456>Location</cf_1371456><br /><cf_1371460>MetWith</cf_1371460><br /><cf_1371462>MeetingPurpose</cf_1371462><br /><cf_1371464>ReportDetails</cf_1371464><br /><cf_1371465>Signature</cf_1371465><br /><cf_1371469>InvoiceAmount</cf_1371469><br /><cf_1371472>ReportNo</cf_1371472><br /></formfields>
|}
{| style="background-color: #E0FFC2;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;width: 50%;"
|+ align="right" + width: 10%; |
:'''[[#Defaults|Defaults]]'''
|<defaults><br />
<typename>{39270}</typename><br />
{| style="background-color: #00FFFF;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;width: 50%;"
|+ align="right" + width: 10%; |
:'''[[#Footer|Footer]]'''
|</leveltwo><br /></utaparser>
|}
The following section explains the purpose of each section and the meaning of the various XML tags:
===Header===