Specify the Image Source
- In the Properties panel, go to Data.
-
Select a Data source mode to retrieve the image.
Important: Data Perspective Studio supports only images with file names that contain the following characters: a-z A-Z 0-9 - _ .. It does not support slash characters (/).Note: Data Perspective Studio can build URLs for images 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:///resources/v1/bps/custoicon/type/icons/render?type=<item.type>Where
<item.type>specifies the object type icon to show. For example,render?type=VPMReference(other examples:Task,Risk,Project Space).DFS Object Storage service:dfsobjectstorage:// + ObjectStorage.getDownloadPath(bucketId, fileId)External site https://... Media library media://<myImage.jpg|png>Mode Description String input URL Enter the image URL. URL from string Variable Select the variable that contains the URL of the image to show in the visualization. URL from dataset field value Select a Data query, a Result set, and a Field which contains URLs. Data Perspective Studio retrieves only the first field value in the result set. You can use images stored by Data Factory Studio on the DFS Object Storage service of the 3DEXPERIENCE platform.
- In Data Factory Studio, ingest your image files in a
Object Storage Bucket:
From Storage, go to the Upload tab, and upload the image files.
Or from Pipeline, add a Copy Object Data pipeline, which takes an external S3 source to copy data to an internal DFS Object Storage.
- From Storage, configure a Semantic Graph Index Unit storage. It must have a data model class with a property that contains the image file id that is pushed in the object storage.
- From
Pipeline, configure an Index Tabular
Data pipeline to ingest the file id from a source file
(
CSV,JSON, orParquet). - In Data Perspective Studio, select the RESULT SET operator called by the visualization.
- In the RESULT SET operator
Fields section, add a field to specify the image path.
Give it a name and enter the following Expression:
service:dfsobjectstorage://" + ObjectStorage.getDownloadPath(bucketId, fileId)
For
bucketId, specify the bucket name of the DFS Object Storage bucket that stores the image file. ForfileId, specify the image file ID.The resulting path has the following format:
"service:dfsobjectstorage:///webservices/file/<bucketId>/<fileId>/downloadurl?<signature>"
Image from media library Upload the image to show in the visualization. Data Perspective Studio supports
.jpg(and.jpeg), and.pngfiles. - In Data Factory Studio, ingest your image files in a
Object Storage Bucket:
Result:


