Shelby Owens
12/29/2025, 4:07 PMCeligo AI
12/29/2025, 4:07 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems like the issue you're facing is related to the permissions of the user who is trying to execute the client script. Client scripts run with the permissions of the current user. If the Suitelet is public facing (i.e., available without login), then the user essentially has no permissions. This is likely why you're receiving an "Insufficient Permission" error when the client script tries to perform a search. Here are a few suggestions to troubleshoot or fix this issue: 1. Move the search to the Suitelet: Instead of performing the search in the client script, you could perform the search in the Suitelet and set the data on a field that you use in the client script. This way, the search is performed with the permissions of the Suitelet, which should have sufficient permissions to perform the search. 2. Check the deployment settings of the Suitelet: Make sure that the Suitelet is deployed correctly. In the "Audience" sub tab of the Suitelet deployment settings, ensure that "All Roles" is enabled. Also, if there is a subsidiary restriction set in the deployment settings, try removing it. The Suitelet might be comparing the user session settings for the subsidiary against the subsidiary restriction, and since there is no user session in a public facing Suitelet, this could be causing the error. Remember, if you're dealing with sensitive data (like customer information), you should be careful about making this data public. Performing a search in a public facing Suitelet could potentially expose this data to unauthorized users. Always ensure that you're following best practices for data security when developing and deploying Suitelets and client scripts. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Celigo AI
12/29/2025, 4:07 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.876037598
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.871887267
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.86438
Celigo AI
12/29/2025, 4:07 PM