Creating Library Workspaces from library candidates, such as global workspace layers and third party utilities like VDFQuery makes migration a snap! Once a Library Workspaces has been created, when migrating you simply browse to the .sws file for it and the Migration Wizard figures out the rest.
There are other compelling reasons besides simplifying migration to create Library Workspaces. Generally, working in DataFlex becomes easier to manage if you use Library Workspaces, both on the library side, as well as in the workspaces that use these libraries.
Library Workspaces are Regular Workspaces
A Workspace Library is a DataFlex workspace like any other. This means that in order to work on a particular Library Workspace, you can load it up in the Studio, then modify it as you would any other workspace.
Using Library Workspaces in Other Workspaces Simplifies Your Work
Workspaces can use Library Workspaces very easily and get multiple benefits in a single step. Once a Library Workspace is added to a workspace, the Studio can immediately utilize that Library Workspace to the fullest:
It can import and customize any or all items from the Library Workspace's Class Palette.
It can use and compile any code in the Workspace Library.
You can easily turn any existing library candidate into a Library Workspace, even if the library candidate consists of just a folder with some source code.
If you do not have the host DataFlex Studio revision installed with that workspace registered in it, you can manually turn it into a Workspace Library by following these steps:
Open the Studio and create a new workspace, then close the Studio.
Copy all source code from the existing library candidate folder(s) to the new workspace's AppSrc folder.
Copy all bitmaps from the existing library candidate folder(s) to the new workspace's Bitmaps folder.
Copy all DataFlex object preference (.dfo) files from the existing library candidate folder(s) to the new workspace's AppSrc\config folder.
Copy all template (.tpl) files from the existing library candidate folder(s) to the new workspace's AppSrc\config folder.
Open new workspace in the Studio and ‘Configure Create New’ to add your templates to the Create New dialog.
Configure the Class Palette, if there are classes you would like to have on it. You can very easily configure the Class Palette by simply right-clicking on it to create new Groups and new Classes.