cancel
Showing results for 
Search instead for 
Did you mean: 

Store with a slash

spilby
Confirmed Champ
Confirmed Champ
Hi,

I need to store documents on Alfresco with a slash on the title and name.

I know that Alfresco not allow special characters like "/". The first that I thank is to escape this character and replace the "/" to "& # x 2 f ;" when I upload the document. When I see the content with the navigator on a portlet that talks throw the Alfresco Api I can see all ok, with the "/". But when I search with Lucene don't find the result. I supose that I need to escape the lucene search too.

Anyway… I need to escape everywhere the "/" with the "& # 2 f ;"? And unescape when I obtain the node properties. Or there are a way to save properties with a "/" without escaping it? The ideal is that Alfresco stores the "/" without escaping.

Thanks a lot!
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
You should be able to store slashes in the title.    (But can't in the name since it is the directory separator character)   
Or if its some sort of reference number then put it into your own custom property.  

spilby
Confirmed Champ
Confirmed Champ
Oks, I wanted to make sure that Alfresco not supports another conversion character. Well, I may use a custom property if isn't possible to use a slash on a name property. Thanks!