Is it possible to check if a custsecret is availab...
# ask-stanley-ai
e
Is it possible to check if a custsecret is available in SuiteScript 2.1 before utilising it?
c
AI generated answer (using internal Slack threads):
Based on the provided Slack threads, it is not directly mentioned whether it is possible to check if a
custsecret
is available in SuiteScript 2.1 before utilizing it. However, it is generally recommended to be explicit in your scripts between 2.0 and 2.1 in the header, and not let the system/account settings pick. This might suggest that you can specify certain parameters or settings before running your script, which could potentially include checking for the availability of a
custsecret
. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.804557443
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.80139178
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.798467159
Please provide your feedback on this answer.