function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Saswat MohantySaswat Mohanty 

Custom visual Force page for Calendar

Hello,

We have certain accounts in the org which contain "\" in their names. Also, there is a 3rd party mobile application which is being managed in the org for visit record sync,upload and download purposes. However, when you schedule visit from the calendar with such accounts and download them to mobile app and complete, sync the records it gives the error message like "Invalid XML Character found in the element content of the document". Please note in SFDC online the calendar is designed with a visual force page.

We saw that in online, for such visits the subject line is being created with additional space of special characters and if you remove them by pressing backspace for 2 times, then the subject line gets corrected and with this the error message from the app starts to disappear slowly. However, the same issue did not happen for any accounts containing forward slash /
Saswat MohantySaswat Mohanty
Just to add, i want to know how can we avoid such error.