Deploying a User Workbench      

Generating the User Workbench

  1. Click the Generate Applicative Workbench icon (): The Applicative Workbench Generation window is displayed.

  2. From the Current user category scrolling list, select the category to which the workbench will belong.

    Manage categories enables you to access the Deployed Workbenches and User Categories Management window where you can:
    • Create user categories that will contain the generated workbenches by entering the name of a new user category and clicking Create category in the User Categories Management frame.
    • Delete the user categories that you own (located in the first path of the CATKnowledgePath variable.)
  3. In the Workbench Name field, enter the name of the workbench you want to generate.

    The Functional Library field displays the name of the current .CATfct.
  4. From the Workbench Type scrolling list, select the document type. Click OK to validate. The new workbench is created.

    • If you want the end-user to work in a Product structure, select Product from the Workbench Type scrolling list when generating the workbench. For more information about Product Structure, see Product Structure User's Guide.
    • If the you want the end-user to work in a Part structure, select Part from the Workbench Type scrolling list when generating the workbench. For more information about Part Design, see Part Design User's Guide.
    • If you want the end-user to work in a System context, select System from the Workbench Type scrolling list when generating the workbench. For more information about Systems, see Product Functional Definition User's Guide.

To make this workbench and the user categories persistent, a WorkbenchesIndex file is generated and stored in the \<OS>\resources\knowledge\workbench directory (\<OS>\resources\knowledge\ corresponds to the CATKnowledgePath variable). If this directory does not exist, it is automatically created (depending on the Write permissions.)

Deleting a User Workbench

  1. Click the Generate Applicative Workbench icon (). The Applicative Workbench Generation window is displayed.

  2. Click Manage categories. The Deployed Workbenches and User Categories Management window is displayed.

  3. Select the category to which the workbench belongs.

  4. Select the workbench you want to delete and click Delete in the Deployed Workbenches Management frame. Click OK when done in this window and Cancel in the Applicative Workbench Generation window.

Introducing the WorkbenchesIndex File

WorkbenchesIndex files are .xml files generated using the Generate Applicative Workbench icon and are managed by administrators. The Business Process Knowledge Template workbench enables expert users to generate applicative workbenches based on a declarative form as they rely on technological types and behaviors. Up to this release, those generated workbenches were made persistent by storing information in some Settings files:

  • One per applicative workbench starting with B_xxx.
  • Frameconfig, the common file that gathers information about the user interface customization.

No more settings files are now involved in the administration process of applicative workbenches.

These .xml files describe the content of user categories that can be concatenated, which produces the complete user category description. In addition to the concatenation of the categories and workbenches introduced by the different levels of administration, the expert user can have a WorkbenchesIndex file in Write access. So, he can add/remove deployed workbenches/categories within existing user categories provided they do not belong to upper levels.

Describing the WorkbenchesIndex file

Internal View

The generated xml files are available in the \<OS>\resources\knowledge\workbench directory. They are protected against modifications and cannot therefore be modified without using the Business Process Knowledge Template workbench. If you modify these files manually, the modifications will be ignored when concatenating the user categories sections. Moreover, the modified .xml file will be corrupted and no more readable.

 
If you generate a workbench without creating any user category, a default user category called Business Processes Application is created.

 

 

External View

The generated workbenches are divided into categories that are displayed in the Start menu like any other workbench. The Start menu changes if a concatenation of Workbenches index files is found.

A list of user categories appears between the list of favorites workbenches (if any) and the list of DS solutions. These categories are displayed as a sub-menu whose menu items are the deployed workbenches.

 

Using the WorkbenchesIndex file: Example

To understand the concatenation, let's take an example. Imagine an organization made up of 3 different levels:

The expert user who manages the corporate user workbenches creates 2 user categories InteriorDesign and ChassisDesign containing respectively the Left/Right_Mirror workbenches and the Centar_Pillar workbenches (see picture below.)

The expert user who manages the user workbenches at the organization level creates a new user category ErgonomyChecks containing the DriverSight, 3D_Occupation and Accessibility workbenches. He also adds the Center_Mirror to the InteriorDesign user category, and the  Rear_Pillar and the Front_Pillar workbenches to the ChassisDesign user category. Then he concatenates both .xml files (see picture below.)

The expert user who works at the department level adds 4 workbenches to the InteriorDesign user category and 1 workbench to the ErgonomyChecks one and concatenates the .xml files that were created by the other 2 expert users. The resulting concatenation is displayed in the Start menu (see picture below.) Note that the expert user can only delete the user categories and the workbenches that he created. He cannot delete the user categories and the workbenches that were created at an upper level (in this example, at the corporate and at the organization level.)

 

