User Manual

08.14.2024

MANUAL

Developer Function: Server Script

## Overview Using "[Server Script](/en/manual/table-management-server-script)" allows you to execute JavaScript on the server side, enabling conditional branching, calculations, string processing, record manipulation, notifications via email or chat, dynamic access control, and more. The JavaScript execution engine used is Microsoft's [ClearScript](https://github.com/microsoft/ClearScript). ## Limitations 1. External scripts cannot be loaded. 1. Local resources such as local disks cannot be accessed. 1. DateTime values ​​in server scripts are converted to UTC. ## Difference Between Scripts and Server Scripts "[Script](/en/manual/table-management-script)" allows you to manipulate on-screen data by writing JavaScript that runs in the browser, but it cannot process data during "[API](https://pleasanter.org/en/manual/api)" data updates or ["Import"](/manual/table-record-import). With "Server Script", JavaScript input/output can be performed on the server's record model, enabling data processing even during performing "[API](https://pleasanter.org/en/manual/api)" and ["Import"](/manual/table-record-import). ## Debug You can debug "[Server Script](/en/manual/table-management-server-script)" using Visual Studio Code. For details, refer to [this manual](https://pleasanter.org/manual/server-script-debug). ## Operation Procedure Please refer to "[Table Management: Server Script](table-management-server-script)". ## Related Information <div id="ManualList"><ul><li><a href="/en/manual/table-management-script">Table Management: Script</a><span>08.13.2024 up</span></li> <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/server-script-debug">Developer Function: Server Script: Debug</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-conditions">Developer Function: Server Script: Condition</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-shared">Developer Function: Server Script: Share Code</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-include">Developer Function: Server Script: Include</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-context-add-message">Developer Function: Server Script: context.AddMessage</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-context-add-response">Developer Function: Server Script: context.AddResponse</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-context-error">Developer Function: Server Script: context.Error</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-context-forms">Developer Function: Server Script: context.Forms</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-context-query-strings">Developer Function: Server Script: context.QueryStrings</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-context-redirect">Developer Function: Server Script: context.Redirect</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-context-response-set">Developer Function: Server Script: context.ResponseSet</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-context-user-data">Developer Function: Server Script: context.UserData</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-site-settings">Developer Function: Server Script: siteSettings</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-site-settings-sections">Developer Function: Server Script: siteSettings.Sections</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-site-settings-site-id">Developer Function: Server Script: siteSettings.SiteId</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-view">Developer Function: Server Script: view</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-view-add-column-placeholder">Developer Function: Server Script: view.AddColumnPlaceholder</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-view-always-get-columns">Developer Function: Server Script: view.AlwaysGetColumns</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-view-clear-filters">Developer Function: Server Script: view.ClearFilters</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-view-filters">Developer Function: Server Script: view.Filters</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-view-filters-cleared">Developer Function: Server Script: view.FiltersCleared</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-view-id">Developer Function: Server Script: view.Id</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-view-search-types">Developer Function: Server Script: view.SearchTypes</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-grid">Developer Function: Server Script: grid</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-grid-selected-ids">Developer Function: Server Script: grid.SelectedIds</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-columns">Developer Function: Server Script: columns</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-columns-add-choice-hash">Developer Function: Server Script: columns.AddChoiceHash</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-columns-clear-choice-hash">Developer Function: Server Script: columns.ClearChoiceHash</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-elements">Developer Function: Server Script: elements</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-elements-display-type">Developer Function: Server Script: elements.DisplayType</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-elements-label-text">Developer Function: Server Script: elements.LabelText</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-utilities">Developer Function: Server Scripts: utilities</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-utilities-today">Developer Function: Server Script: utilities.Today</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-utilities-inrange">Developer Function: Server Script: utilities.InRange</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-items">Developer Function: Server Scripts: items</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-items-average">Developer Function: Server Script: items.Average</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-items-bulk-delete">Developer Function: Server Script: items.BulkDelete</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-items-count">Developer Function: Server Script: items.Count</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-items-create">Developer Function: Server Script: items.Create</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-items-delete">Developer Function: Server Script: items.Delete</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-items-get">Developer Function: Server Script: items.Get</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-items-get-site">Developer Function: Server Script: items.GetSite</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-items-get-site-by-group-name">Developer Function: Server Script: items.GetSiteByGroupName</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-items-get-site-by-name">Developer Function: Server Script: items.GetSiteByName</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-items-get-site-by-title">Developer Function: Server Script: items.GetSiteByTitle</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-items-max">Developer Function: Server Script: items.Max</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-items-new">Developer Function: Server Scripts: items.New</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-items-new-result">Developer Function: Server Script: items.NewResult</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-items-update">Developer Function: Server Script: items.Update</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-api-model">Developer Function: Server Script: apiModel</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-api-model-create">Developer Function: Server Script: apiModel.Create</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-api-model-delete">Developer Function: Server Script: apiModel.Delete</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-api-model-update">Developer Function: Server Script: apiModel.Update</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-users">Developer Function: Server Script: users</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-user">Developer Function: Server Script: user</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-depts">Developer Function: Server Script: depts</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-dept">Developer Function: Server Script: dept</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-dept-get-members">Developer Function: Server Script: dept.GetMembers</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-groups">Developer Function: Server Script: groups</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-group">Developer Function: Server Script: group</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-group-get-members">Developer Function: Server Script: group.GetMembers</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-group-contains-dept">Developer Function: Server Script: group.ContainsDept</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-groups-update">Developer Function: Server Script: groups.Update</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-group-member">Developer Function: Server Script: groupMember</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-notifications">Developer Function: Server Script: notifications</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-notifications-get">Developer Function: Server Script: notifications.Get</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-notifications-new">Developer Function: Server Script: notifications.New</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-notification">Developer Function: Server Script: notification</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-notification-send">Developer Function: Server Script: notification.Send</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-hidden">Developer Function: Server Script: hidden</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-hidden-add">Developer Function: Server Script: hidden.Add</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-http-client">Developer Function: Server Script: httpClient</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-http-client-get">Developer Function: Server Script: httpClient.Get</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-http-client-post">Developer Function: Server Script: httpClient.Post</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-http-client-put">Developer Function: Server Script: httpClient.Put</a><span>10.04.2024 up</span></li> <li><a href="/en/manual/server-script-http-client-delete">Developer Function: Server Script: httpClient.Delete</a><span>08.14.2024 up</span></li> <li><a href="/en/manual/server-script-responses-reload">Developer Function: Server Script: responses.Reload</a><span>08.14.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.