cancel
Showing results for 
Search instead for 
Did you mean: 

How obtains the space of a content?

mcalmendros
Champ in-the-making
Champ in-the-making
Hi,

I would like obtain the space of a content. Not if it can be obtained from the NodeRef or from the Node…

Thanks.
1 REPLY 1

niranjan
Champ in-the-making
Champ in-the-making
var doc1 = userhome.childByNamePath("file.txt");
var doc1 = userhome.childByNamePath("<folder name>");

this will return the path of the file/folder