when I tried to search the documents having tags such as 'anger management' from the site tag dashlet,it gives no results but when I tried to search the document having the same tag name(anger management) from the library pane in the left on the document library,it give the tagged document.
On the other hand,when I tried to search for the documents having tags such as 'anger_management' from the site tag dashlet,it gives the tagged document when searching the document from the site tag dashlet and the library pane both.
I think the spacing between the words in the tag name is the issue.
but,I am not able to figure out why this is so.
Any idea regarding this would be highly appreciated.
The first things is site-tag-dashlet is not OOB dashlet. I think you must have imported it using from share-extras.Below is file which is responsible for rendering tags.I think you need to do some thing inside this file.
site-tags-dashlet/site-tags.js at master · share-extras/site-tags-dashlet · GitHub
I think it is the default behaviour of this dashlet, I remember the same issue some time ago.
In the file mentioned by Krutik try with this (remember to minify the corresponding js):
uri += '/search?tag=%22' + encodeURIComponent(tag.name) + '%22&a=false';
Regards.
--C.
thanks,it is working correctly and now I am able to search the tags such as "anger management" from site-tag-dashlet also also.
but,one thing is that still now,it is giving the warning message "2017-12-07 13:15:09,093 WARN [repo.jscript.ScriptLogger] [http-apr-9040-exec-10] Unable to resolve specified root node reference: null".I am unable to figure out why this is so.
Hi
Tags are treated as identifiers (the whole thing, as is) in the index. You need to execute the query as a phrase. It is possible we should be more flexible here.
Andy
I think you should analyse and debug the code.It will help you in customizing anything in that dashlet.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.