Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Get entity schema from web resource

$
0
0

Hi everyone,

I want to use a webresource in multiple forms. I would like to be able to retrieve form's current entity schema name (the one with upper cases, not the one from "Xrm.Page.data.entity.getEntityName();") in order to build odata query: like "/AccountSet?$select=Name, ...". So I need to get the schema name for the current entity, like "Account" and not account from Xrm.Page.data.entity.getEntityName()

Is there a way to get the schema name with webresource javascript?

Thanks everyone


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>