N/ui/serverWidget

Work with the user interface within NetSuite.

Oracle reference

0 of 79 methods have Mynt syntax 0%

0 implemented0 in progress0 planned0 under consideration79 open for proposals

Module functions

  1. serverWidget.createAssistant(options) Creates and returns a new assistant object. Open for proposals ·
  2. serverWidget.createForm(options) Creates and returns a new form object. Open for proposals ·
  3. serverWidget.createList(options) Creates a List object (specifying the title, and whether to hide the navigation bar). Open for proposals ·

Assistant object

  1. Assistant.addField(options) Adds a field to an assistant. Open for proposals ·
  2. Assistant.addFieldGroup(options) Adds a field group to an assistant. Open for proposals ·
  3. Assistant.addStep(options) Adds a step to an assistant. Open for proposals ·
  4. Assistant.addSublist(options) Adds a sublist to an assistant. Open for proposals ·
  5. Assistant.getField(options) Gets a field object. Open for proposals ·
  6. Assistant.getFieldGroup(options) Gets a field group object. Open for proposals ·
  7. Assistant.getFieldGroupIds() Gets all the field group IDs in an assistant. Open for proposals ·
  8. Assistant.getFieldIds() Gets all the field IDs in an assistant. Open for proposals ·
  9. Assistant.getFieldIdsByFieldGroup(fieldGroup) Gets all field IDs in the assistant field group. Open for proposals ·
  10. Assistant.getLastAction() Gets the last action submitted by the user. Open for proposals ·
  11. Assistant.getLastStep() Gets the step that the last submitted action came from. Open for proposals ·
  12. Assistant.getNextStep() Gets the next step prompted by the assistant. Open for proposals ·
  13. Assistant.getStep(options) Returns a step in an assistant. Open for proposals ·
  14. Assistant.getStepCount() Gets the total count of steps in the assistant. Open for proposals ·
  15. Assistant.getSteps() Gets all the steps in the assistant. Open for proposals ·
  16. Assistant.getSublist(options) Get a Sublist object from its ID. Open for proposals ·
  17. Assistant.getSublistIds() Gets all the sublist IDs in an assistant. Open for proposals ·
  18. Assistant.hasErrorHtml() Indicates whether the assistant has an error message to display. Open for proposals ·
  19. Assistant.isFinished() Indicates the status of the assistant. Open for proposals ·
  20. Assistant.sendRedirect(options) Manages redirects in an assistant. Open for proposals ·
  21. Assistant.setSplash(options) Define a splash message. Open for proposals ·
  22. Assistant.updateDefaultValues(values) Sets the default values of an array of fields that are specific to the assistant. Open for proposals ·

AssistantStep object

  1. AssistantStep.getFieldIds() Gets all the field IDs in an assistant step. Open for proposals ·
  2. AssistantStep.getLineCount(options) Gets the number of lines previously entered by a user in a step. Open for proposals ·
  3. AssistantStep.getSublistValue(options) Gets the current value of a sublist field (line item) in a step. Open for proposals ·
  4. AssistantStep.getSubmittedSublistIds() Gets the IDs for all the sublist fields (line items) in a step. Open for proposals ·
  5. AssistantStep.getValue(options) Gets the current value of a field. Open for proposals ·

Field object

  1. Field.addSelectOption(options) Adds a select option to a dropdown list for a selectable field. Open for proposals ·
  2. Field.getSelectOptions(options) Returns the internal ID and label of the options for a select field as name/value pairs. Open for proposals ·
  3. Field.setHelpText(options) Sets the help text that appears in the field help popup. Open for proposals ·
  4. Field.updateBreakType(options) Updates the break type used to add a break in flow layout for the field. Open for proposals ·
  5. Field.updateDisplaySize(options) Updates the height and width for the field. Open for proposals ·
  6. Field.updateDisplayType(options) Updates the type of display for the field. Open for proposals ·
  7. Field.updateLayoutType(options) Updates the layout type for the field. Open for proposals ·

