folderlink to browse view of a folder
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2014 09:38 AM
Hi,
I would like to create a shortcut in one folder (A) to another folder (B) in the repository.
as the applicationmodel and contentmodel indicate, there are such things as app:filelink and app:folderlink. Both inherit from cm:link. The only property of cm:link is a reference to the parentnode.
If you want to link to a file, that's ok: by clicking the link, you go to detailed view of your file.
But for a folder, that's not ok: a user doesn't want to go to the details of the folder,he wants to jump in to the folder.
The functionality does exist allready with a link: the crosshair symbol, that jumps to the parentnode/parentdirectory that contains the linked object (for a folderlink that would be one level to high!).
Is it possible to get that functionality with an app:folderlink object so that clicking the link (not the crosshair) takes you to the content of the linked folder?
I would like to create a shortcut in one folder (A) to another folder (B) in the repository.
as the applicationmodel and contentmodel indicate, there are such things as app:filelink and app:folderlink. Both inherit from cm:link. The only property of cm:link is a reference to the parentnode.
If you want to link to a file, that's ok: by clicking the link, you go to detailed view of your file.
But for a folder, that's not ok: a user doesn't want to go to the details of the folder,he wants to jump in to the folder.
The functionality does exist allready with a link: the crosshair symbol, that jumps to the parentnode/parentdirectory that contains the linked object (for a folderlink that would be one level to high!).
Is it possible to get that functionality with an app:folderlink object so that clicking the link (not the crosshair) takes you to the content of the linked folder?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2014 10:08 AM
You could alter the cross-hair functionality as it's a doclib action, see http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fdoclib-web-...
Or override/extend share/components/documentlibrary/documentlist.js
The latter is probably what you want, but may be harder to maintain if you start upgrading because Alfresco may change the documentlist.js as well in future releases.
Or override/extend share/components/documentlibrary/documentlist.js
The latter is probably what you want, but may be harder to maintain if you start upgrading because Alfresco may change the documentlist.js as well in future releases.