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

Plain Text to Rich Text in data loader

Hi Everyone,


I was working with the data loader and I was loading a plain text field into a rich text field. I found that none of the spaces stayed from the Plain text to rich text.

I'm guessing becuase there is not rich text coding in the plain text version of the String. I was wondering if anyone knew of a way to have at least the hard returns or '\n' in the string to be turned into '<br/>'. I don't really want to build a class or anything to do this. I was wondering if someone knew how to do this with the data loader or excel.



Best Answer chosen by DannyK88

So I found someting interesting. If I use the Anonymus apex function of the developer console I can updated records that way.
I was wondering if there would be any reason that I would NOT want to use that function?

Like will it cause any issues in a production environment?