web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

SavedQueryVisualization

(0) ShareShare
ReportReport
Posted on by 10

In desperate need of a way to create a view programatically (Power Automate HTTP request) to a specific table/entity containing specific custom columns (added by another PA flow). Found this "SavedQueryVisualization" API but couldnt get it working.. It says

An unexpected 'StartObject' node was found for property named 'datadescription' when reading from the JSON reader. A 'PrimitiveValue' node was expected.

This is what my compose (HTTP body) looks like

{
"name": "My Custom View",
"description": "This is a custom view created using the Web API.",
"datadescription": {
"type": 1,
"attributes": [
{
"name": "param_0",
"displayname": "Serial Name",
"description": "The serial name",
"visible": true
},
{
"name": "param_1",
"displayname": "Software",
"description": "Software",
"visible": true
},
{
"name": "param_2",
"displayname": "HD ver",
"description": "HD ver",
"visible": true
}
]
},
"presentationdescription": {
"layout": {
"table": {
"columns": [
{
"width": "200",
"fieldname": "param_0",
"label": "Serial No"
},
{
"width": "300",
"fieldname": "param_1",
"label": "Software"
},
{
"width": "200",
"fieldname": "param_2",
"label": "Version"
}
]
}
},
"visualizationtype": 1,
"charttype": null,
"series": [],
"categories": [],
"type": "grid"
},
"fetchxml": "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'><entity name='table_160'><attribute name='sl_param_'0 /><attribute name='sl_param_1' /><attribute name='sl_param_2' /></entity></fetch>",
"isdefault": false,
"type": 0
}
where is the wrongs?
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Pallavi Phade Profile Picture

Pallavi Phade 98

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 81 Super User 2025 Season 2

#3
TAHER Mehdi Profile Picture

TAHER Mehdi 58

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans