How to change the default document list actions behavior?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2012 08:58 AM
I need to change the document list default actions behavior.
My requirements are:
Change the document's name link action to the view in browser action.
Change de view in browser button link to the document details action.
I'm trying to do this in Alfresco 4.0d
Thanks
My requirements are:
Change the document's name link action to the view in browser action.
Change de view in browser button link to the document details action.
I'm trying to do this in Alfresco 4.0d
Thanks
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2012 11:35 AM
Hi.
You have to modify the documentlist.js and make some changes on function DL_generateFileFolderLinkMarkup.
This file is located in <tomcat path>/webapps/share/components/documentlibrary
You can use this to build the view link
html = scope.getActionUrls(record, recordSiteName).viewUrl;
After doing this change, you will need to minimize the javascript and save this minimized file as documentlist-min.js
Let me know if I can help you with this.
You have to modify the documentlist.js and make some changes on function DL_generateFileFolderLinkMarkup.
This file is located in <tomcat path>/webapps/share/components/documentlibrary
You can use this to build the view link
html = scope.getActionUrls(record, recordSiteName).viewUrl;
After doing this change, you will need to minimize the javascript and save this minimized file as documentlist-min.js
Let me know if I can help you with this.
