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: Salesforce
Salesforce Related
Permanent link to this article: https://salesforcebuddy.com/2021/03/lightning-datatable-with-dynamic-row-action/
Dec 04
Config Tips – Inactive user dashboards
In my project, I had to troubleshoot a dashboard that was running as the previous admin and needed to find other dashboards that needed updating. Below are some queries I used in Workbench or Dev Console to identify the dashboards that required updating, sharing it for future use. Query for all Dashboards running as Inactive …
Permanent link to this article: https://salesforcebuddy.com/2020/12/config-tips-inactive-user-dashboards/
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/