Loading

Missing query references on text widgets deployed using metadata API

Publiseringsdato: Aug 25, 2023
Beskrivelse

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-artikkelnummer

000389080

 
Laster
Salesforce Help | Article