Workspaces Properties

Workspaces are defined and function according to the following conventions.

Naming Conventions

All maintenance unit objects can have the same name if they are in separate Workspaces.

Default Workspace

The Default Workspace is a system-generated Workspace where you can create solutions. All existing maintenance units before Platform Version 7.3.0 are in the Default Workspace.

  • The Default Workspace is shared and accessible by any other Workspace, even if it is not explicitly added to the Shared Workspaces list.

  • Referencing parameters do not consider Workspaces, and backward compatibility is enabled.

NOTE: The Default maintenance unit only exists on the Application Workspaces page.

Properties

The following properties define a Workspace.

General (Workspace)

  • Name: Enter the name of the Workspace.

  • Description: Enter a description of the Workspace.

  • Notes: Enter notes to add to the Workspace.

  • Substitution Variable Items: This field displays (Collection). Select the ellipsis button to view, edit, or delete the substitution variables to be used within the Workspace.

Security

  • Access Group: Select the group that has access to the Workspace.

  • Maintenance Group: Select the group that maintains and administers the Workspace.

Sharing

Sharing enables developers to selectively share Workspace items, such as dashboards, parameters, components, and adapters, across Workspaces. Sharing items across Workspaces provides opportunities to reuse items rather than copying them. To minimize the sharing of items from other Workspaces, implement all related items in the same Workspace.

  • Is Shareable Workspace: To allow other Workspaces to reference objects in the this Workspace, select True.

    IMPORTANT: Your Workspace must be sharable for nested parameters to refresh correctly when the parent parameter is changed.

The Default Workspace is defined by OneStream, and the Is Shareable Workspace property is set to True. This property cannot be changed. All other Workspaces can reference dashboards and parameters implemented in the Default Workspace.

NOTE: The Default Workspace is shareable by default and cannot be changed.

The Default Workspace also behaves as if all other Workspaces are part of its Shared Workspace Names list. Therefore, any dashboard or parameter defined in another shareable Workspace can be referenced by items in the Default Workspace. This approach simplifies backward compatibility since new Workspaces can access all items that previously existed in the Default Workspace. However, you must avoid using similar names for items in the Default and custom Workspaces.

  • Shared Workspace Names: This property indicates the Workspace names for use in the current Workspace. This is a comma-separated list of names (no spaces) that can be used to find items, for example, embedded dashboards, parameters, file resources, and string resources, while processing a dashboard in this Workspace.

    IMPORTANT: Referenced Workspaces must have the Is Shareable Workspace property set to True. The search order for a requested item name is the current Workspace, the Default Workspace, then the list of Shared Workspace Names in the order they were entered.

Assemblies

  • Namespace Prefix: This field includes each name used for referencing assemblies in a Workspace.

  • Imports Namespace 1-8: This content corresponds to the _ImportsNamespace1 placeholder value within the import statements in code.

  • Workspace Assembly Service: Enter a name for the Workspace assembly service factory used to process the dynamic creation of dashboards within this Workspace. This property must be configured for the service type assembly files to be used as intended. The syntax for this property is AssemblyName.AssemblyFileName.

Text

  • Text 1-8: Create string values.

Search Order

Sharing items across Workspaces requires a defined search order when the same item name is used multiple times. The following list provides the order of operations:

  1. Search the current Workspace you are working in.

  2. Search the Default Workspace.

  3. Search the Shared Workspace Names list.

NOTE: If all items are defined in the Default Workspace, search order is irrelevant.