Define the PDF Document to Show
-
In Datasource, specify where you want to retrieve the PDF
document using one of the following options.
Note: Data Perspective Studio can build URLs for documents coming from various sources. The following table describes the expected paths or URL formats for each supported source.
Source Expected Path or URL format 3DSpace service:3dspace://documents/{docId}3DDrive service:3ddrive://documents/{docId}DFS Object Storage service:dfsobjectstorage:// + ObjectStorage.getDownloadPath(bucketId, fileId)External site https://...Option Description Static value To enter a static PDF URL. Variable value To specify a variable containing the file name. Field value To select the field containing the PDF path. Select a data query and a Result set.
From Variable, select the variable that contains the id or the URI of the object that you want to associate with the PDF. For example, this object can be a hit in a Result List.
For Select field to compare with variable, select the field used by the variable to make the mapping with the PDF field. For example, the
urifield.For PDF field, select the field containing the PDF.
Optionally, from Highlights field, select the field containing the chunks of the PDF document to highlight. The expected field type is:
List<Tuple<content:String,boundingBoxes:List<Tuple<left:Float,right:Float,top:Float,bottom:Float,page:Integer>>>>. Users can then navigate through annotations in the PDF Reader.Expression value To select a data query and then configure an expression based on the expression language to retrieve the PDF document. -
From Page number, specify the PDF page number to display in
the visualization.
You can either specify a Static numeric value or select a dynamic Variable value. It opens on the first page by default.

