Skip to content

arijsdijk/Custom-Pages-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Custom Pages JS

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

Parameter 1: Context

Parameter 2: Custom Page

This is the logical name for the custom page you want to use. Tip! Click solution layer to copy the logicalname

Parameter 3: Title

This is the title of the modal

Parameter 4: Position

With this parameter you can set the position of the modal. 1: Popup (centered) 2: Pane on the right side

Parameter 5: Width

Sets the width of the modal as a percentage (%). Use a numeric value between 1 and 100.

Parameter 6: Height

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.

About

A JS file for adding custom pages in a model-driven app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published