I have created a custom field(Rich Text field) with the Case object and am trying to update that fiekd value with XML data while clicking a button.
If I hard code the value like
CurrentCase.XML_Field__c='value has been hard coded for testing purpose';
This hard coded value is getting updated properly. But if I give the xml variable it is not getting updated.
Lets say my xml string value is -
<?xml version="1.0" encoding="utf-8"?>
...........
...........
and it has 298 characters. If I assign this variable to my RichTextField it is not getting updated and not throwing any error as well.
Any help would be appreciated...
Thanks
Update:- If I remove these <,>,</,<?,?>
symbols from the xml string and hard coding the rest of the entire string(whatever may be the length) am able to update my rich text field.
Whether these symbols are the reason xml is not getting updated..