contextData: Adding Extra Data to Assets
Last updated
Last updated
Ango Hub allows you to attach arbitrary text data to any , in such a way that it will appear, together with the asset, in the final . We call this data contextData
.
contextData is always a JSON dictionary with key/value pairs, for example:
contextData can be added to assets when uploading them:
Through the
Through the Upload Data URL function in the UI.
when using the function as documented.
when using the function as documented.
From your project dashboard, navigate to the Assets tab.
Click on the Add Data button.
Enter the Upload Data URL section.
Prepare a JSON containing your asset URLs paired with contextData, like so:
Drag and drop the JSON onto the upload box and upload. Your assets will have the contextData paired with them.
From your project, navigate to the Export tab and click on Export V3. You will obtain the contextData of each of your assets in the export: