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