AnsweredAssumed Answered

Updating Aspect Value from Custom Action

Question asked by erictice on Nov 30, 2009
Latest reply on Dec 3, 2009 by derek
I have a custom action that is working well.   The next step is to set a custom action that I created with the value that is created in the action.  Does anyone know what the API for this is?  I have tried the following:


      QName urlQname = QName.createQName(filePath.substring(0, filePath.indexOf("}")+1) + "S3URL");
               Map<QName, Serializable> properties = nodeService.getProperties(actionedUponNodeRef);
               properties.put(urlQname, url);
               nodeService.addProperties(actionedUponNodeRef, properties);
               action.setParameterValue("S3URL", url);


It would seem that one of those is supposed to do that, but I am at a loss as to why it is not working.  I really need this asap, so any thoughts on this would be appreciated.  As I am doing this from a custom action that is running in Alfresco, I do not want to make a web service call.  There should be another way to do this.  I am also doing this all with Java, no webscripts.  Thank you