mmotupalli
Novice

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

Hi,

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,

 

 

 

 

Labels: (1)
0 Kudos
Reply
2 Replies
sng
Nintex Employee
Nintex Employee

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

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. 

 

https://community.nintex.com/t5/Technical-Issues/Item-Naming-Known-Restrictions-and-Limitations/ta-p...

0 Kudos
Reply
khanh
Nintex Employee
Nintex Employee

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

Hi mmotupalli,

 

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

https://community.nintex.com/t5/Technical-Issues/File-not-found-error-when-loading-the-display-form-...

 

0 Kudos
Reply