I am trying to access a document using the category value. It works fine, except when the category value contains a /.
Fine, I thought, let’s encode it!
I used the %2F instead of /, still it does not work…
URL is like this:
https://path/dbname/string/anotherString?EditDocument
I tried:
https://path/dbname/string%2FanotherString?EditDocument
Can somebody help?
Thanks in advance!
Subject: Encoded / character in the URL results in error 404 page not found
Well … slash is a standard separator between directory, database, view, document (etc.) I would have guessed you could encode it successfully.
First, if the slash is in a view name, create and use an alias on your view.
Second, I would suggest replacing any slashes with some other character(s) – use @Replace to substitute. You could use any character (or string of chars) not normally found in your docs. I you might use the 7-character string “#slash#” in place of the slash. Use it in the URL. Also, if you it is part of your unique key in the view, substitute it there too.
Third, I worry a little that you do not have a valid URL to begin with.
https://path/dbname/string/anotherString?EditDocument
In the example, string and anotherString must be something like a viewname (or unid) and a unique document identifier of some sort. Tell us more about these strings.
Subject: RE: Encoded / character in the URL results in error 404 page not found
Thank you Doug for your quick answer.
Yes, I have forgotten the view in the URL 
https://path/dbname/viewname/string/anotherString?EditDocument
string/anotherString is a category in that view, that collects just one document for each category.
In fact, I don’t have any chance to change this value (it contains more than one slash!!!) because this is the user name after the LDAP converts the user logon ID.
I am using this view and categorization to give the web user a “My profile” function.
I hope that I was clear, if not please do not hesitate to ask me questions!
Thanks again!
ciao