S3 scripting enhancements

New methods and events for standard forms

Description
  • IForm methods:
    • AddComboxBoxItem: Adds an item to a combo box.
    • RemoveComboBoxItem: Removes an item from a combo box
    • GetField: Gets an IField object from a data field
  • ScriptUtil methods:
    • SetUserAttribute: Sets a user attribute value for the current session only
    • ServerRequestAsync: Sends a request to the application server asynchronously
  • IForm events and event handler arguments to occur:
    • After a tab page is run
    • When a select window is about to open for a field
    • When a select window has closed after a selection
  • IField interface and ISelectRequest interface methods:

    Many new interface methods are available. More details are in developer documentation. (Search the infocenter for “IField Interface” and “ISelect Request Interface.”)

  • New script examples added to developer documentation:
These script examples are now available in the infocenter:
  • Example Script: Handling Before / After DrillSelect
  • Example Script: Using ServerRequestAsync
Impact

Developers can make use of these new methods and events in their scripts.

Related documentation

See Lawson Smart Office S3 Developer's Guide in the Lawson Smart Office Infocenter.