I am trying to search files using ampersand.
I have created a file with name "abc & xyz" on a fresh installation of alfresco 5.2.
now, I am trying to search the file but it is not considering ampersand.
I am able to search with 'abc' or 'abc*' because it is reading characters "abc" but when I try to search with 'abc &' or abc &* or &, its not working.
when trying to search with abc & abc, the value goes on url - "abc %26 abc" instead of "abc & abc".
can anyone help me with handling ampersand for searching ?
thanks in advance.
Hi,
I think you must to escape the character '&'. Please, try something like this:
'abc \&'
"abc \&"
Regards,
clv
Hi, Monica kumari
when you trying to search with abc & abc, the value goes on url - "abc %26 abc" instead of "abc & abc" because
While searching you got' abc %26 abc 'in url because it encodes the string which you have entered.
Please refer this
How to search text with special character?
UTF-8 Character encoding issue
Thanks,
Kalpesh
Hi
It is not clear what you are trying do. If the & is critical in the query you need to quote the string and ask for an exact match. Just escaping the \& will not do much ...
="abc & xyz"
Andy
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.