Hi Team,
I need to get selected Guids from home grid and advance find result view in plugin while trying to delete the record using ribbon delete button.
I registered the plugin in Delete message but I can get one record's Guid.which means If I select 5 records and delete, I need to get all 5 guids (custom entity) in plugin.
So how can I accomplish this scenario? I tried "BulkDelete" message but I can't register the plugin. Is it possible to get the result using bulkdelete message?
TIA.
Thanks for your reply Saud Ali . We can get the Ids by using mentioned above suggestion in client side. But I need the ids in Plugin.
Hi vijay12872 ,
If you have to pass selected Guids from CRM grid view to a plugin you can use plugin Input Parameters in plugin. To get selected rows from a grid you can use this code.
let allSelectedRows = gridContext.getGrid().getSelectedRows();
For more controls and details, you can go through this link: https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/grids/grid/getselectedrows
Thanks
Please mark as verified if the answer is helpful.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156