I work with this alfresco version : All-In-One (AIO) project for SDK 4.0 I have created a new Doclib Action that create a new file ! (so with new nodeRef !) My problem is : in alfreso portal, i always stay on the current nodeRef and i would like redirect to the new nodeRef : http://localhost:8180/share/page/site/test/document-details?nodeRef=workspace://SpacesStore/NEW_NODEREF_GUID
Is it possible to redirect to the newNode in java ?
Examples of creating node:
<config evaluator="string-compare" condition="DocumentLibrary">
<!-- Create custom type nodes -->
<create-content> <!-- METHOD 1: using ootb create-content function, it takes you to a new page and upon saving the node it lands on doclib -->
<content id="whitepaper-doc" label="create.whitepaperdoc.menu.item.label" icon="whitepaper" type="pagelink">
</content> <!-- METHOD 2: using a custom function e.g. onNewObject , upon node creation you can grab the noderef and redirect -->