Web Item
A web item is a button or link that appears at the location you choose.
Here are some things you can do with web items:
- Redirect to another location
- Invoke a script endpoint and run code, which can respond with:
- A flag
- A dialog
- A redirection to another page
Examples
The following are web item examples.
Google Link Example
A basic example of a web item is a link to Google at the top of the navigation bar.
Tools menu link
For a more complicated web items example, you can add a link to the H elp menu, which does a Google search on the title of the current page.
Conditions
The Condition field is used to define whether the link should be shown or not, and it can use anything available in its context. What is available in the context depends on the particular web section and the page it is viewed on. Details of the current user can also be used.
Dialogs (advanced)
You can create and use some dialogs. In this case, JavaScript is needed for interactions.
To display a dialog when the user clicks on a web item see the following steps:
Results
Now, if you navigate to the Web Item and click on it:
The following dialog displays:
Additional details (Close functionality)
Note that in the current implementation the Close button will not actually close the dialog. To add this functionality, you need to use JavaScript.
Redirects
Return a redirect to run code and then redirect to another page, or load the same page after updating it.