Loading

Missing query references on text widgets deployed using metadata API

Publiceringsdatum: Aug 25, 2023
Beskrivning

When an Analytics Dashboard is deployed from a source Org to a target Org using Metadata API with version 48 or lower, text widgets might not be deployed properly. We see few references specified in the text widget in source Org are not transferred to the target Org. The dashboard deploys as expected using change sets or when used in packaging.

Sample text widget information in source org:

"parameters": {
"content": {
"displayTemplate": "Total Figures - [Confirmed]",

"values": {

"Confirmed": {

"field": "Confirmed",

"sourceType": "result",

"step": "lens_1"

}

}

},

"fontSize": 16,

"showActionMenu": true,

"textAlignment": "left",

"textColor": "#091A3E"

},

"type": "text"

}

>> Text Widget deployed in Target Org.

{

"parameters": {

"content": {

"displayTemplate": "Total Figures - [Confirmed]"

},

"fontSize": 16,

"showActionMenu": true,

"textAlignment": "left",

"textColor": "#091A3E"

},

"type": "text"

}

 

Lösning
Since Change Sets and Packages use the latest API version, we do not observe this issue with them. While using Metadata API to deploy Dashboards please consider using the latest API version to overcome this issue.
Knowledge-artikelnummer

000389080

 
Laddar
Salesforce Help | Article