Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting column names of a view using CRM web API

I’m using the CRM Online 2016 Web API. Now the only information I have is a savedQuery or userQuery record. With this I can get all records of the view, but I also want the column names of this view.

Is there an easy way to get column names using the web API with only the information of a savedQuery/userQuery record?

I already have an indirect way of getting the column names(using the LayoutXML).

like image 240
Skaj Avatar asked Nov 09 '22 03:11

Skaj


1 Answers

Have a look into Use the Web API with Dynamics 365 metadata, this allows you get to information about the entity structure.

Not 100% if this will be better than using the Layout XML, but worth considering.

like image 116
James Wood Avatar answered Jan 03 '23 11:01

James Wood