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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2011 06:26 PM
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.
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.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2011 03:41 AM
You either one:
or
node.isLocked
or
node.getIsLocked()
