cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mgr
Helper I
Helper I

Command Designer - Navigate to a specified create Form in Model Driven App

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?

 

3 REPLIES 3
rampprakash
Super User
Super User

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

Blog : https://microsoftcrmtechie.blogspot.com

mgr
Helper I
Helper I

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.

SBax
Impactful Individual
Impactful Individual

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 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,431)