- Created by Avinash Kumar , last modified by Ashhad Alam on Jun 07, 2021
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 14 Next »
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.
This page contains the step-by-step instructions to create a PDF layout from an unstructured PDF file. You'd need to follow the instructions in the following order:
Complete the following steps to create a PDF Layout:
- Click Configure > LAYOUTS > PDF
- On the PDF manage page, click Create PDF Layout.
Creating a Table Section
- Enable Table Selection mode (if not enabled).
- Select any row from the File View area.
- Right-click the selected row, and click New Table.
As you click New Table, a Table Data window opens. 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.- In the Table Name field enter the name of the table.
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.
- Select a field to identify the start of the table.
On the Table Data screen, select End Token Identifier check box.
End Token Identifier helps you to define a value as the end point of the table.As you select the End Token Identifier check box, you'll be redirected to the Table Selection Enable screen.
- Select a field to identify the end of the table.
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 Select or enter a row number if you don’t want to include its data in the table. Skipped Page Header Row Select or enter a row number if you don’t want to include its data in the table. Format From the Format menu, choose 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 From the Parent Table menu, 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 if you you want to have the values in each cell to be in a single line 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 section data even if the number of columns in the sample are 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 Discontinuous Order 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.
Creating an Active Key Value Section
- On the Key menu, select Active Key Value Section.
- Select the key first and then the value.
- Right-click the selected key-value pair, and then select Key Value Section.
- On the Section Data screen, in the Section Name field, enter the name of the 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.
- Select a field to identify the start of the section.
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.
- Select a field to identify the end of the section.
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 From the Table Section Type menu, choose Sub Table Section or Table Section based on the type of Table Section. Parent Table From the Parent Table menu, choose a table that you want to specify as parent table. Click Save.
Creating an Active Fixed Section
- On the Key menu, select Active Fixed Section.
- On the Fixed Selection Enable screen, select a value.
- Right-click the selected value, and then select Fixed Section.
- On the Section Data screen, in the Section Name field, enter the name of the 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.- Select a field to identify the start of the section.
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.
- Select a field to identify the end of the section.
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 From the Table Section Type menu, choose Sub Table Section or Table Section based on the type of Table Section. Parent Table From the Parent Table menu, choose a table that you want to specify as parent table. Click Save.
Viewing, and downloading the XSD and XML files of the PDF Layout
- You can view the XSD file of the PDF Layout by clicking the icon. You can also download it by clicking the download buttonat the top-right corner.
- You can view the XML file of the PDF Layout by clicking the icon . You can also download it by clicking the download buttonat the bottom-left corner.
Using a PDF Layout in a Process Designer
You can use a PDF Layout in the Process Designer while creating a Process Flow by following the steps given below:
- In the Process Designer, open Repository View by clicking the icon.
- Expand Layout (Schema), and then PDF.
- Drag and drop the PDF Layout in the canvas area.
- You can use a PDF Layout in the Process Designer at the Source side only. You'd receive an error if you try to change the value of the Transformer property to Stream2XmlStreamTransformer.
- All the properties available for other Layouts are also available for a PDF Layout.
Editing an existing PDF Layout
To edit an existing PDF Layout, follow the steps below:
- Click the Action iconcorresponding to the PDF Layout to be edited.
- Click Edit to open the PDF Layout in the Layout Builder.
- No labels