AnsweredAssumed Answered

How can I get the NodeRef from getHomeSpaceId string?

Question asked by csiege on Jun 15, 2006
Latest reply on Jun 16, 2006 by gavinc
I am trying to modify the webclient so the user can only check out working file into their home space.

I am close. I get the users homespace id and need to set the
selected space in the CheckinCheckoutBean, but need it as a NodeRef
object not a string (spaceID).

I bet this is simple, but can't seem to find it.
I got the code below, but I must not have the right format of the space id to create the correct noderef.

NodeRef refNode = new NodeRef(beanNav.getCurrentUser().getHomeSpaceId());
bean.setSelectedSpaceId(refNode);

Any ideas!

thanks!

Chris

Outcomes