User Manual

08.14.2024

MANUAL

Developer Function: Server Script: items.NewResult

## Overview Create a new instance of the "apiModel object" for the "record table" in the "[Server Script](/en/manual/table-management-server-script)". ## Syntax ``` items.NewResult() ``` ## Return Value Return the "apiModel object" of the "record table". ## Usage Example The following example creates a record in the "Record Table" for site ID 3 with the title "About Pleasanter Version Upgrade". ##### JavaScript ``` let siteId = 3; let item = items.NewResult(); item.Title = 'About Pleasanter Version Upgrade'; items.Create(siteId, item); context.Log(item.ResultId); // Output ID of the created record ``` ## Related Information <div id="ManualList"><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="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.