+ Start a Discussion
moniferlomoniferlo 

Data type for SolutionNote

I've been trying to assign the value of the field SolutionNote to a variable, neither String nor Blob are the Data type needed, I get the error "Data type not supported":
 
Solution s= [select Id, SolutionNote, solutionName from Solution where id=:'501S00000004j0w'];
String description = s.SolutionNote;
 
In Javascript I have no problem to assign this value to a variable. Any idea of how can I do it in Apex without getting an error?