Documentation

Types of fields

textWithTranslation

Text with supported translations.

Fields, which type was marked as textWithTranslation has multiple languages support. You need to pass a string and it will be used as the value.

If you require various languages UI support, you can pass non-empty array as the field value with keys as the language ID, and values as text in the same language, for example:

{
  "en": "Save"
  "de": "Speichern"

}

When translation for current language is not found, uses English language. When English is not found, uses the first array element.


Scope

Where to display.

Some timeline record blocks have the parameter scope. When it's not complete, the visibility of the corresponding block will be limited only by specific device type.

Possible values:

  • required - displays block everywhere.
  • web - displays block in browser only.
  • mobile - displays block in mobile app only.
© «Bitrix24», 2001-2024