First create a button using a userevent script to add a button. Use N/record, N/ui/serverWidget and N/url modules. The script sample is provided below: We need to create a suitelet script for opening a suitelet page on button action. The script id and deployment id provided in the resolveScript function is the suitelet script id… Continue reading Rendering an advanced PDF template on button action by including the resolveScript() in the userevent script.
Tag: render an advanced PDF template
Rendering an advanced PDF template on button action.
First create a button using a userevent script to add a button. Use N/record and N/ui/serverWidget modules. The script sample is provided below: We need to create a suitelet script for opening a suitelet page on button action. The URL provided in the window.open function is the suitelet page URL. Use N/record, N/render, N/runtime, N/file… Continue reading Rendering an advanced PDF template on button action.