Managed Workspaces is a new methodology for managing MicroStation workspaces in ProjectWise. Users can create and maintain their complete workspace configuration, workspace resources and standards in ProjectWise.
I've been certifying Managed Workspaces for a few years now and would like to share some technical information I have accumulated. The first topic I would like to cover is how the Managed workspace is exported from ProjectWise and used to launch MicroStation.
The best way to understand the how the Managed Workspace is processed is to take a look at the Managed Workspace Export Progress dialog. When you open a design file from ProjectWise with a Managed Workspace the first thing you'll see is the Managed Workspace Export Progress dialog. In the Task section you will see the workflow used to launch MicroStation.
First Task "Gathering configuration settings blocks": ProjectWise gathers the configuration settings blocks (CSB's) assigned to the design file being opened.
Second Task "Creating temporary configuration files": This task needs to be broken into three parts.
ProjectWise V8i (SELECTseries1)
With ProjectWise V8i (SELECTseries1) we made modifications for how workspaces are processed. Steps 2 and 3 were improved to load the CSB's at the same level we gather the MicroStation configuration. In ProjectWise V8i (SELECTseries1), Steps 2 and 3 are as follows:
Third Task "Gathering data for configuration files": ProjectWise starts evaluating the configuration files and determines what data needs to be copied out. ProjectWise starts locating all the data in ProjectWise that needs to be downloaded.
Fourth Task "Resolving relative paths": ProjectWise compiles all relative paths in the configuration files and converts them to actual identifiers for the workspace data which will be copied out.
Fifth Task "Checking Status and Downloading workspace documents": ProjectWise downloads the workspace resources specified as ProjectWise Documents. When you create a CSB there is a Value Type for "ProjectWise Document". This first download pass will download all workspace data which was specified as a ProjectWise Document.
Sixth Task "Checking Status and Downloading workspace folders and data": ProjectWise downloads the workspace resources specified as ProjectWise Folders. When you create a CSB there is a Value Type for "ProjectWise Folders". This download pass will download all workspace data from the variables which point to a ProjectWise Folder.
Seventh Task "Creating final workspace configuration file": ProjectWise will then process the Mwc1.tmp configuration file. At this time all the configuration files are processed for their final values and written to the final configuration file. The final configuration file is similar to a MSdebug.cfg file. The configuration file is created using the document identifier from ProjectWise. Using the Document identifier avoids any conflicts with filenames. The final configuration file is appended to the command line with the -wc switch and passed to MicroStation on startup.
MicroStation will now be up and running in a Managed Workspace environment. The next time you open a design file with the Managed Workspace you should not see the Managed Workspace Export Dialog, or if it appears you will only see it for a brief second. Since all the workspace data MicroStation needs has already been downloaded to the working directory, MicroStation will start up immediately. During the fifth and sixth tasks ProjectWise will check to see if the copied out workspace data is up to date. If the Workspace data was modified, ProjectWise will have to download the updated data to the working directory. In this instance you may see the Managed Workspace Export Progress dialog for a short period of time.
More posts to follow! If you have any specific topics or ideas you want me to expand upon please send me and email or post here.
CSB = Configuration Settings Block
great info thanks!