• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

Settings and maintenance 10.5.5 update

Audience:
settings
•
Version: 10.5.5
Some tooltip text!
• 2 minutes to read
 • 2 minutes to read

Screen designer - Quick action buttons on request message

To create a better working space for your users, you may sometimes need to fine-tune the different screens in SuperOffice. By selecting the quick action buttons in the message on a request, you can customise the button bar to control what different users should see or not see.

In the Screen designer, under the Request tab, you can edit the screen and select the Quick action button bar. Here, you can select which buttons to hide.

Screen designer - Hide standard quick action buttons for request message -screenshot

CRMScript - Use the Map class to define a list

In CRMScript, you can define list items using key-value pairs with the Map class. This approach simplifies logic when checking selected values in custom dialogs:

  • The key (ID) is the return value when a user selects an item.
  • The value is the display label shown in the dialog.
dlg.addList(
  "MapList", 
  "Map List", 
  Map().insert("12", "Twelve").insert("42", "Forty-two"), 
  "42", 
  "The meaning", 
  true
);

CRMScript sample using the Map class -screenshot

CRMScript - Add a multi-line text area

To include a multi-line input field in a CRMScript dialog, use the addTextarea method. You can also specify default text, size, and layout parameters.

dlg.addTextarea(
  "Mytextarea", 
  "My text area", 
  "test", 
  "this is default text", 
  false, 
  10, 
  1
);

CRMScript sample adding a text area -screenshot

In This Article
  • Screen designer - Quick action buttons on request message
  • CRMScript - Use the Map class to define a list
  • CRMScript - Add a multi-line text area
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top