cancel
Showing results for 
Search instead for 
Did you mean: 

How to know if a node is already checked out, who checkedout

sam4alf
Champ in-the-making
Champ in-the-making
I am writing a custom webscript to display a list of documents inside folder. I want to display checkout status and the checkout username. Based on these details, I want to enable, disable some buttons.

For this, how do I know if a node is checked out? I tried all of the following:

node.isCheckedOut == true
node.checkout == true
node.checkout == 1

Where I can find all the available methods/properties on a javascript node?

Thanks,
Sarma.
1 REPLY 1

matjazmuhic
Champ on-the-rise
Champ on-the-rise
You either one:

node.isLocked

or

node.getIsLocked()