AnsweredAssumed Answered

nodeRef from scriptNode doen't give me nodeRef String? bug??

Question asked by tb13 on Dec 21, 2010
I am using Alfresco 3.4b

In my serverside webscript I copy a document to a new location, and afterwards I would like to go directly to that newly created document. What I am trying to do is, I am returning the nodeRef to share and then call a redirect on the newly created node via the returned nodeRef.

finalDocNode = docNode.copy(destNode, true); 
model.theNodeRef = finalDocNode.nodeRef;

The string returned by  model.theNodeRef is for example this:
Node Type: {http://www.alfresco.org/model/content/1.0}content   Node Ref: workspace://SpacesStore/6e4fa806-02bd-4a9e-9a8b-615a72bf4f61

What I am doing wrong? or is this a bug?

Outcomes