Boban Dragojlovic
10/04/2024, 3:38 PMCeligo AI
10/04/2024, 3:38 PMAI generated answer (using internal Slack threads):To connect a client script to the order entry form of the customer portal, you would need to create a Client Script record and deploy it to the Sales Order record type. Here are the steps: 1. Navigate to Customization > Scripting > Scripts > New. 2. Select Client Script and click Create Script Record. 3. In the new script record, you can add your code. Make sure to use the appropriate entry points such as
pageInit
, saveRecord
, fieldChanged
, etc. depending on your requirements.
4. Save the script record.
5. Now, you need to deploy the script. Navigate to the Deployments subtab and click New Deployment.
6. In the Applies To field, select Sales Order.
7. Save the deployment.
Now, your client script is connected to the order entry form of the customer portal. Whenever a sales order form is loaded, your client script will be triggered.
Please note that the script will run on all sales order forms, not just those accessed through the customer portal. If you want the script to only run for the customer portal, you would need to add a condition in your script to check if the form is being accessed through the customer portal.
******
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
10/04/2024, 3:38 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.822127283
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820644557
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818499446
Celigo AI
10/04/2024, 3:38 PM