Note: This feature is available in SharpCloud versions v9.1.0203 and later
Click events allow you to click on an entity such as an item or annotation and be directed to another location such as a different view or even a different site entirely.
Relationships can also be used as click event, so when a user clicks on to a visible relationship comment/attribute value, the click event will be executed.
For relationship click events to work there are 3 requirements:
- Relationships must be given a click event URL.
- Relationship must have a comment/attribute value.
- A Relationship comment or attribute value must be visible, either in radial view, context view or in main view. This setting must be turned on in View Setup under Relationship Sub Tab and the Advanced Toggle must be activated.
Creating Relationship Click Events
Relationship click events can be created in 2 different ways – Directly in the Relationship Data Grid or in the Edit Item Properties window (right-hand toolbar, pencil icon).
To add a relationship click event via the data grid, simply go to the Data Grid and then Relationships Tab as shown below. In the column called “ClickActionURL” enter a URL by either pasting data in or by clicking in the data grid and adding the URL manually.
To use the Edit Item Properties window:
- Select an item
- Open the Edit Item Properties window by clicking the Edit (pencil) icon in the right-hand toolbar
- Navigate to the Relationships sub tab and press Edit Relationships to open the Edit Relationships Dialog as shown below:
Just like in the data grid method, a URL can be added to the ClickActionURL column by entering the URL into this field.
Enabling the Click Events
Once the click event has been added to the relationship either via the data grid or the edit item properties method, the view must be configured to show relationship comments or attributes to make the click event visible. That can be done in the View Setup as shown below.
If the Show drop-down is left as “None”, the relationship click event will not be visible from any of the possible configurations (in-context, radial, or main).
Once the view has been configured, any comment/attribute box that appears in the specified configuration will then have a blue hover over if a click event has been associated with the relationship.