$p.action
Overview¶
This is a script function that allows you to obtain the type of action taken by an Ajax POST request.
Syntax¶
JavaScript¶
List Of Obtainable Values¶
| Available screens | Obtained values |
|---|---|
| New creation screen | new |
| Edit screen | edit |
| List screen | index |
| Calendar display screen | calender |
| Crosstab display screen | crosstab |
| Gantt chart display screen | gantt |
| Burndown chart display screen | burndown |
| Timeseries chart display screen | timeseries |
| Kanban display screen | kanban |
| Image library display screen | imagelib |
| Recycle Bin screen | trashbox |
Usage Examples¶
(1) Create a folder and table (in this example, we will retrieve the index).
(2) Create a new "Script", write the contents of the script below, 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.