Integrate Software AG Products Using Digital Event Services 10.4 | Integrate Software AG Products Using Digital Event Services | MashZone NextGen Help | Use dashboards | Other | Allow anonymous access to dashboards | File resources
 
File resources
If the dashboard contains an external resource file that was uploaded to MashZone NextGen, for example, an image, you must perform the following steps.
*To grant the anonymous access, execute the following command in the MashZone NextGen API console.
{
"version": "1.1",
"sid": "PolicyService",
"svcVersion": "0.1",
"oid": "addPermissions",
"params": [
"[NAME_OF_THE_FILE]",
"type.entity.file",
"VIEW",
[
{
"principalId": "Presto_Guest",
"principalTypeId": "SpecialGroup"
}
]
]
}
*Add the x-p-anonymous=true URL parameter to the source URL to access the uploaded file, see for example the Source URL parameter of the Image dashboard component.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release