Search code examples
dynamics-crmribboncrm-ribbon-workbench

Get all row data when clicked on ribbon button


I am trying to get all the fields of the selected rows on clicking of a ribbon button. So far I'm getting these values when I use SelectedControlSelectedItemReferences crm parameter on custom JS action: Id (Guid), TypeCode, TypeName (Schema Name of entity) and Name.

How can I get all the fields of the selected row?


Solution

  • You will only get Id (Guid), TypeCode, TypeName (Schema Name of entity) and Name. from the Grid Row. blog for reference

    You will have to retrieve(webapi) specific fields using guid and schema name.