Overview
For cases requiring bounding boxes in a PDF and auto-scrolling from interface actions.
Key Features & Functionality
Example using “boundingBoxesDocumentUrl”:
reconcileDocumentViewer( documentUrl: document(cons!MY_DOCUMENT, "url"), boundingBoxesDocumentUrl: document(cons!MY_BOUNDING_BOXES_JSON, "url"))
Example usage using “boundingBoxes”:
reconcileDocumentViewer( documentUrl: document(cons!MY_DOCUMENT, "url"), boundingBoxes: { a!map( id: "1", text: "hello", pageNumber: 1, geometry: a!map( top: 0.05, left: 0.05, width: 0.05, height: 0.05 ), defaultHidden: false, /* optional, defaults true */ type: "type1", /* optional, used along with "selectableTypes", this bounding box will be selectable if "selectableTypes" is empty or if its value is contained within "selectableTypes" */ ) })
Usage considerations:
Hi,
Im trying to use this component and I have the following problem:
Component never displays the document when entering a task for the first time.
The display shows the following error: "Failed to load PDF file".
I checked that the document is uploaded correctly in Appian and its a PDF under 25Mb and under 500 pages. I tried to use both parameters (documentUrl and boundingBoxesDocumentUrl) and it didnt work