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

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Apr 15, 2013 @ 10:18
    Tim Geyssens
    0

    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

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Apr 15, 2013 @ 10:31
    Tim Geyssens
    0

    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?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Apr 15, 2013 @ 10:46
    Tim Geyssens
    0

    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 :)

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Apr 15, 2013 @ 10:48
    Tim Geyssens
    0

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

  • Amir Khan 1199 posts 2567 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

  • 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.

Please Sign in or register to post replies