Certificate.notifications

Note:

The content in this help topic pertains to SuiteScript 2.0 and SuiteScript 2.1.

Property Description

The internal IDs of the employees copied on expiration notification email. The values for this property are found in the Copy Employees field of the Audience tab on the certificate record.

When you create or edit a certificate object with values for this property, you also check the Copy Employees box for the certificate record.

Type

number[]

Module

N/certificateControl Module

Parent Object

certificateControl.Certificate

Sibling Object Members

Certificate Object Members

Since

2019.2

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/certificateControl Module Script Samples.

            // Add additional code
...
//create a variable to hold the properties of the certificate object
var options = {
    name : 'testCertp12',
    description : 'testDescription',
    scriptId : '_testidp12',
    //include the internal IDs for employees you want copied on expiration reminder email
    notifications: [168,259]
    };
//create the certificate record with the options variable
var newCertificate = cc.createCertificate(options);
//save the certificate object
newCertificate.save();
...
// Add additional code 

          

Related Topics

Digital Signing
Uploading Digital Certificates
N/https/clientCertificate Module
N/crypto/certificate Module

General Notices