Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Placing more than one widget instance with the <remform> tag on a page is not recommended. Unlike the <rem> tag, <remform> is used only for creating a single record at a time.

Use the following Available attributes:

AttributeTypeMandatoryDescription
isPortalBooleanN

Set the attribute to 'true' to display the widget on the portal. It is recommended to set the value of this attribute to 'true'.

isUserScriptsBooleanNDisable client scripts execution. The default value is 'true'.
modelIdStringNSpecify RE model ID.
nameStringN

This attribute stores the form name.

Define the form name within the template in the Template field:

Code Block
languagexml
themeEclipse
titleForm name
<remform tableName="itsm_incident" name="incidentForm"></remform>

And after that, you can call it in the widget client script:

Code Block
languagejs
themeEclipse
titleForm name
const builtInForm = s_widgets.getForm('incidentForm');
await builtInForm.save();


recordIdStringNSpecify an ID of an existing record to extend.
saveButtonCaptionStringNSpecify text displayed on the Save button.
styleStringN

Specify the display settings (size, font, color, etc.) of the widget elements using the CSS syntax.

tableNameStringYSpecify the name of the table containing the extending record.

...