N/ui/serverWidget
Work with the user interface within NetSuite.
Oracle reference0 of 79 methods have Mynt syntax 0%
0 implemented0 in progress0 planned0 under consideration79 open for proposals
Module functions
- serverWidget.createAssistant(options) Creates and returns a new assistant object. Open for proposals ·
- serverWidget.createForm(options) Creates and returns a new form object. Open for proposals ·
- serverWidget.createList(options) Creates a List object (specifying the title, and whether to hide the navigation bar). Open for proposals ·
Assistant object
- Assistant.addField(options) Adds a field to an assistant. Open for proposals ·
- Assistant.addFieldGroup(options) Adds a field group to an assistant. Open for proposals ·
- Assistant.addStep(options) Adds a step to an assistant. Open for proposals ·
- Assistant.addSublist(options) Adds a sublist to an assistant. Open for proposals ·
- Assistant.getField(options) Gets a field object. Open for proposals ·
- Assistant.getFieldGroup(options) Gets a field group object. Open for proposals ·
- Assistant.getFieldGroupIds() Gets all the field group IDs in an assistant. Open for proposals ·
- Assistant.getFieldIds() Gets all the field IDs in an assistant. Open for proposals ·
- Assistant.getFieldIdsByFieldGroup(fieldGroup) Gets all field IDs in the assistant field group. Open for proposals ·
- Assistant.getLastAction() Gets the last action submitted by the user. Open for proposals ·
- Assistant.getLastStep() Gets the step that the last submitted action came from. Open for proposals ·
- Assistant.getNextStep() Gets the next step prompted by the assistant. Open for proposals ·
- Assistant.getStep(options) Returns a step in an assistant. Open for proposals ·
- Assistant.getStepCount() Gets the total count of steps in the assistant. Open for proposals ·
- Assistant.getSteps() Gets all the steps in the assistant. Open for proposals ·
- Assistant.getSublist(options) Get a Sublist object from its ID. Open for proposals ·
- Assistant.getSublistIds() Gets all the sublist IDs in an assistant. Open for proposals ·
- Assistant.hasErrorHtml() Indicates whether the assistant has an error message to display. Open for proposals ·
- Assistant.isFinished() Indicates the status of the assistant. Open for proposals ·
- Assistant.sendRedirect(options) Manages redirects in an assistant. Open for proposals ·
- Assistant.setSplash(options) Define a splash message. Open for proposals ·
- Assistant.updateDefaultValues(values) Sets the default values of an array of fields that are specific to the assistant. Open for proposals ·
AssistantStep object
- AssistantStep.getFieldIds() Gets all the field IDs in an assistant step. Open for proposals ·
- AssistantStep.getLineCount(options) Gets the number of lines previously entered by a user in a step. Open for proposals ·
- AssistantStep.getSublistValue(options) Gets the current value of a sublist field (line item) in a step. Open for proposals ·
- AssistantStep.getSubmittedSublistIds() Gets the IDs for all the sublist fields (line items) in a step. Open for proposals ·
- AssistantStep.getValue(options) Gets the current value of a field. Open for proposals ·
Field object
- Field.addSelectOption(options) Adds a select option to a dropdown list for a selectable field. Open for proposals ·
- Field.getSelectOptions(options) Returns the internal ID and label of the options for a select field as name/value pairs. Open for proposals ·
- Field.setHelpText(options) Sets the help text that appears in the field help popup. Open for proposals ·
- Field.updateBreakType(options) Updates the break type used to add a break in flow layout for the field. Open for proposals ·
- Field.updateDisplaySize(options) Updates the height and width for the field. Open for proposals ·
- Field.updateDisplayType(options) Updates the type of display for the field. Open for proposals ·
- Field.updateLayoutType(options) Updates the layout type for the field. Open for proposals ·
Form object
- Form.addButton(options) Adds a button to the form. Open for proposals ·
- Form.addCredentialField(options) Adds a field that store credentials in NetSuite for invoking services provided by third parties. Open for proposals ·
- Form.addField(options) Adds a field to the form. Open for proposals ·
- Form.addFieldGroup(options) Adds a group of fields to the form. Open for proposals ·
- Form.addPageInitMessage(options) Shows a message on a form in view mode. Open for proposals ·
- Form.addPageLink(options) Adds a link to a form. Open for proposals ·
- Form.addResetButton(options) Adds a Reset button to a form that clears the values of all fields. Open for proposals ·
- Form.addSecretKeyField(options) Add a secret key field to the form. Open for proposals ·
- Form.addSublist(options) Adds a sublist to the form. Open for proposals ·
- Form.addSubmitButton(options) Adds a submit button to a form that saves user inputs. Open for proposals ·
- Form.addSubtab(options) Adds a subtab to a form. Open for proposals ·
- Form.addTab(options) Adds a tab to a form. Open for proposals ·
- Form.getButton(options) Returns a button by internal ID. Open for proposals ·
- Form.getField(options) Returns a field by internal ID. Open for proposals ·
- Form.getSublist(options) Returns a sublist by internal ID. Open for proposals ·
- Form.getSubtab(options) Returns a subtab by internal ID. Open for proposals ·
- Form.getTab(options) Returns a tab object from its internal ID. Open for proposals ·
- Form.getTabs() Returns the internal IDs of all tabs. Open for proposals ·
- Form.insertField(options) Inserts a field before another field within a form. Open for proposals ·
- Form.insertSublist(options) Inserts a sublist before another sublist on a form. Open for proposals ·
- Form.insertSubtab(options) Inserts a subtab before another subtab on a form. Open for proposals ·
- Form.insertTab(options) Inserts a tab before another tab on a form. Open for proposals ·
- Form.removeButton(options) Removes a button from a form. Open for proposals ·
- Form.updateDefaultValues(options) Sets the default values of many fields on a form. Open for proposals ·
List object
- List.addButton(options) Adds a button to a list. Open for proposals ·
- List.addColumn(options) Adds a column to a list. Open for proposals ·
- List.addEditColumn(options) Adds a column containing Edit or Edit/View links to a Suitelet or Portlet list. Open for proposals ·
- List.addPageLink(options) Adds a link to a list. Open for proposals ·
- List.addRow(options) Adds a single row to a list. Open for proposals ·
- List.addRows(options) Adds multiple rows to a list. Open for proposals ·
ListColumn object
Sublist object
- Sublist.addButton(options) Adds a button to a sublist. Open for proposals ·
- Sublist.addField(options) Add a field to a sublist. Open for proposals ·
- Sublist.addMarkAllButtons() Adds a Mark All or Unmark All button. Open for proposals ·
- Sublist.addRefreshButton() Adds a Reset button. Open for proposals ·
- Sublist.getField(options) Returns a Field object on a specified sublist. Open for proposals ·
- Sublist.getSublistValue(options) Gets a field value on a sublist. Open for proposals ·
- Sublist.insertField(options) Inserts a field before another field on a sublist. Open for proposals ·
- Sublist.setSublistValue(options) Sets the value of a sublist field. Open for proposals ·
- Sublist.updateTotallingFieldId(options) Updates the ID of a field designated as a totalling column, which is used to calculate and display a running total for the sublist. Open for proposals ·
- Sublist.updateUniqueFieldId(options) Updates a field ID that is to have unique values across the rows in the sublist. Open for proposals ·