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

Retrieve filtered metadata of entity using javascript

$
0
0

I want to fetch attributes of particular entity in javascript.But don't want all attributes which are of no use or can't be able to see in crm form or in form editor. I get all attribute using SDK.Metadata.But It gives all the attributes.

Code:

SDK.Metadata.RetrieveEntity(SDK.Metadata.EntityFilters.Attributes,
                "contact",
                null,
                false,
                function (entityMetadata) { successRetrieveEntity(module, entityMetadata); },
                errorRetrieveEntity);


Please suggest me the way from which I get only the attributes which are in form or able to see in form editor.


Viewing all articles
Browse latest Browse all 46379

Trending Articles