Modules

filter

 

Objects/Functions

module (N/ui/serverWidget)

SuiteScript 2.0

Assistant.finishedHtml

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Assistant.finishedHtml for more information.

N/ui/serverWidget Module
Assistant.finishedHtml
Property Description: The text to display after the assistant finishes. For example “You have completed the Small Business Setup Assistant. Take the rest of the day off”. To trigger display of the completion message, call Assistant.isFinished().
Type: string
Supported Script Types: SuiteScript 2.0 Suitelet Script Type and SuiteScript 2.0 User Event Script Type (beforeLoad(scriptContext))
Module: N/ui/serverWidget Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Assistant.finishedHtml

Example:

// Code Example 1
//Add additional code
//...
var assistant = serverWidget.createAssistant({
title : 'Simple Assistant'
});
assistant.finishedHtml = "Congratulations! You have successfully set up your account.";
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4333540884.html