1. Add the Application Categories

In this step you will add categories to the K2 Designer explorer. Categories are similar to folders, and are often used to organize your K2 environment, the applications in a K2 environment, and the application elements of an application. Elements include SmartObjects, views, forms and workflows. While it is not required to create Application-specific categories and folders, they are helpful to keep your work organized. This is especially important when working in a shared environment where multiple people are building applications. In this context, we will use categories to separate your tutorials from other applications.

  1. Add the following categories to the All Items node in the K2 Designer explorer.
    • K2 Learning
      • Leave Request
        • Forms
        • SmartObjects
        • Views
        • Workflow
    • If you are working in a shared environment where there are multiple builds of the same application, consider adding your initials to the application name so that you can easier determine which projects are yours. For example, Leave Request YourInitials, like Leave Request KL.
      Leave Request Categories
      Leave Request Categories
    1. Launch the K2 Designer site.
      If you are unsure of how to launch the K2 Designer site, see Accessing K2 Sites.
    2. K2 Designer will open on the home page. You will be creating new categories in the explorer; to navigate to the explorer page, click the BROWSE button.
      K2 Designer Home Page
    3. Right-click All Items and select New Category.
      Add a New Category
    4. For the category Name, enter
      K2 Learning
      then click OK. (If the K2 Learning category already exists, continue to the next step)
    5. If you are working in a shared environment where there are multiple builds of the same application, consider adding your initials to the application name so that you can easier determine which projects are yours. For example, Leave Request YourInitials, like Leave Request KL.
    6. Now we will create a category for the application itself. Locate the K2 Learning category, then right-click and select New Category. For the category name, enter
      Leave Request
      then click OK.
    7. Now we will create sub-categories to hold the various elements that will make up our application. Right-click the Leave Request category and select New Category. For the category name, enter
      Forms
      then click OK.
    8. Repeat the previous step three more times to add the following additional categories under Leave Request:
      SmartObjects
      Views
      Workflow

    Your explorer should look similar to the image below.
    Category Browser

Review

In this step, you created the categories for the Leave Request (Basic Version) application. While not required, categories help keep your projects organized, especially if you are working within a shared environment. In the next step, you will create the Leave Request (SmartBox) SmartObject.

Next Step: 2. Build the Leave Request SmartObject