20
Points
Questions
0
Answers
2
-
You can attach a client script to a suitelet and also add buttons which link to the client script for functionality.
form.addButton({ id: 'buttonid', label: 'Button Name', functionName: 'functionName' }); form.clientScriptModulePath = './myscript.js';Then in your Client Script you would create a function ‘functionName’, include it in the return statement and then you can use this function to get values from your sublist.
- 4042 views
- 2 answers
- 0 votes
-
Is this on a Server or Client side script? If it’s client side then jquery should be included by default, you just access it by using jqeury in your script rather than $. If you are trying to add to Server Side I don’t believe it will work as jQuery requires the document/window be available.
This answer accepted by JJ. on October 9, 2019 Earned 15 points.
- 2371 views
- 1 answers
- 1 votes