An error occurred during custom object creation. D...
# ask-stanley-ai
g
An error occurred during custom object creation. Details: Fail to evaluate script: {"type":"error.SuiteScriptModuleLoaderError","name":"INVALID_HIDE_IN_BUNDLE_PREFERENCE_SET_FOR_REFERENCED_LIBRARY_FILE","message":"This script references file SuiteApps/com.getbusy.getbusy/API/UrlHelper.js that has the Hide in SuiteBundle preference checked. This preference is invalid for files referenced by a client script. You must disable the Hide in SuiteBundle preference for the referenced file on the original file record in the File Cabinet.","stack":[]} File: ~/Objects/customscript_gb_sendtogb_cs_v1.xml
c
AI generated answer (using internal Slack threads):
The error message you're encountering is related to the "Hide in SuiteBundle" preference that is set for a file referenced in your script. This preference is invalid for files that are referenced by a client script. To resolve this issue, you need to disable the "Hide in SuiteBundle" preference for the referenced file. You can do this by going to the original file record in the File Cabinet and unchecking the "Hide in SuiteBundle" option. Here's a step-by-step guide on how to do this: 1. Navigate to the File Cabinet. 2. Locate the file
SuiteApps/com.getbusy.getbusy/API/UrlHelper.js
. 3. Open the file record. 4. Look for the "Hide in SuiteBundle" preference and uncheck it. 5. Save the changes. After doing this, you should be able to create your custom object without encountering the error. ****** 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.842873454
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833184302
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.831888
Please provide your feedback on this answer.
g
the file is locked