Koleksiyonlar ile düzeninizi koruyun İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
MetinGirişi
Yapılandırmayla ilgili metin girişi bilgilerini içerir. Özellikleri, metin girişinin Data Studio'da nasıl gösterileceğini belirler.
constcc=DataStudioApp.createCommunityConnector();constconfig=cc.getConfig();constinfo1=config.newTextInput().setId('info1').setName('Search').setHelpText('for example, Coldplay').setAllowOverride(true).setPlaceholder('Search for an artist for all songs.');
Bu yapılandırma girişi için yer tutucu metni ayarlar.
Ayrıntılı dokümanlar
setAllowOverride(allowOverride)
Bu yapılandırma girişi için geçersiz kılmayı etkinleştirir. true olarak ayarlanırsa veri kaynağı oluşturucular, bunu rapor düzenleyiciler için etkinleştirme seçeneğine sahip olur
Parametreler
Ad
Tür
Açıklama
allowOverride
Boolean
Bu yapılandırma girişinin raporlarda geçersiz kılınıp kılınamayacağı.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eTextInput\u003c/code\u003e objects are used to collect text input within a Data Studio configuration.\u003c/p\u003e\n"],["\u003cp\u003eThese objects allow you to define the input's label (\u003ccode\u003esetName\u003c/code\u003e), placeholder text (\u003ccode\u003esetPlaceholder\u003c/code\u003e), help text (\u003ccode\u003esetHelpText\u003c/code\u003e), and more.\u003c/p\u003e\n"],["\u003cp\u003eYou can control whether users can override the input's value (\u003ccode\u003esetAllowOverride\u003c/code\u003e) and whether it dynamically affects other configuration options (\u003ccode\u003esetIsDynamic\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eEvery \u003ccode\u003eTextInput\u003c/code\u003e needs a unique identifier set using the \u003ccode\u003esetId\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,["TextInput\n\nContains text input information for the config. Its properties determine how the text input is\ndisplayed in Data Studio.\n\n```javascript\nconst cc = DataStudioApp.createCommunityConnector();\nconst config = cc.getConfig();\n\nconst info1 = config.newTextInput()\n .setId('info1')\n .setName('Search')\n .setHelpText('for example, Coldplay')\n .setAllowOverride(true)\n .setPlaceholder('Search for an artist for all songs.');\n``` \n\nMethods\n\n| Method | Return type | Brief description |\n|---------------------------------------------------------------|----------------|---------------------------------------------------------|\n| [setAllowOverride(allowOverride)](#setAllowOverride(Boolean)) | [TextInput](#) | Enables overriding for this config entry. |\n| [setHelpText(helpText)](#setHelpText(String)) | [TextInput](#) | Sets the help text for this configuration entry. |\n| [setId(id)](#setId(String)) | [TextInput](#) | Sets the unique ID for this configuration entry. |\n| [setIsDynamic(isDynamic)](#setIsDynamic(Boolean)) | [TextInput](#) | Sets the dynamic status for this configuration entry. |\n| [setName(name)](#setName(String)) | [TextInput](#) | Sets the display name for this configuration entry. |\n| [setPlaceholder(placeholder)](#setPlaceholder(String)) | [TextInput](#) | Sets the placeholder text for this configuration entry. |\n\nDetailed documentation \n\n`set``Allow``Override(allowOverride)` \nEnables overriding for this config entry. If set to `true`, data source creators have the\noption to enable this for report editors\n\nParameters\n\n| Name | Type | Description |\n|-------------------|-----------|----------------------------------------------------------------|\n| `allow``Override` | `Boolean` | Whether or not this config entry can be overridden in reports. |\n\nReturn\n\n\n[TextInput](#) --- This builder, for chaining.\n\n*** ** * ** ***\n\n`set``Help``Text(helpText)` \nSets the help text for this configuration entry.\n\nParameters\n\n| Name | Type | Description |\n|--------------|----------|----------------------|\n| `help``Text` | `String` | The helpText to set. |\n\nReturn\n\n\n[TextInput](#) --- This builder, for chaining.\n\n*** ** * ** ***\n\n`set``Id(id)` \nSets the unique ID for this configuration entry.\n\nParameters\n\n| Name | Type | Description |\n|------|----------|----------------|\n| `id` | `String` | The ID to set. |\n\nReturn\n\n\n[TextInput](#) --- This builder, for chaining.\n\n*** ** * ** ***\n\n`set``Is``Dynamic(isDynamic)` \nSets the dynamic status for this configuration entry.\n\nIf a dynamic configuration entry is modified, subsequent configuration entries are cleared.\n\nParameters\n\n| Name | Type | Description |\n|---------------|-----------|----------------------------|\n| `is``Dynamic` | `Boolean` | The dynamic status to set. |\n\nReturn\n\n\n[TextInput](#) --- This builder, for chaining.\n\n*** ** * ** ***\n\n`set``Name(name)` \nSets the display name for this configuration entry.\n\nParameters\n\n| Name | Type | Description |\n|--------|----------|------------------|\n| `name` | `String` | The name to set. |\n\nReturn\n\n\n[TextInput](#) --- This builder, for chaining.\n\n*** ** * ** ***\n\n`set``Placeholder(placeholder)` \nSets the placeholder text for this configuration entry.\n\nParameters\n\n| Name | Type | Description |\n|---------------|----------|------------------------------|\n| `placeholder` | `String` | The placeholder text to set. |\n\nReturn\n\n\n[TextInput](#) --- This builder, for chaining."]]