Class TextArea

Text Area

Contains text area information for the config. Its properties determine how the text input is displayed in Data Studio.

Usage:

 const 
  
 cc 
  
 = 
  
 DataStudioApp 
 . 
 createCommunityConnector 
 (); 
 const 
  
 config 
  
 = 
  
 cc 
 . 
 getConfig 
 (); 
 const 
  
 textArea1 
  
 = 
  
 config 
 . 
 newTextArea 
 () 
  
 . 
 setId 
 ( 
 'textArea1' 
 ) 
  
 . 
 setName 
 ( 
 'Search' 
 ) 
  
 . 
 setHelpText 
 ( 
 'for example, Coldplay' 
 ) 
  
 . 
 setAllowOverride 
 ( 
 true 
 ) 
  
 . 
 setPlaceholder 
 ( 
 'Search for an artist for all songs.' 
 ); 

Methods

Method Return type Brief description
Text Area Enables overriding for this config entry.
Text Area Sets the help text for this configuration entry.
Text Area Sets the unique ID for this configuration entry.
Text Area Sets the dynamic status for this configuration entry.
Text Area Sets the display name for this configuration entry.
Text Area Sets the placeholder text for this configuration entry.

Detailed documentation

set Allow Override(allowOverride)

Enables overriding for this config entry. If set to true , data source creators have the option to enable this for report editors.

Parameters

Name Type Description
allow Override
Boolean Whether or not this config entry can be overridden in reports.

Return

Text Area — This builder, for chaining.


set Help Text(helpText)

Sets the help text for this configuration entry.

Parameters

Name Type Description
help Text
String The helpText to set.

Return

Text Area — This builder, for chaining.


set Id(id)

Sets the unique ID for this configuration entry.

Parameters

Name Type Description
id
String The ID to set.

Return

Text Area — This builder, for chaining.


set Is Dynamic(isDynamic)

Sets the dynamic status for this configuration entry.

If a dynamic configuration entry is modified, subsequent configuration entries are cleared.

Parameters

Name Type Description
is Dynamic
Boolean The dynamic status to set.

Return

Text Area — This builder, for chaining.


set Name(name)

Sets the display name for this configuration entry.

Parameters

Name Type Description
name
String The name to set.

Return

Text Area — This builder, for chaining.


set Placeholder(placeholder)

Sets the placeholder text for this configuration entry.

Parameters

Name Type Description
placeholder
String The placeholder text to set.

Return

Text Area — This builder, for chaining.

Create a Mobile Website
View Site in Mobile | Classic
Share by: