Difference between revisions of "Custom Buttons"

From Hornbill
Jump to navigation Jump to search
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="border:1px solid #90C0FF; background:#D0E0FF; width:99%; padding:4px; margin-bottom:10px;">
+
{{bluebanner|[[Main Page|Home]] > [[Collaboration]] > Custom Buttons|[[:Category:Collaboration|Index]]}}
__NOTOC__[[Main Page|Home]] > [[Collaboration]] > Custom Buttons
 
</div>
 
 
{|style="width: 100%"
 
{|style="width: 100%"
 
|- valign="top"
 
|- valign="top"
Line 23: Line 21:
 
* [[Documents]]
 
* [[Documents]]
 
|}
 
|}
 +
  
 
==Configuring Custom Buttons==
 
==Configuring Custom Buttons==
Line 29: Line 28:
 
===Roles===
 
===Roles===
  
* '''Form Designer''': A user will need this role to be able to configure and manage custom buttons.  
+
{{bullet1|Form Designer|A user will need this role to be able to configure and manage custom buttons. }}
* '''Admin Role''' - A user will need this role to be able to link an iBridge Operation to a Custom Button (not needed for Auto Task Processes)
+
{{bullet1|Admin Role|A user will need this role to be able to link an iBridge Operation to a Custom Button (not needed for Auto Task Processes)}}
* '''Business Process Manager''' - A user will need this role to be able to link an Auto Task Process to a Custom Button
+
{{bullet1|Business Process Manager|A user will need this role to be able to link an Auto Task Process to a Custom Button}}
  
 
===Creating a Custom Button===
 
===Creating a Custom Button===
Line 37: Line 36:
 
Click on the '''Cog''' Icon to add a new custom button
 
Click on the '''Cog''' Icon to add a new custom button
  
* Label - Provide a label for the new custom button
+
{{bullet1|Label|Provide a label for the new custom button}}
* Icon - Optional choose an icon to represent and sit alongside the custom button label on the entity form
+
{{bullet1|Icon|Optional choose an icon to represent and sit alongside the custom button label on the entity form}}
* Colour - Choose a background colour for the custom button
+
{{bullet1|Colour|Choose a background colour for the custom button}}
* Tooltip - Optionally provide a more detailed explanation for the purpose of the custom button.  This will be displayed when a user hovers over the custom button
+
{{bullet1|Tooltip|Optionally provide a more detailed explanation for the purpose of the custom button.  This will be displayed when a user hovers over the custom button}}
  
 
===Conditions===
 
===Conditions===
  
 
By default the custom button will appear on all forms used by the entity - i.e all Request type forms, all asset type forms. However if you use the '''Conditions''' option you can configure the conditions which must be met in order for the custom button to be visible to users when viewing the relevant entity form.   
 
By default the custom button will appear on all forms used by the entity - i.e all Request type forms, all asset type forms. However if you use the '''Conditions''' option you can configure the conditions which must be met in order for the custom button to be visible to users when viewing the relevant entity form.   
* The available conditions will be relevant to the entity against which you are adding the custom button  
+
* The available conditions will be relevant to the entity against which you are adding the custom button
 +
* Having multiple conditions will be treated as '''AND''' conditions, so all conditions will need to be met for the custom button to be displayed.
 +
 
 +
===Condition Values===
 +
 
 +
'''Service Manager'''
 +
 
 +
'''* Request Entity'''
 +
 
 +
:* '''Request Status''': Values need to entered in the following format: '''status.new''', '''status.open''', '''status.closed''' etc
 +
:* '''Request Type''': Values need to be entered in lower case so '''incident''' instead of '''Incident''' for example
  
 
==Custom Button Actions==
 
==Custom Button Actions==
Line 54: Line 63:
 
* Invoke a specific iBridge operation
 
* Invoke a specific iBridge operation
 
* Run an Auto Task process
 
* Run an Auto Task process
 +
  
 
==Open URL==
 
==Open URL==
Line 59: Line 69:
 
* Add a URL which you wish to launch from the custom button.
 
* Add a URL which you wish to launch from the custom button.
 
:* Include variables from the entity in the URL.
 
:* Include variables from the entity in the URL.
 +
  
 
==Invoke iBridge==
 
==Invoke iBridge==
  
'''Deprecated - Please use Auto Tasks.  Whilst existing iBridge configurations will continue to work, we would encourage the use of the Auto Task option for invoking single or multiple iBridge operations.'''
+
{{infobox|'''Deprecated''' - Please use Auto Tasks.  Whilst existing iBridge configurations will continue to work, we would encourage the use of the Auto Task option for invoking single or multiple iBridge operations.}}
  
 
Clicking on the '''iBridge''' text, will switch the custom button from the standard '''Open URL''' and will allow for the invoking of an '''iBridge Method''' when the custom Button is selected by a user.  
 
Clicking on the '''iBridge''' text, will switch the custom button from the standard '''Open URL''' and will allow for the invoking of an '''iBridge Method''' when the custom Button is selected by a user.  
Line 85: Line 96:
  
 
==Auto Task==
 
==Auto Task==
 
+
[[File:Auto_Task_Pop_Up.png|right|300px]]
 
* A Custom Button Administrator will also need the '''Business Process Manager''' role, in order to be able to link an Auto Task Process to a Custom Button
 
* A Custom Button Administrator will also need the '''Business Process Manager''' role, in order to be able to link an Auto Task Process to a Custom Button
 
* Select the Auto Task Process which you wish to be invoked and executed when the custom button is selected
 
* Select the Auto Task Process which you wish to be invoked and executed when the custom button is selected
Line 91: Line 102:
 
'''Response'''
 
'''Response'''
  
* Display Autotask progress in timeline - tick this option if you want a post to be added to the entity timeline to audit the running of the Auto Task process and it's progress and success
+
* '''Display Autotask progress in timeline''' - tick this option if you want a post to be added to the entity timeline to audit the running of the Auto Task process and it's progress and success
* Open popup with Autotask progress - tick this option if you want a pop up to display when the custom buttons is selected, and to show the user the progress of the executed Auto Task process
+
* '''Open popup with Autotask progress''' - tick this option if you want a pop up to display when the custom buttons is selected, and to show the user the progress of the executed Auto Task process
 +
 
  
 
==Manage Custom Buttons==
 
==Manage Custom Buttons==

Revision as of 09:27, 2 September 2021

Home > Collaboration > Custom Buttons Index

Introduction

Custom Buttons can be added to entity views such as documents, requests, organizations and assets in Hornbill, they can be configured to allow one of three options

  • Open URL
  • Invoke a specific iBridge Operation (deprecated - please use Auto Tasks)
  • Run an Auto Task Process

Custom Buttons can be personalised with descriptions, icons, tooltips, and optionally be set to only display on views if configurable conditions are met.

Related Articles


Configuring Custom Buttons

Custom Button Auto Task2.png

Roles

  • Form Designer
A user will need this role to be able to configure and manage custom buttons.
  • Admin Role
A user will need this role to be able to link an iBridge Operation to a Custom Button (not needed for Auto Task Processes)
  • Business Process Manager
A user will need this role to be able to link an Auto Task Process to a Custom Button

Creating a Custom Button

Click on the Cog Icon to add a new custom button

  • Label
Provide a label for the new custom button
  • Icon
Optional choose an icon to represent and sit alongside the custom button label on the entity form
  • Colour
Choose a background colour for the custom button
  • Tooltip
Optionally provide a more detailed explanation for the purpose of the custom button. This will be displayed when a user hovers over the custom button

Conditions

By default the custom button will appear on all forms used by the entity - i.e all Request type forms, all asset type forms. However if you use the Conditions option you can configure the conditions which must be met in order for the custom button to be visible to users when viewing the relevant entity form.

  • The available conditions will be relevant to the entity against which you are adding the custom button
  • Having multiple conditions will be treated as AND conditions, so all conditions will need to be met for the custom button to be displayed.

Condition Values

Service Manager

* Request Entity

  • Request Status: Values need to entered in the following format: status.new, status.open, status.closed etc
  • Request Type: Values need to be entered in lower case so incident instead of Incident for example

Custom Button Actions

Each custom button can be configured to be one of the following:

  • Open URL
  • Invoke a specific iBridge operation
  • Run an Auto Task process


Open URL

  • Add a URL which you wish to launch from the custom button.
  • Include variables from the entity in the URL.


Invoke iBridge

Information
Deprecated - Please use Auto Tasks. Whilst existing iBridge configurations will continue to work, we would encourage the use of the Auto Task option for invoking single or multiple iBridge operations.

Clicking on the iBridge text, will switch the custom button from the standard Open URL and will allow for the invoking of an iBridge Method when the custom Button is selected by a user.

Information You will need the MANAGEKEYSAFE in group C in order to configure iBridge methods

Information You will need an iBridge subscription to utilise Premium iBridge methods

Click Method to display the list of available iBridge Methods

  • Choose the cloud service you wish to call
  • Drill down into the method you wish to use
  • If required select the Keysafefrom the drop down list for the chosen method, the Keysafe credentials which will be used when the custom button is used and the iBridge Method is invoked. If none have been configured you can follow the link to set these up before proceeding further.
  • Complete the Context input values for the chosen method
  • Optionally inject variables from the entity into the input values for the chosen method

Response

  • Tick if you wish the user to be presented with a pop-up and response from the service you have integrated with once the custom button is clicked
  • Tick if you would like a post to be written to the entity timeline when the custom button is clicked
  • Configure the text which will be displayed in the message and optionally include any output values from the integration with the 3rd party service and chosen method.

Auto Task

Auto Task Pop Up.png
  • A Custom Button Administrator will also need the Business Process Manager role, in order to be able to link an Auto Task Process to a Custom Button
  • Select the Auto Task Process which you wish to be invoked and executed when the custom button is selected

Response

  • Display Autotask progress in timeline - tick this option if you want a post to be added to the entity timeline to audit the running of the Auto Task process and it's progress and success
  • Open popup with Autotask progress - tick this option if you want a pop up to display when the custom buttons is selected, and to show the user the progress of the executed Auto Task process


Manage Custom Buttons

  • Click on the edit option next to a custom button in order to edit it's attributes
  • Click on the Trash Can icon next to a custom button in order to delete it


Using Custom Buttons

Entity custom buttons.png

Once a custom button has been configured, users will be able to use the custom button from the entity view it has been configured against. Visibility of the custom button will also depend on any conditions which may have been set when configuring the button.