User Manual

08.14.2024

MANUAL

Developer Function: Server Script: view.Id

## Overview This is the ID of the ["View"](/manual/server-script-view) object. You can get the ID of the ["View"](/manual/table-record-view) selected on the "[List Screen](/en/manual/table-grid)" in the "[Server Script](/en/manual/table-management-server-script)". ## Notes 1. Only the "When Processing View" condition can be used. 1. Because it is read-only, the value of view.Id cannot be set by script. 1. View Id starts from 0. If no view is selected on the list screen, view.Id will be 0. 1. This is an object used by the server script function. It cannot be used with the script function. ## Usage Example The following example displays the ID of the view selected on the list screen in the console. ##### Javascript ``` context.Log("Selected View ID: " + view.Id); ``` ## Related Information <div id="ManualList"><ul><li><a href="/en/manual/table-grid">Table Function: Record List Screen</a><span>08.13.2024 up</span></li></ul></article> <ul><li><a href="/en/manual/table-management-server-script">Table Management: Server Script</a><span>08.13.2024 up</span></li></ul></article> <ul><li><a href="/en/manual/faq-server-script-log">FAQ: I want to output the error log of a server script</a><span>08.14.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.