BRIX comes with a set of ready-made workspaces installed by default. The apps and item pages within these workspaces are pre-configured. These workspaces are referred to as built-in workspaces.
These are:
Default apps included in the built-in workspaces are referred to as built-in apps.
Export a built-in workspace
You can use built-in workspaces in other apps, for example, in business processes, or on app item pages, and export your solution from one company to another.
Let’s look at various cases of export:
- Export a component associated with a built-in workspace.
Let’s say you want to export the Contracts workspace. It includes the contract approval business process linked to the Companies built-in app. When exporting and further importing the workspace, no problems will occur, as any company has the same built-in app in BRIX. If you use a custom app that does not belong to the Contracts workspace, an error will occur during export.
- Export an entire built-in workspace.
You can export the entire built-in workspace as a separate system component. When importing it to another company, all its components will be uploaded: apps, pages, custom widgets, business processes, etc.
- Export of the built-in workspace as part of a solution.
All built-in workspace components are exported only if the entire workspace is included in a solution.
Important: If a built-in workspace is added to a solution NOT with all components, the processes and widgets (both built-in and custom ones) that are associated with the workspace will NOT be exported when the solution is downloaded. The workspace apps included in the solution, as well as processes and widgets associated with these apps will be downloaded. After import, the system workspace in the company will be updated: structures from the imported solution will be added to it.
Please note that if the Namespace
constant is used in a widget or process script used within an app, this built-in workspace can be exported:
- As a separate system component.
- As part of a solution if the entire built-in workspace is included in a solution.
начало внимание
Using the Global
or Namespace
constants in scripts restricts the export of system components. Read more about it in the Global constants in scripts article.
конец внимание