Loading

Missing query references on text widgets deployed using metadata API

게시 일자: Aug 25, 2023
상세 설명

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"

}

 

솔루션
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 기사 번호

000389080

 
로드 중
Salesforce Help | Article