Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
linenumberstrue
[
    {
        title : 'Page Title',
        properties : [
            {
                name : 'Property Name',
                label : 'Property Label',
                description : 'Property Description', //optional, default is NULL
                type : 'Property Type',
                value : 'Property Value', //optional, default is null
                required : 'Mandatory or Not', //optional, boolean value, default is false
                //… more attributes …
            }, //… more fields …
        ],
        validators : [  //optional
            //… properties custom validators …
        ],
        buttons : [  //optional
            //… custom properties page buttons …
        ]
    }, //… more properties page …
]

 

Field Types

Check Box

  • type : 'checkbox'
  • Refer to Option Field Attributes for extra attributes.
  • Refer to Retrieve Properties Value in Plugin - Multi

...

  • Values Field on how to use the value of this field type in the plugin code.

Code Editor

  • type : 'codeeditor'
  • mode : Optional, used for specified highlight mode. Default to "text", available values are "text", "java", "html", "javascript", "css", "json", "sql" and "xml".
  • Refer to Retrieve Properties Value in Plugin - Single Values Field on how to use the value of this field type in the plugin code.

Combine Grid

 

Element Select Box

...

Retrieve Properties Value in Plugin

Single Value Field

Multi

...

Values Field