I have a user control that "votes" for some nodes. Because it's used for voting, I don't want a rollback version to be saved. If i only do umbraco.library.UpdateDocumentCache(doc.Id); then I see the value is updated in the backend, but the cache doesn't get updated. If before that I put doc.Publish(User.GetUser(0)); then the cache is updated, but also a rollback version is saved. Can I change a nodes' property without having a rollback version? Is there a way to completely disable rollback?
UpdateDocumentCache question
Hi,
I have a user control that "votes" for some nodes. Because it's used for voting, I don't want a rollback version to be saved. If i only do umbraco.library.UpdateDocumentCache(doc.Id); then I see the value is updated in the backend, but the cache doesn't get updated. If before that I put doc.Publish(User.GetUser(0)); then the cache is updated, but also a rollback version is saved. Can I change a nodes' property without having a rollback version? Is there a way to completely disable rollback?
Thank you!
Hi,
When you publish a node a new version is generated. You can use this Unversion project to automatically delete all the previous versions.
Hope this helps,
Richard
Thank you for your reply Richard, I'll try that project.
is working on a reply...