New answers tagged

0

We were getting the same error and it turned out to be a Licence issue. Lightning Page was accessing Object belonging to a package, which User didn't have licence. You don't get any Client-side or Server-side logs to understand that it's an object access issue. Working well for us now.


0

Bhawna is correct, you cannot call a Lightning Component from a List button directly. In the past, I have implemented something which may be useful in this scenario. Step 1: Create the component you want and make it implement the lightning:isUrlAddressable interface <aura:component implements="flexipage:availableForAllPageTypes,force:appHostable,...


1

GETRECORDIDS() does not seem to work with URLFOR calling a lightning component. There is an alternative using a Visualforce page that in turn calls the lightning component, here is the procedure for account list view: Create a visualforce page of type standard list controller In visualforce constructor method, retrieve list of selected records in list ...


0

Below is my standard sort algorithm for a LWC. I hope this helps. @track sortBy @track sortDirection @track data handleSortData(event){ this.sortBy = event.detail.fieldName; this.sortDirection = event.detail.sortDirection; console.log(event); this.sortData(event.detail.fieldName, event.detail.sortDirection); }; ...


2

There is some coding involved to get this running but you shouldn't need to start from scratch. You'll need to update your columns array so that at least one column is sortable ("sortable": true), then set the sortedBy attribute on your datatable with the name of the column that the table is sorted by when the component loads. From the lightning-datatable ...


1

As far as I know, we cannot use {!GETRECORDIDS($ObjectType.Account)} to redirect to a Lightning component via URL. There is another alternative using a Visualforce page, whereby the VF processes the selected recordids from list view then redirects to the lightning component. Hope this helps See working example below for account object Visualforce page &...


Top 50 recent answers are included