tiger
09/17/2025, 9:32 AMCeligo AI
09/17/2025, 9:32 AMAI generated answer (using internal Slack threads):Based on the conversations, it seems like you're trying to set the
clientScriptModulePath
to a relative path from your User Event (UE) script. The clientScriptModulePath
is relative to the script file where it is being set. If your UE and Client Script (CS) are in the same directory, you should be able to set the clientScriptModulePath
to the name of your CS file.
For example, if your CS file is named client_script.js
, you can set clientScriptModulePath
as follows:
context.form.clientScriptModulePath = 'client_script.js';
If you're still getting an error, try being explicit about the relative part by adding ./
before the file name:
context.form.clientScriptModulePath = './client_script.js';
Also, ensure that both your UE and CS scripts have the same SuiteScript API version indicated at the top of the file. If the API versions are different, you might encounter errors.
******
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
09/17/2025, 9:32 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.85357666
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.843688965
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.843506
Celigo AI
09/17/2025, 9:32 AM