Hi everyone,
This is related to Dynamics as well as Power Apps, so hopefully it's the right place.
We recently had a requirement to open a custom page as a modal dialog, from a canvas app embedded on a model-driven app form.
I had a good search around but couldn't find any way of doing it directly within the Canvas App using PowerFX. I also couldn't find a way to run Javascript from within the app, utilising the Client API navigateTo.
In the end I've created a button on my embedded canvas app form, which patches a yes/no choice field on the main form (hidden from users). I then register a Javascript function to open my dialog for the onChange of that field.
It works, but feels clunky as anything. Has anyone had a similar requirement and a different way of doing things (or any ideas)?
Kind regards,
Matt Taylor