I am trying to create a 'delete' custom button for Lightning, in similarity to the one existing in the Classic details view? :

enter image description here

I was referred to the following Lightning Data Service (beta) article: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/data_service_delete_record.htm

I used the article to create the component, but after adding the custom action to my Case layout, the following error populates: "This entity is not currently supported by force:recordData."

Further reading about this error, concludes the Case object is not yet supported for 'force:recordData'.

Is there any other alternative to create a simple 'deleted' button for Cases?


Lightning Data Service supports the entities mentioned in the link below:


So Case object is not supported yet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.