Text Area

With a text area widget, analytic application users can enter multiple lines of text or comments and descriptions retrieved from other widgets.

Analytic application users can use both the text area and the input field to enter text. The difference between them is that the input field displays content only in one line while the text area can automatically wrap lines according to the size of the widget. The maximum text length of a text area widget is 1000 characters.

The text area widget has the following specific properties:

Property

Property Value

Property Description

Name

String

Defines the unique name of a text area. If you do not enter a name, the system takes the default name (for example TextArea_1).

Display Hint

toggle, string

If you disable this option, no hint will be displayed either in the analytic application design time or at runtime. After enabling this option and entering a hint, when application users later start to enter a value in the text box during the analytic application runtime, the hint will be overwritten by the user-entered text automatically.

Text Area Style Properties

Property

Property Value

Property Description

Border

Color

Specifies the border color of the text area.

Background

Color

Specifies the background color of the text area.

After adding a text area widget to the canvas or popup, as an application designer you can write scripts to change the text area, such as set it to editable or not editable.

More detailed information about the API is available in SAP Help Portal at Analytics Designer API Reference.