Difficulty: novice
Content
Learning Objectives
After reading this article you will be able to:
- Manage functions and tabs.
Functions in Asset
Functions are one of the key elements in Asset. They are displayed as:
- A function button at the bottom of a page.
- An icon or button on the top (right) of the page, or on an include.
- A tab.
- A menu option in the navigationMenu.
- A button on the startBoard.
There are separate articles on configuring menu options and startBoard buttons. The basics of configuring these functions is the same as configuring regular functions.
Create and manage functions
Add a new function button
- Open the page to which you want to add the function.
- Open the page definition
Note: Alternatively, click the ‘Pages’ button on your startBoard and search for the page you want to add the function to.
- Click on the functions tab.
- Add a new function using the “+” sign
- Fill in the function you want to add to the page in the field ‘Function’, see screenshot.
- Press ‘Save’
If the function already exists on a parent page Asset will automatically create an override instead.
- Fill in the ‘Location’ setting:
icon bar: function is an icon on the top right of the page;
- form: function is a rectangular button at the bottom of the page;
- hidden: function is hidden;
- tab: function is displayed as a tab that contains a new page (explained in detail below);
- if you don’t fill in this field, the functions default is used.
The function is now ready for use.
- If you like, you can now change the other function settings and access. The settings are explained later in this article.
Note, workflow function might not appear on a page as you might expect, as they are only visible in certain workflow status. The ‘Approve’ function for request will for example only appear when a request is in the ‘approve’ status.
Add a new tab on a page
The steps to add new or edit an existing tab is very similar to the steps described for function buttons:
- Open the page to which you want to add the tab (function).
- Open the page definition.
Note: Alternatively, click the ‘Pages’ button on your startBoard and search for the page you want to add the function to.
- Click on the functions tab.
- Press the ‘Add tab function’ button.
- You now have to enter a name. Make sure the name end with Tab, for example newTab.
- Press ‘OK’ to create the tab function.
- Fill in the label field, this is the name of the tab that is visible to the user
- Change the ‘Location’ setting under ADAPTIVE USER INTERFACE to ‘Tab’
- If the page you want to display on this tab already exists fill it in in the ‘Next page' setting. If you building the page from scratch you’ll find the page that has been generated for this tab in the ‘Next page’ setting.
- The function is now ready for use.
- If you like, you can now change the other function settings and access. The settings are explained later in this article.
Override an existing function (button or tab)
- Open the page on which you want to override the function.
- Open the page definition.
Note: Alternatively, click the ‘Pages’ button on your startBoard and search for the page you want to override the function to.
- Click on the functions tab.
- press the ‘override’ button > select the function you want to override > OK
Alternatively (only an option when the function is available in this page and not inherited from the parent page) you can open the function by pressing the hyperlink in the ‘Function’ column > press the 'override button'
Now you can change the function settings and access.
Remove a function (button or tab)
- Open the page on which you want to override the function.
- Open the page definition.
Note: Alternatively, click the ‘Pages’ button on your startBoard and search for the page you want to override the function to.
- Click on the functions tab.
- Select the function from the list page.
- Click on the “selection” button
- Click on “delete selected objects”.
Note
- Baseline functions can not be deleted from a page. In this case you can only hide a function using an override and change the setting “visible = no”.
- Alternative to deleting the function would be to set the access to ‘none’ for all user groups on the function.
Settings on a function
Set access to functions and tabs for all users (on a client specific page i.o.w. with an override)
In contrast to fields where the access can be none, view, or full (= editable), functions are either visible or not-visible. Functions and tabs can be hidden/ made visible in two ways (see bullet 5):
- Open the page on which you want to override the function.
- Open the page definition.
Note: Alternatively, click the ‘Pages’ button on your startBoard and search for the page you want to override the function to.
- Click on the functions tab.
- Press the ‘override’ button > select the function you want to override > OK
Alternatively (only an option when the function is available in this page and not inherited from the parent page) you can open the function by pressing the hyperlink in the ‘function’ column > press the 'override button'
Now change one of these settings:
Visible = no
- Location (ADAPTIVE USER INTERFACE) = hidden
Set access rights to functions and tabs per user group (on a baseline page)
- Open the page on which you want to override the function.
- Open the page definition.
Note: Alternatively, click the ‘Pages’ button on your startBoard and search for the page you want to override the function to.
- Click on the functions tab.
- Click on the functions access button.
- Adjust the access based on access groups.
Info
Remember: a user only needs one user group that has access to a function. So if you want to use this way to hide a function for user, you need to make sure that this specific access is applied to all user groups that the user has.
We recommend very limited use of authorizing functions using this method.
Summary
- Functions are buttons on a form, icons on the top of the page, or tabs.
- Managing access to function is very similar to managing access for fields. Except for functions only have a visible or not-visible option.