8,849
edits
Changes
→Key Fields
===Key Fields===
* This section will begin with the ''<keyfields>'' tag and will end with the closing ''</keyfields>'' tag.
* The keyfields section functions as a method of duplication checking.
:* If a PDF is uploaded to SmartSimple, and the fields specified in the keyfields section match an existing SmartSimple record, that record will be updated.
:* If the fields in the uploaded PDF do not match with an existing SmartSimple record, a new record will be created.
* The syntax is as follows:
:* ''typename'' refers to the [[typeid]] of the {{l2}} being uploaded.
:* ''objecttype'' should be set to ''{23}''. See [[Entity IDs]] for further information.
:* See the article [[Database Field Names]] for further examples of fields that can be specified.
===Form Fields===
This section will begin with the ''<formfields>'' tag and will end with the closing ''</formfields>'' tag.
Within the ''<formfields>'' tags, the fillable PDF fields are matched up with (or "mapped to") the relevant fields in SmartSimple, using the following syntax:
* For standard fields, the XML tag will be the [[Database Field Names|database field name]] of the standard field. The value within the tags will be the name given to the fillable field on the PDF.
<pre style="white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;">Example: <startdate>SubmissionDate</startdate></pre>
* Specify duplicate check criteria when uploading multiple PDFs
:* Determines if uploads should update existing record, or create new record