Replicate UI Action Button Behaviour in Project Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11 hours ago
Hi,
There is a button that appears in the Risks related list on the Project Form called "Create from Library". When you click it you can add a risk to the project from the risk library. A modal pops up like this:
I've added a new "Related List Declarative Action" (on sys_declarative_action_assignment) and, to test, I just set it to give me a console log.
The button appears in the right place on the project workspace like this:
But when I click it, I get an error saying Failed to execute action. Please contact your administrator.
This is my declarative action:
Note that I am not able to select the project workspace in the workspace field. The only option there is "Agent Workspace".
What am I doing wrong?
