Get Started With Assemblies

Assemblies are structured similarly to Visual Studio where you can build assemblies using files and folders. This workspace page is also similar to the Business Rules page in OneStream, allowing you to quickly create assemblies as needed.

The following image of a workspaces page shows the various components you will need to build an assembly.

1. Dependencies tree displays under the dependencies in Assembly files. 2. A folder icon with the folder name under the Files section in Assembly files. 3. Source code files icons located under the Folder in Assembly files. 4. The business rules used in the assembly file, for example Dashboard XFBR String. 5. Compile Action dropdown is a rectangle with a black down arrow.6. Comple icon is an arrow facing down with multiple dots, flat design style. 7. Sample code of the namespace.

  1. Dependencies: Reference other Workspaces assemblies, Business Rules, and Prepackaged assemblies from different workspaces. Right-click on Dependencies to create.

  2. Folders: Organize assembly files. Right-click on Files and select Add Folderto create a folder.

  3. Files: Written rules for the assemblies source code files, such as business rules, classes, interfaces, and so on. Right-click on Files to create a file.

  4. Business Rule Type: Type of business rule or service type. Decided upon during creation and cannot be changed after the file is created. This item will say Not Used if you have selected a service type rather than a business rule type.

  5. Compiler Action: Action to perform on the file. Can be Use Default, Disabled, or Compile (this is the same as Use Default). If you select Disabled, you cannot compile the assembly to verify syntax. This value can be changed after creating the assembly file.

  6. Compile Icon: Compiles all files in the assembly when clicked.

  7. Namespace: The Namespace of any given file will look different than what you would see on the Business Rules page. The filename, in this example, MyString, is the last item in the list.