You are viewing limited content. For full access, please sign in.

Question

Posted to Laserfiche Cloud

Question

List of Disallowed Characters in Folder and/or Document Names

asked on March 31, 2022

Hello,

Is there a unified/updated list of characters that are not allowed to be included in folder and/or document names within LF Cloud? We have run into issues a couple of times with workflows failing because the tokens used within a rename activity have tokens that are not allowed.

 

Thanks

0 0

Answer

SELECTED ANSWER
replied on March 31, 2022

Where are your Workflow tokens coming from? Usually a newline character is the most likely culprit because people use data that may have been pasted into Forms from a multi-line value or the regular expression used in Pattern Matching is too permissive so it matches the end of the line from multi-line text.

1 0

Replies

replied on March 31, 2022

Entry names are really flexible. As long as you are inside the "printable" ascii range (i.e. excluding things like tab and enter), then backslash (\) is the only disallowed character. The other restrictions are that the name can't end with whitespace, and the names "." and ".." are not allowed. Does that match what you've seen?

0 0
replied on March 31, 2022

Hmm I'm thinking these errors must have had a different root cause then. Good to know about the backslash. Thanks your help!

0 0
SELECTED ANSWER
replied on March 31, 2022

Where are your Workflow tokens coming from? Usually a newline character is the most likely culprit because people use data that may have been pasted into Forms from a multi-line value or the regular expression used in Pattern Matching is too permissive so it matches the end of the line from multi-line text.

1 0
replied on April 1, 2022

Sure enough the problem was a \r\n but in this case in the middle of the string not the end.

Is there a best practice for filtering these out? Either upstream in the process by preventing there entry into the field during entry (ideally without block copy-paste) or latter on during the rename activity (perhaps with regex ▼ in the token formatting)?

\S*

 

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.