Form object

  1. Form.addButton(options) Adds a button to the form. Open for proposals ·
  2. Form.addCredentialField(options) Adds a field that store credentials in NetSuite for invoking services provided by third parties. Open for proposals ·
  3. Form.addField(options) Adds a field to the form. Open for proposals ·
  4. Form.addFieldGroup(options) Adds a group of fields to the form. Open for proposals ·
  5. Form.addPageInitMessage(options) Shows a message on a form in view mode. Open for proposals ·
  6. Form.addPageLink(options) Adds a link to a form. Open for proposals ·
  7. Form.addResetButton(options) Adds a Reset button to a form that clears the values of all fields. Open for proposals ·
  8. Form.addSecretKeyField(options) Add a secret key field to the form. Open for proposals ·
  9. Form.addSublist(options) Adds a sublist to the form. Open for proposals ·
  10. Form.addSubmitButton(options) Adds a submit button to a form that saves user inputs. Open for proposals ·
  11. Form.addSubtab(options) Adds a subtab to a form. Open for proposals ·
  12. Form.addTab(options) Adds a tab to a form. Open for proposals ·
  13. Form.getButton(options) Returns a button by internal ID. Open for proposals ·
  14. Form.getField(options) Returns a field by internal ID. Open for proposals ·
  15. Form.getSublist(options) Returns a sublist by internal ID. Open for proposals ·
  16. Form.getSubtab(options) Returns a subtab by internal ID. Open for proposals ·
  17. Form.getTab(options) Returns a tab object from its internal ID. Open for proposals ·
  18. Form.getTabs() Returns the internal IDs of all tabs. Open for proposals ·
  19. Form.insertField(options) Inserts a field before another field within a form. Open for proposals ·
  20. Form.insertSublist(options) Inserts a sublist before another sublist on a form. Open for proposals ·
  21. Form.insertSubtab(options) Inserts a subtab before another subtab on a form. Open for proposals ·
  22. Form.insertTab(options) Inserts a tab before another tab on a form. Open for proposals ·
  23. Form.removeButton(options) Removes a button from a form. Open for proposals ·
  24. Form.updateDefaultValues(options) Sets the default values of many fields on a form. Open for proposals ·

List object

  1. List.addButton(options) Adds a button to a list. Open for proposals ·
  2. List.addColumn(options) Adds a column to a list. Open for proposals ·
  3. List.addEditColumn(options) Adds a column containing Edit or Edit/View links to a Suitelet or Portlet list. Open for proposals ·
  4. List.addPageLink(options) Adds a link to a list. Open for proposals ·
  5. List.addRow(options) Adds a single row to a list. Open for proposals ·
  6. List.addRows(options) Adds multiple rows to a list. Open for proposals ·

ListColumn object

  1. ListColumn.addParamToURL(options) Adds a URL parameter (optionally defined per row) to the list column's URL. Open for proposals ·
  2. ListColumn.setURL(options) Sets the base URL for the list column. Open for proposals ·

Sublist object

  1. Sublist.addButton(options) Adds a button to a sublist. Open for proposals ·
  2. Sublist.addField(options) Add a field to a sublist. Open for proposals ·
  3. Sublist.addMarkAllButtons() Adds a Mark All or Unmark All button. Open for proposals ·
  4. Sublist.addRefreshButton() Adds a Reset button. Open for proposals ·
  5. Sublist.getField(options) Returns a Field object on a specified sublist. Open for proposals ·
  6. Sublist.getSublistValue(options) Gets a field value on a sublist. Open for proposals ·
  7. Sublist.insertField(options) Inserts a field before another field on a sublist. Open for proposals ·
  8. Sublist.setSublistValue(options) Sets the value of a sublist field. Open for proposals ·
  9. 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 ·
  10. Sublist.updateUniqueFieldId(options) Updates a field ID that is to have unique values across the rows in the sublist. Open for proposals ·