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
- core/backend/src/IModelHost.ts Line 198
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.