Code Of Conduct - Privacy Policy
Our.umbraco.com is the community mothership for
Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community. This site is running Umbraco.
How to refresh backoffice view after setting value during ContentService_Saving event handler?
In a custom made ApplicationEventHandler class I have a ContentService_Saving event handler that changes some values during the page saving process based some admin rules.
The code looks like this:
The properties "editCaseVisibility" (checkbox) and "testTextbox" (textbox) both get refreshed in the view and show the values I've set in the event handler. However, the Nested Content field "nestedFields" does not show the newly set values. I actually have to manually refresh the whole webpage in the browser to see the new values. Why is that? And is there a solution for it?
hi,
I found this solutions
https://our.umbraco.com/forum/extending-umbraco-and-using-the-api/92658-force-refresh-backend-page-after-save-publish#comment-293034
https://github.com/jbreuer/Hybrid-Framework-for-Umbraco-v7-Best-Practises/blob/master/Umbraco.Extensions/Utilities/WebApiHandler.cs#L24
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.