Launching attachments

Would anybody know of a workaroound to open attachments in web client when the attachment file has non-allowed symbols such as “#” (e.g. filename is, say, “TestResult_rockfill_loc#234.pdf”)

The following is the formula which works well except when there’s a symbol as stated above, which instead returns an error.

db := @ReplaceSubstring(@Subset(@DbName; -1); " “:”\“; “+”:”/");

vopenfile:=“/” + db + “/viewname/” + @Text(@DocumentUniqueID) +“/$File/” + @AttachmentNames + “?OpenElement”;

“<a href="” + vopenfile + “">” + @AttachmentNames + “”

While renaming the files to remove the # symbol before attaching is my only solution now perhaps there is a workaround to save on renaming many files. Appreciate any suggestion. Thanks ahead!

Subject: Try to use @URLEncode for attachments names.

Subject: @URLEncode worked!

That worked! Thanks Konrad…

Subject: launching…

Thanks Konrad, i will try that…