Certificate.save()
Method Description |
Saves a certificate record object. |
Returns |
|
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Governance |
10 units |
Module |
|
Parent Object |
|
Sibling 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
...
fileObj = file.load({
id: 'SuiteScripts/ecdsa.p12'
});
loadedCertificate.file = fileObj;
loadedCertificate.password = '022b490ad4334c7e86a8304f937ec68f',
loadedCertificate.save();
...
// Add additional code