2
When an onclicktoact event is received (with entityId and entityLogicalName) I'd like to retrieve the PrimaryNameAttribute of the entityLogicalName (let's say contact) so that I can use the PrimaryNameAttribute (fullname) and retrieve this field additionally (regular retrieveRecord API call).
I can achieve this today with getEntityMetadata but the amount of data returned (1MB) is too high.

WebAPI example: /api/data/v9.0/EntityDefinitions(LogicalName='contact')?$select=PrimaryNameAttribute

Please let me know if the same can be achieved with the existing CIF API functions.
STATUS DETAILS
Needs Votes