4
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.
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
Completed
Administrator on 5/15/2023 5:36:37 AM
The getEntityMetadata function now accepts an array of attributes which can be used to filter down the data you receive.
Thank you for your idea submission.