If users upload a file to our Web-based intranet and the name of the file contains spaces, users cannot open the file on the Web. I have to detach the file in my Notes client and resubmit it. Is there a way of getting round this?
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
For example: "domino code.doc" causes an error and "domino_code.doc" does not cause an error.
Usually MS Internet Explorer handles these file names OK, while older Netscape browsers don't. I suggest computing the "download file" link similar to this:
"a href=/path/yourDB.nsf/ViewByID/" +@Text(@DocumentUniqueID)+ "/$FILE/" + @ReplaceSubstring(filename;" ";"%20") + "?OpenElement "+ "" target = "_new">"+filename+"</</a>]"Where filename is the name of the file. You can get this using @Attachmentnames.
Do you have comments on this Ask the Expert Q&A? Let us know.
Dig Deeper on Web Development for Lotus Notes Domino
Related Q&A from Jens Bruntt
Web Development expert Jens Bruntt offers suggestions on how to programmatically copy and hide attachments in Lotus Notes rich-text fields.continue reading
Learn about an add-on Domino developers can use to programmatically edit rich-text field tables from within the Lotus Notes client.continue reading
Web Development expert Jens Bruntt outlines three potential issues to consider when troubleshooting Lotus Notes Domino tabbed table problems.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.