pub:iviewapis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pub:iviewapis [2018/09/06 13:24] – [ENDIVMONAR] kkramer | pub:iviewapis [2022/06/25 17:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | < | + | < |
Line 254: | Line 254: | ||
</ | </ | ||
===== IVWLOADURL ===== | ===== IVWLOADURL ===== | ||
- | Load iView front-end search page to search on certain index field | + | Load iView front-end search page to search on certain index field. Provides ability to call an archived PDF document on iView from IBM i green screen. |
< | < | ||
(IVWLOADURL) | (IVWLOADURL) | ||
Line 260: | Line 261: | ||
Type choices, press Enter. | Type choices, press Enter. | ||
| | ||
- | Host Name . . . . . . . . . . . | + | Host Name . . . . . . . . . . . > ' |
+ | Port . . . . . . . . . . . . . . ' | ||
+ | iView URL . . . . . . . . . . . ' | ||
+ | iView Archive | ||
+ | Index Field . . . . . . . . . . > INDEX03 | ||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | **Parameters ** | ||
+ | |||
+ | **Host Name:** Your IBMi’s IP address ‘168.xx.x.xx’\\ | ||
+ | **Port:** Port number used with iView frontend ie. ‘8080’ \\ | ||
+ | **iView URL:** URL used with iView frontend. | ||
+ | **iView Archive:** iView archive name \\ | ||
+ | **Index Field:** iView index name i.e. ‘INDEX03’ \\ | ||
+ | **Search Term:** Index search value to query archive \\ | ||
+ | **Authenticate: | ||
+ | |||
+ | ===== VIEWIFSPDF ===== | ||
+ | This command enables a call for PDF files from iView using the API command from your IBM i green screen (backend) without having the user sign-in to iView via the frontend of iView. | ||
+ | < | ||
+ | (VIEWIFSPDF) | ||
+ | |||
+ | Type choices, press Enter. | ||
+ | |||
+ | Host Name . . . . . . . . . . . > ' | ||
Port . . . . . . . . . . . . . . ' | Port . . . . . . . . . . . . . . ' | ||
iView URL . . . . . . . . . . . ' | iView URL . . . . . . . . . . . ' | ||
iView Archive | iView Archive | ||
- | Index Field | + | PDF File Name. . . . . . . . . . > '/ |
- | | + | |
| | ||
| | ||
Line 279: | Line 319: | ||
| | ||
| | ||
- | </ | + | </ |
+ | |||
+ | **Note:** to make use of this API, you must first check 'Allow to public access server resource' | ||
+ | ===== INSIMG2PDF (V8.45) ===== | ||
+ | The command INSIMG2PDF is introduced to insert an image (type .PNG, JPG, JPEG, BMP) into PDF at a certain page and position. | ||
+ | < | ||
+ | Insert image to PDF (INSIMG2PDF) | ||
+ | |||
+ | Type choices, press Enter. | ||
+ | |||
+ | IFS Image File . . . . . . . . . | ||
+ | |||
+ | |||
+ | |||
+ | Path of PDF File . . . . . . . . | ||
+ | |||
+ | |||
+ | |||
+ | | ||
+ | | ||
+ | Page number | ||
+ | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | * **IFS Image File**: the full path of image file in IFS | ||
+ | * **Path of PDF File**: the PDF file you want to insert the image | ||
+ | * **Horizontal Position**: the x position (in pixel) from the left bottom of image to right of PDF page | ||
+ | * **Vertical Position**: the y position (in pixel) from the left bottom to top of PDF page | ||
+ | * **Page number**: indicate the PDF page number that image is inserted | ||
+ | * **Resize by Percentage**: | ||
+ | |||
+ | | ||
+ | The command IVWPDFIDX is introduced to import metadata index fields from a PDF. | ||
+ | < | ||
+ | Import metadata from PDF (IVWPDFIDX) | ||
+ | |||
+ | Type choices, press Enter. | ||
+ | |||
+ | iView archive name . . . . . . . | ||
+ | IFS path to PDF file . . . . . . '/ | ||
+ | |||
+ | Start Page . . . . . . . . . . . | ||
+ | End Page . . . . . . . . . . . . | ||
+ | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | * **iView archive name:** input the iView archive name which contains definition of index. Because this tool extract data from PDF file, so the index position should be text position in PDF file | ||
+ | * **IFS path to PDF file:** the PDF name where user wants to extract data | ||
+ | * **Start Page and End Page:** specify the PDF page ranges | ||
+ | * **Output dir for bursting files:** specify an IFS path to be used when bursting the file (which is configured in iView archive definition) | ||
+ | |||
+ | NOTE: This tool should be deployed with IFDJAVA.JAR and it’s independent with iView version. It can run on both Java 1.6, 1.7 or 1.8. \\ | ||
+ | The data will be imported into metadata file specified in parameter iView archive name. | ||
---- | ---- | ||
- | < | + | < |
pub/iviewapis.txt · Last modified: 2022/06/25 17:02 by 127.0.0.1