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 Screen Index</a><span>10.02.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></div><input id="SearchTextHidden" type="hidden" value="" />