Trap a salesforce permission error in order to display a friendlier message?

  • 1
  • Question
  • Updated 5 years ago
  • Answered
When there is a delete button on a row in a table and the user doesn't have delete permission on the row, when the user clicks on the delete button a less than attractive error message is displayed. Is there is a way in Skuid to trap the error and display a more user friendly error message?
Photo of Andy Forbes

Andy Forbes

  • 322 Points 250 badge 2x thumb

Posted 5 years ago

  • 1
Photo of Pat Vachon

Pat Vachon, Champion

  • 46,404 Points 20k badge 2x thumb
Have you considered using the method I put together in this post.

You can also create a "fake" delete button for those who don't have the proper user record access to the record in question. That button can have a popup action with a message within it saying what ever you'd like.