items.New (deprecated)
Deprecated
This method is deprecated. Please use "items.NewSite", "items.NewIssue" and "items.NewResult".
Overview¶
In the "Server Script", create a new instance of the "apiModel object" for the "Time-limited Table".
Syntax¶
Return Value¶
Return the "apiModel object".
Usage Examples¶
The following example creates a record in the "Time-limited Table" for site ID 2 with the title "About Pleasanter Version Upgrade".
JavaScript¶
let siteId = 2;
let item = items.New();
item.Title = 'About Pleasanter Version Upgrade';
items.Create(siteId, item);