A JS file for adding custom pages in a model-driven app.
Just add this script to your Model Driven app as a Javascript web resource an create and configure 6 parameters.
- Context
- Custom Page
- Title
- Position
- Width
- Height
This is the logical name for the custom page you want to use. Tip! Click solution layer to copy the logicalname
This is the title of the modal
With this parameter you can set the position of the modal. 1: Popup (centered) 2: Pane on the right side
Sets the width of the modal as a percentage (%). Use a numeric value between 1 and 100.
Sets the height of the modal as a percentage (%). Use a numeric value between 1 and 100. If the value for Postion is set to 2, the height will always be 100 by default.