Copied to clipboard

Flag this post as spam?

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


  • Joseph 14 posts 84 karma points
    Sep 18, 2017 @ 10:02
    Joseph
    0

    Delete entry

    i have a form product. i have added and edited it. but i want to delete record in form now. i want to click on button delete that page can delete record in form.... please help me...

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Sep 18, 2017 @ 13:24
    Alex Skrypnyk
    101

    Hi Joseph

    You can remove records with RecordsService, like that:

    using (RecordService rs = new RecordService(record))
    {
      rs.Delete();
    }
    

    Thanks,

    Alex

  • Joseph 14 posts 84 karma points
    Sep 18, 2017 @ 13:26
    Joseph
    0

    Where i have to code. And how i can call js when i click on delete button. I have tried to delete but i cant

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Sep 18, 2017 @ 13:27
  • Joseph 14 posts 84 karma points
    Sep 18, 2017 @ 13:44
    Joseph
    0

    What is Guid? And how i can call it to delete record

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Sep 18, 2017 @ 14:37
    Alex Skrypnyk
    0

    You have to write some controller that will handle click event and delete the record that you want.

    Thanks,

    Alex

  • Joseph 14 posts 84 karma points
    Sep 20, 2017 @ 05:07
    Joseph
    0

    can you teach me through skype? i am working but it's difficult for me

  • Markus Johansson 1945 posts 5898 karma points MVP 2x c-trib
    Jun 02, 2020 @ 16:07
    Markus Johansson
    1

    If someone is looking for a solution for V8 I blogged about this here: https://www.enkelmedia.se/blogg/2020/6/3/remove-record-from-umbraco-forms-8-workflow/

  • 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