Description
The List bottom button and List Link UI Actions run on the client side regardless of the Client checkbox setting.
Steps to Reproduce
-
Activate List v3.
- Activate the com.glide.ui.list_v3 plugin.
- Set the glide.ui.list_v3.enable system property to true.
- Go to /cache.do to clear the cache.
-
Create a new UI Action.
For more information, see the product documentation topic Create a UI action.
-
Set the following values:
Name: Server action
Table: Problem
Client: [leave unchecked]
List Link: [check]
Script: gs.addInfoMessage('Server side message');. -
Open the Problem list view.
-
Scroll down and click the Server action link
Expected result: The UI Action should run on the server side, and the message "Server side message" displays at the top of the page.
Actual result: No message is displayed and the following error appears in the browser console: "Could not execute UI action": ReferenceError: gs is not defined"
Workaround
Use the List banner button type instead.
Related Problem: PRB1255598