Creating NLS User Workbenches and Categories

Workbenches and categories names can be translated into different languages. To do so, associate a .CATNls file to each workbench name or to each category. *.CATNls files must be stored in the \msgcatalog directory.

  • If not .CATNls file is associated to the workbench or to the category, the internal name is displayed.
  • The name of the .CATNls file must be identical to the first part of the string. So if your category is called MyCategory, the .CATNls file must be called MyCategory.CATNls.

 

CATNls file for a User Category The CATNls file name must correspond to the name of the category. The CATNls file must contain a string with the following format: YourCategoryname.Title = "Name that you want to assign";

So, if you want to create a category called Design_Application, create a CATNls file containing the following string: YourCategoryname.Title = "Design Application";

CATNls file for a User Workbench The CATNls file name must correspond to the name of the user workbench. The CATNls file must contain a string with the following format: YourWorkbenchname.Title = "Name that you want to assign";

So, if you want to create a workbench called Business_Processes_Applications, create a CATNls file containing the following string: Business_Processes_Applications.Title = "Business Processes Applications";

Attributing an Icon to a User Workbench or to a Category

You can associate icons (. BMP files) to workbenches or categories. To do so, create a .CATRsc file for each workbench or category. *.CATRsc files must be stored in the \msgcatalog directory. The icons must be stored in the \icons\normal directory.

Icons associated to a User Workbench The CATRsc file must correspond to the name of the user workbench and must contain 3 different sets of strings:

Name_of_the_workbench.Icon.NormalPnl ="I_WkAsKnowledgeBasedDialogs"; /*Normal icons must be suffixed I_. (Their sizes must be 64x64 pixels).*/
Name_of_the_workbench.Icon.PressedPnl="IP_WkAsKnowledgeBasedDialogs"; /*Pressed icons must be suffixed IP_. (Their sizes must be 64x64 pixels). */
Name_of_the_workbench.Icon.FocusPnl ="IF_WkAsKnowledgeBasedDialogs"; /*Focus icons must be suffixed IF_. (Their sizes must be 64x64 pixels). */

Name_of_the_workbench.Icon.NormalCtx ="I_WkNvKnowledgeBasedDialogs"; /*The size of this icon must be 32x32 pixels.*/
Name_of_the_workbench.Icon.PressedCtx="IP_WkNvKnowledgeBasedDialogs"; /*The size of this icon must be 32x32 pixels.*/
Name_of_the_workbench.Icon.FocusCtx ="IF_WkNvKnowledgeBasedDialogs"; /*The size of this icon must be 32x32 pixels.*/

Name_of_the_workbench.Icon.NormalRep ="I_WkKnowledgeBasedDialogs"; /*The size of this icon must be 24x24 pixels.*/
Name_of_the_workbench.Icon.PressedRep="IP_WkKnowledgeBasedDialogs"; /*The size of this icon must be 24x24 pixels.*/
Name_of_the_workbench.Icon.FocusRep ="IF_WkKnowledgeBasedDialogs"; /*The size of this icon must be 24x24 pixels.*/

So, if you create a workbench called Design_Application, and you want to associate an icon to this workbench, create a CATRsc file containing the following strings:

// Icons for the Welcome window (64x64 pixels)
Design_Application.Icon.NormalPnl ="I_WkAsKnowledgeBasedDialogs";
Design_Application.Icon.PressedPnl="IP_WkAsKnowledgeBasedDialogs";
Design_Application.Icon.FocusPnl ="IF_WkAsKnowledgeBasedDialogs";

Icons for the Start menu (32x32 pixels)
Design_Application.Icon.NormalCtx ="I_WkNvKnowledgeBasedDialogs";
Design_Application.PressedCtx="IP_WkNvKnowledgeBasedDialogs";
Design_Application.FocusCtx ="IF_WkNvKnowledgeBasedDialogs";

Icons for the workbench toolbar (24x24 pixels)
Design_Application.NormalRep ="I_WkKnowledgeBasedDialogs";
Design_Application.PressedRep="IP_WkKnowledgeBasedDialogs";
Design_Application.FocusRep ="IF_WkKnowledgeBasedDialogs";

Icons associated to a User Category The CATRsc file must correspond to the name of the category and must contain a string with the following format: YourCategoryname.Icon = "I_Name of the associated icon without the .bmp extension"

So, if you create a category called Design_Application, and you want to associate an icon to this category, create a CATRsc file containing the following string: Design_Application.Icon = "I_Icon_Name";