How to search in a specific folder outdoors

I have folders in the shared folder. Can I specify a share to search for a specific file in a specific public folder folder?

+4
source share
3 answers

We have developed solutions in which you can search in a folder using the advanced search form: http://addons.alfresco.com/addons/alfresco-share-folder-search

It's free to download, so you can see how it's done.

In short: in 4.2.e you can send an extra param rootNode to webscript / slingshot / search repo.

JavaScript Share components/search/search.js

_buildSearchParams. : site={site}&term={term}&tag={tag}&maxResults={maxResults}&sort={sort}&query={query}&repo={repo}&rootNode={rootNode}&pageSize={pageSize}&startIndex={startIndex}

, rootNode qnamePath NodeRef, .

+3

, ( ).

admin, http://your-host.domain.name/share/page/console/admin-console/node-browser (fts-alfresco) :

PATH:"/app:company_home/app:shared//*" AND @cm\:name:"filename.txt"

"filename.txt" .

, , , .

http://wiki.alfresco.com/wiki/Search#Path_Queries

+4

For a possible implementation, I wrote a long post on the alfresco community forum .

0
source

Source: https://habr.com/ru/post/1535518/


All Articles