cancel
Showing results for 
Search instead for 
Did you mean: 

how to find nodeRef of a Document?

vikash_patel
Star Contributor
Star Contributor

I have created a document 'transform_me1.txt'

var doc1 = companyhome.createFile('transform_me1.txt');
doc1.mimetype = 'text/plain';
doc1.content = 'This is plain text';

doc1.save();

How can I find nodeRef of this document.

thank you,

1 ACCEPTED ANSWER

kaynezhang
World-Class Innovator
World-Class Innovator

try doc1.nodeRef  property

View answer in original post

2 REPLIES 2

kaynezhang
World-Class Innovator
World-Class Innovator

try doc1.nodeRef  property

thanks kayne,
Now I am able to find nodeRef.