November Happy Hour will be moved to Thursday December 5th.

Unable to save RTE field in complex field

Vote:
 

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.

#303177
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.
Vote:
 

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

#303247
Jun 09, 2023 7:42
Vote:
 

Hi,

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.

Paul

#303380
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.