User Manual

08.14.2024

MANUAL

Developer Function: Script: $p.tableName

## Overview This function allows you to obtain the type of folder or table in which the script is placed via an Ajax POST request. ## List of values ​​that can be obtained |Table type|Obtained value| |:--|:--| |Folder|Sites| |Record table|Results| |Time-limited table|Issues| |Wiki|Wikis| ## Syntax ##### JavaScript ``` $p.tableName(); ``` ## Usage Example (1) Create a folder or table. (2) Create a new "[Script](/en/manual/table-management-script)", write the following script content, and check "[List](/en/manual/table-management-grid)" as the output destination and update it (if it's a Wiki, check "Edit" as the output destination). ##### JavaScript ``` alert('This table is of type [' + $p.tableName() + '].'); ``` (3) Go to the list screen (if it's a Wiki, go to the editing screen).
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.