There are no events available on export so not sure what would be the best solution, maybe a simple dashboard control that allows your users to clear records?
Thanks for the quick reply I shall give it some more thought. Just out of interest is there some API to deal with contour records, Looking here but can't see anything:
Is UFRecords the only place records are stored? It seems that there is all of these UFRecord fields that contain info, is it safe to clear them out also?
Contour - Delete Records On Event
Hi Guys,
Is there some way I can delete all the records for a given form when the user exports them? Is there a particular event I can hook into or anything?
Many Thanks,
Tom
Hi Tom,
There are no events available on export so not sure what would be the best solution, maybe a simple dashboard control that allows your users to clear records?
Hi Tim,
Thanks for the quick reply I shall give it some more thought. Just out of interest is there some API to deal with contour records, Looking here but can't see anything:
http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/#
Thanks,
Tom
Yeah records api can be found in Umbraco.Forms.Data.Storage.RecordStorage
Is there any documentation on this?
Not in the docs section but there are some snippets available like in this post http://our.umbraco.org/forum/umbraco-pro/contour/40000-Member-Login,-Contour-security-how-do-I-stop-a-field-getting-recorded
Great Thanks Tim :)
But if you just want to delete all records for a specific field a direct sql statement would be best (UFRecords table)
Is UFRecords the only place records are stored? It seems that there is all of these UFRecord fields that contain info, is it safe to clear them out also?
Thanks!
Amir
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.