在 Alfresco Share 中自定义 Doclib 过滤器
在 Alfresco 4.0 中,我想扩展 Share Doclib Filter 网页脚本以添加我自己的自定义过滤器。
- 有没有一种简单的方法可以在
share-config-custom.xml
中添加我自己的过滤器? - 如何在存储库端定义自己的过滤器?
In Alfresco 4.0, I'd like to extend Share Doclib Filter webscript to add my own customized filter.
- Is there a simple way to add my own filter in the
share-config-custom.xml
? - How do I define my own filter on the repository side?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
涉及 2 个步骤:
通过使用您自己的模块自定义文档库来添加链接(请参阅 alfresco 帮助):
扩展 webscripts
filter.get.js
和repo-filter.get.js
(将它们添加到web-extension / site-webscripts / com / company/ Components 中/ documentlibrary /
)用您自己的标签扩展属性文件
在
alfresco / templates / webscripts / org / alfresco / slingshot /中documentlibrary-v2 /
复制粘贴
filters.lib.js
并添加您的逻辑:There are 2 steps involved:
Adding the link by customizing the document library with your own module(see alfresco Help):
extend the webscripts
filter.get.js
andrepo-filter.get.js
(add them inweb-extension / site-webscripts / com / company/ components / documentlibrary /
)extend the property file with your own labels
in
alfresco / templates / webscripts / org / alfresco / slingshot / documentlibrary-v2 /
Copy paste the
filters.lib.js
and add your logic: