6

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).

Skaj
  • 141
  • 6

1 Answers1

1

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.

James Wood
  • 17,286
  • 4
  • 46
  • 89
  • Yeah, that is sort of what I use now. Using the LayoutXML to get the logical name. And using EntityDefinitions+logical name to get the display name(column name), but this creates problems with linked entities(which I had to work around). – Skaj Jan 20 '17 at 14:06