Evaluate if you can write to a specific record identified by table and
sys_id.
Table 1. Parameters
Name
Type
Description
table
String
The name of the table containing the record to query, such as
pa_indicators.
id
String
The sys_id of the record to query.
Table 2. Returns
Type
Description
Boolean
Indicates that you can write to the specified record. Returns true if the
record exists within the domain of the current user. Returns false if the record
does not exist, or is in a different domain.
Example
var pa = new SNC.PADomainUtils();
pa.isWriteable('pa_incidents','cd8125b5140012007665a83e633b028d');
We use cookies on this site to improve your browsing experience, analyze individualized usage and website traffic, tailor content to your preferences, and make your interactions with our website more meaningful. To learn more about the cookies we use and how you can change your preferences, please read our Cookie Policy and visit our Cookie Preference Manager. By clicking “Accept and Proceed,” closing this banner or continuing to browse this site, you consent to the use of cookies.
Please let us know how to improve this content
Save as PDF
Please let us know how to improve this content
Explain this code
var pa = new SNC.PADomainUtils();
pa.isWriteable('pa_incidents','cd8125b5140012007665a83e633b028d');