Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
API Secrets - programmatical creation and access to scriptid
Hello,
I have two questions regarding the managing and usage of API Secrets.
Is there a way to create API Secret record via suitescript?
And secondly, is it possible to get a specific API Secret "id" field - not the internal id but the scriptid that is used in method https.createSecureString? I see that it is possible to create a custom field (custom entity for example) of type list/record and point it to the API Secrets. However, that field does not provide any joined fields in Saved Searches and nothing else than the internal id or the name when being used in SuiteScript record.load. Hence, I am not able to get the scriptid. Also Secret APIs are not listed in Saved Search menu, so
Tagged:
0