scottdurow / RibbonWorkbench

Ribbon Workbench 2016 for Dynamics 365
https://ribbonworkbench.uservoice.com/
MIT License
72 stars 25 forks source link

Get Selected Record Ids from current Grid in Canvas App Smart Button Dialog #58

Open borovez opened 3 years ago

borovez commented 3 years ago

I am trying to implement a new Ribbon dialog button that will display the record ids of the currently selected items in the grid.

image

I can only access the id of the first record selected using the code from your article

Set(varRecordId, If(
    IsBlank(Param("recordId")),
    GUID("780bb51e-961e-ea11-a810-000d3ab39933"),
    GUID(Param("recordId"))
));

How can I access all of the selected records?

Is there a way to debug whereby I can list all of the available Params so that I can see what is being passed to the canvas app?

Thank you for your support.

MrFearLess98 commented 3 years ago

Hello @borovez ,

I have the same scenario, I want to fetch the selected record id without hardcoding the values.

Have you found any workaround to solve this issue?

Thanks!

vikashkumar669 commented 3 years ago

I also have similar requirement where I want to get all selected record ids from a entity grid and update few fields on all records. Please share the solution if any of you have resolved. Thank you! Vikash

Shikha1405 commented 3 years ago

I am facing a similar issue. Any resolution or workaround on how to pass SelectedRecordsIds to Canvas App?

SandraDevin commented 1 year ago

Is there any update on this issue? I have the same challenge. I used a PX button to call a custom page, and that works perfectly; unfortunately the custom page itself has other limitations that I've yet to overcome.

matze140984 commented 7 months ago

Hi@ all...

Is there any solution to the issue

Many Thanks :-)

jaderbr96 commented 2 months ago

Has anyone been able to find a solution to this error?