cancel
Showing results for 
Search instead for 
Did you mean: 

Search only for Wiki pages in a Site

technaton
Champ in-the-making
Champ in-the-making
Hello all,

is there a way to conjure a Share user search expression (Alfresco FTS) that limits the search to (a) wiki pages, and (b) wiki pages of the current site only? I know how to do it using an XPath query in e.g. alfresco's node browser, but XPath isn't accessible from the standard FTS search on the Share UI.

Thanks a lot in advance!

—Eric
3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator
Hello,

Unless you assign a custom type to wiki articles, they are all just regular content items, and can can not be distinguished from documents except by path. We did a customization once (rule) that automatically assigned a custom wiki type. The Share search than used that type in an advanced search form.

Regards
Axel

vassilisx
Champ in-the-making
Champ in-the-making
I would like to add to this question:

When using UTF-8 encoding (for greek characters) the resulting html preview of tinyMCE is not the actual characters, but rather the codes of these characters (e.g. not "o", but #omikron). This results to wiki pages becoming "un-searchable" when searching in greek.

Is there a way to overcome this?

miguelsan
Champ in-the-making
Champ in-the-making

As Axel said, they are "cm:content" type, so you can't distinguish them except by path. But you could add a
custom rule or behavior to change the type of the wiki articles, and add an advanced search option for this custom type.

Here, there is an example of codification and a detailed explanation of this solution.