Skip to main content
July 30, 2023
Question

error in delete Related Action

  • July 30, 2023
  • 3 replies
  • 0 views

When I deleted the Record .It gives error

Error:--

After deleting the rows , row has deleted correctly  but this message come again and again..

not able to redirect summary page from where I am deleting the records

    3 replies

    mathieud0001
    July 30, 2023

    Yeah. If you're executing the delete action from the Record Summary page, it will redirect you there but the Record no longer exists thus the error message.

    I would suggest 2 options:

    1. You provide the delete action from the Record List.

    2. You have a confirmation page for your Delete action with a link that redirects to the Record list (or elsewhere in the app).

    mikes0011
    Brainy
    July 31, 2023
    You have a confirmation page for your Delete action with a link that redirects to the Record list (or elsewhere in the app).

    This is my normal approach (at least for the rare times when i implement something along these lines).   Honestly I just send them to a task with no "close" button and make them click away.  Though now that we have somewhat more flexibility in a!safeLink (i.e. can set it to open a link in the same tab), there are probably more creative workarounds (link to the user's home site, link to the record type, etc).

    stefanhelzle0001
    Brainy
    July 31, 2023