I have a Web API service that I have managed to use to pull values into a ContentPart
by using the method outlined here: How to change Orchard record repository.
Now, what I want to do is update the values of the properties on my ContentPart
and have the update performed via a Web API call. I think I'm close, but just can't get an update method to fire.
In my Handler
, I have added a handler for OnUpdate
. I can see my OnUpdate
method get registered, but it never executes.
So my question is: Is this the correct handler event to use? And if so, how can I get it to trigger?
I should add that I am accessing the ContentPart
through a Controller
, as opposed to a Driver
.