AnsweredAssumed Answered

New Custom Action in Alfresco

Question asked by cristi on Nov 11, 2011
Latest reply on Nov 24, 2011 by cristi
Hello all!
I want to do a custom action associated to rule. I have used a guide http://wiki.alfresco.com/wiki/Custom_Action_UI but I don't get I need. I'm really newby using Alfresco…

My problem: I have created my custom action. I select it in Alfresco UI and when I press the button "Set Values and Add" the application doesn't show any window to add any value to parameter that I have defined in method addParameterDefinitions:

protected void addParameterDefinitions(List<ParameterDefinition> paramList) {
        paramList.add(new ParameterDefinitionImpl(PARAM_CUSTOM_URL, DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_CUSTOM_URL)));

}

I'm not sure if I need a jsp, all I want is a text box to type a parameter. I have created a jsp and its ActionHandler, defining it in the web-client-config-custom.xml file, but Alfresco don't recognise the jsp. I don't know the location where I have to put the jsp.

Thanks!

Outcomes