Lightning data tables are very very common for aura components. We will see how see can we have different row action name and different behaviour for data table Here is the query List<Resource__c> resourceList = [Select Id,Name,Week__c,Type__c,RecordType.Name,Resource_URL__c,Description__c,Curriculum__c from Resource__c where Curriculum__c IN :curriculumSet ORDER BY Week__c ASC]; I will only include the relevant section in the aura component for better clarity Component Controller js Helper js As you can …
Category: Apex
Permanent link to this article: https://salesforcebuddy.com/2021/03/lightning-datatable-with-dynamic-row-action/
Nov 24
This record type Bunk cannot be deactivated because the following profiles use this record type as default.
We had a custom object which had a couple of record types and later we realized record types are not needed. Since record types are saved in profiles, I got an error shown below In order to resolve this, we can use the link shown below ( and replace the url and id from your …
Permanent link to this article: https://salesforcebuddy.com/2020/11/this-record-type-bunk-cannot-be-deactivated-because-the-following-profiles-use-this-record-type-as-default/
Sep 11
Error Debugging – Permission Issue
Recently, we noticed an error in our salesforce org You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary From the initial look, it appears to be some permission of access related issue. On deeper dive, …
Permanent link to this article: https://salesforcebuddy.com/2020/09/error-debugging-permission-issue/