Difficulty: novice
Content
Learning Objectives
After reading this article you will be able to:
Create a new category.
Create a client-specific field.
Have you read: What is a category?? The article below repeats some of the information from that article and goes into further depth.
What are categories?
Categories constitute a powerful mechanism to customize Workplace. This customization acts at the object level. The category in which an instance (for example a reservation) is created determines a variety of things, such as:
What workflow (version) is used;
Page layout (fields, order, etc.) of the instance page;
Applicable template;
Access to the object;
Create and manage categories
Categories are created on an object. To view the categories that are available on an object: press the ‘Objects’ button on your startBoard > search for and open an object > press on the Category folder ().
Not all objects have the option to create categories.
You cannot edit/ change settings on baseline categories.
Baseline categories are grey, client specific categories are colored.
Create a new (sub)category
To create a new category:
Click the ‘Objects’ button on your startBoard;
Search for and open the object to which you want to add the category;
Press on the Category folder icon (
) ;
Note: as an alternative it is possible for some objects to navigate to the category folder icon via the respective menu option. For example: navigate to the menu option REQUESTS > Request
Determine hierarchical level;
Select “Default” (Grey rectangle around the text) to create the category at the highest level.
When you want to create a sub-category, make sure to select the category under which the new category needs to be created
Press the folder icon on the top right (
);
Press Create category.
Edit an existing category
To edit a category:
Click the ‘Objects’ button on your startBoard;
Search for and open the object to which you want to add the category;
Press on the Category folder icon (
);
Note: as an alternative it is possible for some objects to navigate to the category folder icon via the respective menu option. For example: navigate to the menu option REQUESTS > Request.
Select the desired main (or sub-) category;
Press the folder icon on the top right (
);
Edit category.
Settings on a category
Access rights on categories
To change access on category level follow the steps described above in the “Edit an existing category” section. It is now not possible to specify the access rights on categories on two levels:
Access to the folder (= category). Determines if a user has access to the category. Practically this determines if a user is allowed to: 1) create an object of this category and 2) is able to select this category on for example filter pages. The folder access can be found via the folder icon (top right corner).
With ‘full' access user are allowed to create objects of this category;
With ‘view' access it depends on the category setting: ‘Show on folder view overrides’ and 'Show on object view overrides’, if a user is allow to create objects of this category;
With access ‘none’, users cannot create objects of this category.
Tip: if no user is allowed to create the object, it is easier to change the category setting ‘Show folder = no’.
Access to the objects inside the folder (= category). Determines the access to objects of this category that have already been created. These access rights can be found using the lock icon (top right corner).
With ‘full’ the user is allow to edit the object . Note: access rights might still be still restricted due to workflow, script, field settings, etc.)
With ‘view’ rights the user can view objects in this folder. Note: these access settings overrule the access grated by workflow tasks.
With access ‘none’, the users cannot view objects created in this category
Create a client-specific field
There are a lot of default available fields for every object in Workplace. To learn more about fields, see the article about /wiki/spaces/KB/pages/79790133. In some cases, however, a client-specific field has to be created.
It is only possible to create client-specific fields on objects that have categories.
Think twice before creating client-specific fields; they have a negative impact on performance.
To create a new client-specific field:
Click the ‘Objects’ button on your startBoard;
Search for and open the object to which you want to add the field;
Press on the Category folder icon (
);
Note: as an alternative it is possible for some objects to navigate to the category folder icon via the respective menu option. For example: navigate to the menu option REQUESTS > Request.
Select the desired main (or sub-) category;
press ‘New. The field is now created.
Name the new field by using the plus sign next to the setting “Field” (you might first need to press the ‘>' before you see the '+’ symbol)
Leave the name of the environment and the “-” sign (you can delete the auto-generated number)
Add the new name of the field after the “-” sign. These rules apply:
Use capital letter after the “-” sign (e.g. fmb-Testfield).
Fields referring to other objects must end with the name of the object followed by “Id” (e.g. fmb-TestPropertyId)
Date and time fields must end with “Date” or “Time” (e.g. fmb-newStartDate)
Enumeration fields must end with “Code”
CodeType fields must end with “CodeTypeId”
These are a lot of setting available for client-specific fields, most of which you don’t need. Make sure at least to following settings are set: Field, Display type, Label, and Description.
If the client-specific field should also be available for all instance (e.g. all reservations of assets) that already exist, also execute the following step to create attributes in the database. Assuming you are still on the newly created field you can:
Navigate to the update button
(top right);
Optional: use the filtering if you do not want to generate the field for all existing objects ;
Press ‘Search’;
A preview of the number of objects that will be updated is shown > press ‘Ok’' to confirm.
If the fields attributes are not updated, it is not possible to edit the field (stays grey even in correct mode) for existing objects!
Summary
Search