In Adeptia Connect, you can create a PDF layout by using the Layout Builder. Once you have the PDF layout ready, you can use that in your custom Templates or Transactions at the source side only. A PDF Layout can also be created from within a custom template, transaction, and Process Designer.
PDF Layout is a license-driven feature in Adeptia Connect. |
This page guides you on how to create a PDF Layout from an unstructured PDF file. The following sections on this page govern the aspects of creating and using a PDF Layout.
You can create a PDF Layout by following the instructions given in the sections Uploading the PDF file through Viewing, and downloading the XSD and XML files of the PDF Layout.
Click Configure > LAYOUTS > PDF
Enable Table Selection mode (if not enabled).
By default, Table Selection Mode is enabled. |
You can arrange the data on the uploaded PDF by applying some parameters as explained in the section Applying filter parameters. |
On the Table Data screen, mark a field as a Unique Key by selecting its corresponding checkbox.
Unique Key helps you to split data into different records. |
Select Start Token Identifier check box.
Start Token Identifier helps you to define a value as the starting point of the table. |
As you select the Start Token Identifier check box, you'll be redirected to the Table Selection Enable screen.
On the Table Data screen, select End Token Identifier check box.
|
As you select the End Token Identifier check box, you'll be redirected to the Table Selection Enable screen.
On the Table Data screen, expand the Modify Properties for advanced options. Refer to the properties and their description in the table given below.
Property Name | Description |
---|---|
Skipped Table Header Row | Enter the number of rows in the Skip Table Header Row. The number of rows you enter in this field wont be a part of the table. |
Skipped Page Header Row | Enter the number of rows in the Skip Page Header Row. The number of rows you enter in this field wont be a part of the table. |
Format | In the Format field, select Single Page Header option if you wish to have the table header only on the first page. You can choose Multi Page Header option to get the table header on all the pages. |
Parent Table | In the Parent Table field, choose a table that you want to specify as parent table. |
Read All Data | Select the Read All Data checkbox if data of the table lies outside the table. |
Single Line Value | Select the Single Line Value checkbox to have the values lying in single line of all the columns across the table. |
Table Info Required | Select the Table Info Required checkbox if you want any additional information to be picked up and displayed in table. |
Allow Less Field | Select the Allow Less Field checkbox to read the table data even if the number of columns in the sample is less than what you have defined. |
Select Allow Discontinuous Order checkbox to make sure that the table data is read from the columns irrespective of the column's exact location. | |
Allow Dynamic Table Header | Select Allow Dynamic Table Header checkbox to make sure that the table data is read from the columns even if the column names are partially different across the files. |
Click Save.
If the table has any additional information that you need to include in the layout, you can select Table Info Required checkbox in Modify Properties while creating the table data.
You may sometimes find the data misarranged in the uploaded PDF, for example text overlapping. You may also sometimes need to ignore the text with a certain font height, or duplicate characters. To achieve this, you can apply filter parameters from Filter option as discussed below.
Based on your need, apply the parameters as explained in the table followed by the screenshot.
Parameter | Description |
---|---|
Ignore Font Height | Enter a value of specific font size that you want to exclude from the layout. |
Row Diff | Enter a value to adjust the space between the rows. |
Column Diff | Enter a value to adjust the space between the columns. |
Ignore Duplicate Characters | Select the checkbox if you want to skip the duplicate characters. |
Click Apply .
Consider a PDF file that has one or more sub-tables/child-tables within a parent table.
You can create Table Data in such cases by following the steps given below:
Follow the steps mentioned in Creating Table Data, to create a Parent Table.
While following the steps for 'Creating Table Data', make sure that you select the End Token as the Field mentioned at the bottom of the table. In the example given here, we've selected Total (PCS.) as the End Token. |
Now create the Child Table as instructed below:
In the File View area, select the child table column headers.
Click Save to save the child table.
For quick understanding, you can take a look at this video explaining the concept discussed in this section. |
Select Start Token Identifier check box.
Start Token Identifier helps you to define a value as the starting point of the section. |
As you select the Start Token Identifier check box, you'll be redirected to the Key-Value Selection Enable screen.
On the Section Data screen, select End Token Identifier check box.
End Token Identifier helps you to define a value as the end point of the section. |
As you select the End Token Identifier check box, you'll be redirected to the Key-Value Selection Enable screen.
On the Section Data screen, expand the Modify Properties for advanced options. Refer to the properties and their description in the table given below.
Property Name | Description |
---|---|
Keep EndToken | Select Keep EndToken checkbox to make sure that the End Token is also parsed. |
Single Line Value | Select Single Line Value to have the values lying in the single line of all the key values. |
Table Section Type | Select the Table Section Type for the section that you're defining. |
Parent Table | Select the Parent Table for the section that you're defining. |
Click Save.
For quick understanding, you can take a look at this video explaining the concept discussed in this section. |
Select Start Token Identifier check box.
Start Token Identifier helps you to define a value as the starting point of the section. |
As you select the Start Token Identifier check box, you'll be redirected to the Fixed Selection Enable screen.
On the Section Data screen, select End Token Identifier check box.
End Token Identifier helps you to define a value as the end point of the section. |
As you select the End Token Identifier check box, you'll be redirected to the Fixed Selection Enable screen.
On the Section Data screen, expand the Modify Properties for advanced options. Refer to the properties and their description in the table given below.
Property Name | Description |
---|---|
Keep EndToken | Select Keep EndToken checkbox to make sure that the End Token is also parsed. |
Single Line Value | Select Single Line Value to have the values lying in the single line of all the key values. |
Table Section Type | Select the Table Section Type for the section that you're defining. |
Parent Table | Select the Parent Table for the section that you're defining. |
Click Save.
For quick understanding, you can take a look at this video explaining the concept discussed in this section. |
You can use a PDF Layout in the Process Designer while creating a Process Flow by following the steps given below:
|
Once you have a PDF Layout ready, you can use it in a Mapping as a Source Layout.
You can use a PDF Layout in Web Mapper at the Source side only. |
To edit an existing PDF Layout, follow the steps below: