How can I navigate to a specified create form (new form) in a Model Driven App by the click on a Command Bar button using PowerFX?
Hi @mgr . Did you ever get an answer to this?
You could use the power FX navigate function
For example if you were working with a gallery, you would do something like:
Navigate(
AccountGallery.Selected,
{ Page: 'Accounts (Forms)'.Account //this is the name of your form//} )
In theory, a variation on this would work from a command button
Navigate( { Page: 'Accounts (Forms)'.Account } )
As you are working with Power FX, this should work from an ALM perspective
Hi rampprakash, thanks for the hint. I would need it to survive ALM process into Production by using managed solutions. The URL should not include hard coded App ID or system url.
Any more ideas how to get it to work. Maybe using environment variables for these two and dynamically composing the URL, if possible. I have to try it.
Hi @mgr
Are you trying to create a custom Button to navigate ?
If Yes then Open the Entity Where you want to Navigate copy the url and Paste the Same in Command Bar in URL to proceed the same
Please mark as Answer if it is helpful and provide Kudos
Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
mmbr1606
22
Super User 2025 Season 1
stampcoin
17
ankit_singhal
11
Super User 2025 Season 1