Try our conversational search powered by Generative AI!

Unable to save RTE field in complex field


I am facing one issue that 

I have constructed a schedule job to update RTE fields with a page if it contains empty div tags, now the problem is i have a page with a IList  of fields, on of which will be an RTE field, now this field is not getting  saved.

Jun 08, 2023 14:38
- Jun 14, 2023 10:13
Are you updating it to be an empty XhtmlString or getting any error at execution? Please add code snippet for clarification.

Your question is somewhat unclear, can you please describe a bit more, possibly add some code etc

Jun 09, 2023 7:42


Some suggestions to investigate in your code, otherwise show us what you have and we can suggest a possible cause and fix (please remove client names, etc before posting).

  1. Create a writeable clone, often people will retrieve the page and think they can just update it and save it back to the system.
  2. Ensure page is of IContent type, this is very important.
  3. Ensure correct permissions / authorization is used to save the data.


Jun 12, 2023 10:37
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.