Saves data as a DSS static insight that can be exposed on the dashboard

dkuSaveInsight(id, payload, contentType, encoding = NULL, label = NULL)

Arguments

id:

Unique identifier of the insight within the project. If an insight with the same identifier already exists, it will be replaced

payload:

bytes of the data, or base64-encoded string

contentType:

the MIME type of the data in payload (example: text/html or image/png)

encoding:

if the payload was a base64-encoded string, this must be "base64". Else this must be NULL

label:

Optional display label for the insight. If NULL, the id will be used as label

Value

Nothing