SmartFolders Template: Syntax Search Query

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2019 06:37 PM
Hi,
I'm looking for a search query code that search for filename, e.g: (=cm:name:%03_Predial.pdf%), but I can't find the property which looks for filenames. I will really appreciate your help with this topic.
Thanks.
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2019 11:29 AM
cm:name is already the property by which to look for file names. You should know though that when doing an exact match in FTS like you are doing, the % wildcard is only supported at the end of the value, not on both ends.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2019 02:24 PM
Thank you very much Axel, your help was very usefull, the code is working successfully now.
Kind regards.
