Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tom Steer 161 posts 596 karma points
    Apr 15, 2013 @ 10:14
    Tom Steer
    0

    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

  • Comment author was deleted

    Apr 15, 2013 @ 10:18

    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?

  • Tom Steer 161 posts 596 karma points
    Apr 15, 2013 @ 10:25
    Tom Steer
    0

    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

  • Comment author was deleted

    Apr 15, 2013 @ 10:31

    Yeah records api can be found in Umbraco.Forms.Data.Storage.RecordStorage

  • Tom Steer 161 posts 596 karma points
    Apr 15, 2013 @ 10:44
    Tom Steer
    0

    Is there any documentation on this?

  • Comment author was deleted

    Apr 15, 2013 @ 10:46

    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

  • Tom Steer 161 posts 596 karma points
    Apr 15, 2013 @ 10:48
    Tom Steer
    0

    Great Thanks Tim :)

  • Comment author was deleted

    Apr 15, 2013 @ 10:48

    But if you just want to delete all records for a specific field a direct sql statement would be best (UFRecords table)

  • Amir Khan 1282 posts 2739 karma points
    Sep 22, 2014 @ 23:19
    Amir Khan
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft