$p.controller
Overview¶
This is a script function that allows you to obtain the controller type via an Ajax POST request.
List Of Obtainable Values¶
| Available screens | Obtained values |
|---|---|
| Tenant management screen | tenants |
| Department management screen | depts |
| Group management screen | groups |
| User management screen | users |
| Screens other than the above | items |
Syntax¶
JavaScript¶
Usage Examples¶
(1) Create a folder or table (in this example, we will retrieve items).
(2) Create a new "Script", write the following script content, and check "List" as the output destination and update it (if it is a Wiki, check "Edit" as the output destination).
JavaScript¶
(3) Go to the list screen.