cancel
Showing results for 
Search instead for 
Did you mean: 

Get NodeReference

thaneshk
Champ in-the-making
Champ in-the-making
Hi,

I was able to call the checkout method of the CheckOutCheckInService in my custom application. This creates a working copy of the node that i checkout.

Now does this workingcopy become a node by itself or will i have to call some other service to create this node after i call the checkout method.

The reason being that when i need to checkin, i need to call this workingcopy nodeRef and am not sure where to look for it.

Any help on checkin and checkout or versioning on this regard will be greatly apprecaited

Cheers
2 REPLIES 2

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

The working copy is a node is it's own right.  You can read/edit it in the same way you would any other node.  The only difference is that is has the workingCopy aspect applied which indicates it is a checked out node.  The copiedFrom aspect is used to identify which is the source node.

If you need to find the working copy for a checked out node then use the getWorkingCopy method on the CheckOutCheckInService passing the node ref of the checked out node.

Hope this answers your questions,
Roy

thaneshk
Champ in-the-making
Champ in-the-making
MAte can you help me with this. I posted my problem in this link

http://forums.alfresco.com/viewtopic.php?t=1448
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.