Views:

Description

Returns any top level meta data attribute on the specified entity.

Signature

GetEntityMetadata('entity', 'property')

Example

GetEntityMetadata('contact', 'ObjectTypeCode') Returns 2

GetEntityMetaData('account', 'DisplayName.UserLocalizedLabel.Label') Returns 'Account' if the current Users' language is English

GetEntityMetadata('account', 'Attributes.Address1_ShippingMethodCode.OptionSet.Options') Returns an entity collection containing the OptionSets


Please use the Metadata browser in XrmToolBox to browse all the different properties you can return. 

== $0

Parameters

Name Type Description Required
fromdate xxxx xxxx xxxx
todate xxxx xxxx xxxx
interval xxxx xxxx xxxx

Notes: