Adding context menus for right-clicking of interface objects in Progressive Web Applications
You can enable application users to right-click and view a context menu for the following objects:
- Character fields
- Button field with Button Type set to Tertiary
- Table list column fields
Before you begin
- You must have created a character field, tertiary button, or a table column in Developer Studio.
You must set the following properties based on the object you create:
Object
Property
Value
Character field or character menu
Display Type
Edit
Display > Show URL
True
Display > Display as text
True
Button
Button Type
Tertiary
Table column
Display Type
Read Only
To add context menus for right-clicking the interface objects in Progressive Web Applications
- Open Developer Studio.
- Search the form containing the object in which you want to create the link.
- Open the form.
- Select the object.
The object can be a character field, a tertiary button field, or a table list column field. - In the Properties pane, set Display > HREF Link to True.
- Set HREF to a URL that you want users to open on the PWA screen.
Only static URLs are supported. Set HREF Target to one of the following options:
- Open in the full body of the window—The destination page occupies the entire browser window.
- Open in a new tab—Opens the link in a new tab.
- Open in the same frame—Opens the link within the iframe view in which the link appears.
- Open in the parent frame—Opens the link in the parent iframe view.
- Click Save.
- Open the Mid Tier configuration tool and sync the cache.
http://<MidtierHostName>:<PortNumber>/arsys/shared/config/config_cache.jsp
To test the configuration
- In a browser, log in to PWA.
(On-premises) http://<midtierHostName>:<portNumber>/arsys/pwa/#/login
(SaaS) http://<helixBaseURL>/arsys/pwa/#/login - Change the URL to include the Progressive View form that you created in Developer Studio.
(On-premises) http://<midtierHostName>:<portNumber>/arsys/pwa/#/forms/<AR_Server_Name>/<formName>/
(SaaS) http://<helixBaseURL>/arsys/pwa/#/forms/<AR_Server_Name>/<formName>/
- Confirm that a context menu appears when you right-click the object.
You can also open the context menu by using standard keyboard shortcuts of the browser.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*