cancel
Showing results for 
Search instead for 
Did you mean: 

onActionFormDialog/ActionExecuterAbstractBase

mtw999
Champ in-the-making
Champ in-the-making
Hello,

I have a custom action that extends ActionExecuterAbstractBase. My custom action is called as Document Library action using onActionFormDialog. It seems you do not have information about the node from within ActionExecuterAbstractBase until you execute where actionedUponNodeRef is a parameter. I'd really like to be able to get to prior to that to use it to specify values specific to the node (in the onActionFormDialog form).

Is there a way top get at the node within ActionExecuterAbstractBase without overriding/creating custom onActionFormDialog form? I see that parameter in the action definition in share-config is:
<param name="destination">{node.nodeRef}</param>

But that does not seem to be exposed to form or within action anywhere.


M
6 REPLIES 6

romschn
Star Collaborator
Star Collaborator
It is not clear to me what you are trying to achieve. However, actionedUponNodeRef is available in execute method of ActionExecuterAbstractBase and that is the entry point of execution of the action.

eihab86
Champ in-the-making
Champ in-the-making
Why don't you try Alfresco Policies?

http://wiki.alfresco.com/wiki/Policy_Component

mtw999
Champ in-the-making
Champ in-the-making
I don't see the connection where a policy will allow me to get at the specifics of the node being actioned on. I wanted to use property value of the actioned upon node to seed values selected values.

mtw999
Champ in-the-making
Champ in-the-making
In the ActionFormDialog, I want to populate one of the fields with information based on the node. For example, if the node the action is launched against was a folder name "Toyota", I want a field the field to display a list of values related to Toyota: Camry, RAV4, Corolla, etc

izodev
Champ in-the-making
Champ in-the-making
Have someone found a solution for this problem, I had a similar one : I want to display parameters from my action in the form

mtw999
Champ in-the-making
Champ in-the-making
Sorry. I have not found a solution to this. Please let me know if you do 🙂

mtw
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.