scottdurow / RibbonWorkbench

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

Smart Buttons: Pass user Id and LCID to OpenDialog function to allow for multilingual canvas apps #55

Closed robertbastien closed 3 years ago

robertbastien commented 3 years ago

Hi Scott,

I have been a fan of Ribbon Workbench and Smart Buttons for a many many years and really appreciate your work on both tools. I have recently discovered the Open Dialog smart button and it is a god send because I need to display a wizard like feature using a canvas app and it fit... almost perfectly.

The issue is that I am working on a multilingual Dynamics solution (English and French) so the Canvas Apps also needs to display in the user's language.

To accomplish this, and also take into account the user's format settings, it would be a nice enhancement that the button also pass the user's GUID and LCID so that the I can set up the canvas app can display in the proper language and with the proper user formatting settings.

Thanks,

Robert

robertbastien commented 3 years ago

We found a workaround so this is no longer an issue.

FYI... in the canvas app we obtain the user's language by querying the User Settings entity and that did the trick