File/Document is not loading in K2 Five if the doc name contains '&'

  • 11 January 2022
  • 2 replies


We are on K2 5.4 (FP 38). We are using 'FileType filed' to read documents from the Database. File is not loading if file name contains &. for example - <file><name>Meetings&- Broadcast.xlsx</name>. UI (Smartform) is giving the error "An error occurred while parsing the entity'.


Thank you,





2 replies

Badge +1

The "&" character is a limitation of the SmartObject creation due to how the system parses the string. While this doesn't specifically go over files, I believe it will fall under the same limitation.

Userlevel 1

Hi mmotupalli,


It looks like the best option is to setup some validation/logic to check for any file names with special characters.