Hi There,
I'm trying to create a command bar button in a Model Driven app using PowerFx using this article as my source : https://www.matthewdevaney.com/customize-the-command-bar-in-a-power-apps-model-driven-app/
All seems to go well when creating and customising the button, but when I run the app and click the button I get this error :
Or something similar. I found a question on the D365 Community (https://community.dynamics.com/365/f/dynamics-365-general-forum/472762/weird-behaviour-when-using-power-fx-commands-in-command-bar-of-dynamics-model-driven-app/1323585) where someone had the same thing but the solution there just isn't working for me.
I'd like to use PowerFx as I understand it a lot better than JavaScript but I suspect I'll need to use JavaScript to get this delivered. I'm concerned I might be missing something in my config or environment settings though.
Can anyone shed any light on this?
Thanks!

Report
All responses (
Answers (