To try this feature, edit the Model Driven App in new modern designer

Once the designer is opened, you can select the entity you want to customize and click on Edit Command bar

This image has an empty alt attribute; its file name is image-15.png

You will be redirected to below screen

you can select which command bar you want to customize, I am customizing form so selected Main Form option and click on edit you will redirect to below screen

click on New to add new button

Provide details like Label, Tool tip , Icon . You can use existing icons or import your own icon using web resource

For the button, on select property you can either write the Fx formula or call the JavaScript function

Button visibility can also be handled through visibility action

Features:

  • Enhances custom pages (or the convergence of canvas and model-driven apps)
    • Open a custom page as a dialog
      • You can also trigger cloud flows from a button on the custom page
  • Power Fx support for visibility and action logic
    • Or use JavaScript for more advanced logic (you may also continue using existing JavaScript as-is)
  • Command designer simplifies customization – whether low-code or pro-code
  • Better ALM support along with standardized localization and presence in the solution interface
  • Better app level control – commands are applied to individual apps
  • Simple, flat data model
  • Classic commands remain supported, Apps can run both classic + modern commands side by side
    • No forced migration
    • Arrange modern commands amongst existing classic commands

Hope its helpful..! 🙂


This free site is ad-supported. Learn more