error in delete Related Action

Certified Associate Developer

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

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

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

  • 0
    Certified Lead Developer
    in reply to Mathieu Drouin
    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).

Reply
  • 0
    Certified Lead Developer
    in reply to Mathieu Drouin
    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).

Children
No Data