Class Info

Info

Contains info data for the config. Its properties determine how the info is displayed in Data Studio.

 const 
  
 cc 
  
 = 
  
 DataStudioApp 
 . 
 createCommunityConnector 
 (); 
 const 
  
 config 
  
 = 
  
 cc 
 . 
 getConfig 
 (); 
 const 
  
 info1 
  
 = 
  
 config 
 . 
 newInfo 
 (). 
 setId 
 ( 
 'info1' 
 ). 
 setText 
 ( 
  
 'This text gives some context on the configuration.' 
 ); 

Methods

Method Return type Brief description
Info Sets the unique ID for this configuration entry.
Info Sets the text for this configuration entry.

Detailed documentation

set Id(id)

Sets the unique ID for this configuration entry.

Parameters

Name Type Description
id
String The ID to set.

Return

Info — This builder, for chaining.


set Text(text)

Sets the text for this configuration entry.

Parameters

Name Type Description
text
String The text to set.

Return

Info — This builder, for chaining.

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