Workbench Library Service

In Niagara, the Workbench Library Service is available in the Tools menu. Enabled by default, the purpose of the Library Service is to store versioned station artifacts (i.e. files) in Workbench.

The service allows you to view and manage objects (add and remove) in the Library, and deploy via the Device Manager.

The main view, the Wb Library Service View allows you to manually insert artifact input fields. You can invoke the view by clicking Tools > Workbench Library Service, or when viewing the Workbench Service Manager, double-click on Workbench Library Service.

Figure 1. Wb Library Service View shows


Use Browse to locate and select a file to be inserted into the workbench library. Any file type can be inserted. In the view, the File Path, Artifact and Type values are filled in automatically. The Group field is a logical separator for artifacts in a Library, similar to a Java package name. The convention is to use a string with names separated by periods. Each name is considered a folder in the library for inserting and retrieving artifacts. For example, the Group com.tridium.template equates to a /com/tridium/template filepath, and artifacts will be inserted into the template folder in that path. The Group creates that path in the library and subsequent insertions will recognize that the path already exists.

Entering a Group value activates the following buttons (at bottom):

  • Insert — stores selected artifact(s) in the station library

  • Exists — invokes a search for existing versioned artifacts in the station library

  • Resolve — yields the ord for the selected artifact(s)