Skip to content

$p.siteId

Overview

Gets the site ID of the linked table.

Syntax

$p.siteId(<site name>)

Code Samples

If you set the following sample code to the Pleasanter script and set the output destination to "Create New", the site ID of the corresponding site will be alerted on the new record creation screen.

JavaScript
alert($p.siteId('Project management'));