alfresco custom action access folder by name
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2013 07:14 AM
I have a action where via a part of document name, you find the name of a folder in userhome - name of the user,
and you move document there. I have started working by modifying the existing move action and have come to the following problem.
How do I access the nodeREf of the folder, in short I have the name of folder that lies in userhomes, how do I get the NodeRef of this folder?
Thank you for your answers
and you move document there. I have started working by modifying the existing move action and have come to the following problem.
How do I access the nodeREf of the folder, in short I have the name of folder that lies in userhomes, how do I get the NodeRef of this folder?
Thank you for your answers
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2013 08:19 AM
Try
userhome.childByNamePath("folder-name");
provided the folder is directly under the user home directory
userhome.childByNamePath("folder-name");
provided the folder is directly under the user home directory
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2013 07:14 AM
I have forgoten something important to say in my post, the action is in JAVA not javascript
