allowSharedChannel

allowSharedChannel: boolean | undefined

Automatically enable shared channel when opening iModels for read/write (see Working With Channels). If not present, defaults to true for backwards compatibility. This means that the shared channel may be edited by default. Generally that is undesirable because it allows applications to "accidentally" modify data it shouldn't be allowed to modify. Unfortunately the previous versions of iTwin.js allowed it so this is necessary so they won't break. Will be changed to default to false in 5.0.

Defined in

Last Updated: 21 November, 2024