Content editor doesn't update in Sitecore when I programmatically update / add content

I add / edit content programmatically in the main DB and I know that it saves correctly because if I run another application I can see the content I created / updated. However, I cannot see the content in the content editor. However, if I go to the "template" associated with the content I create / edit and make small changes and save it. I get the "Content update" message that I expect to see ... (it applies the template change to the content). Then I see the content that I created / edited ... So it seems like something must be caused by something that modifies the template triggers that I am not. Any ideas? Thank.

+3


source to share


2 answers


Thanks for all the input. The problem is that the cache is not cleared. Collapsing / Expanding tree doesn't work. I literally had to clear the cache and it worked. Thank you all. Hopefully if anyone else has this problem my answer will help them!



+1


source


The content tree will not automatically update the following external changes to the content structure (like another user adding / removing something in the node you are looking at). If you are breaking up and expanding the parent node where your content is programmatically created, that should be enough to show the newly created content.



0


source







All Articles