Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
17 votes
Accepted

How to show a screen flow as a Listview button on any object?

As of today (Spring 22), there isn't a true equivalent of the Flow Quick Action for List Views, per se. You can launch a Flow from List Views, however. Get the Flow's URL (you can see it when you ...
Jeff Kranz's user avatar
  • 1,997
10 votes
Accepted

Get selected records from Lightning list view custom button: URL addressable

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 ...
Shamina's user avatar
  • 4,275
9 votes

Custom List view buttons in the lightning environment

You can create a Visualforce page using the standard list controller, and define it as a list button. Refer this link: Adding Custom List Buttons using Standard List Controllers These display as ...
Christian Carter's user avatar
8 votes

Custom List view buttons in the lightning environment

This might be helpful - https://developer.salesforce.com/blogs/developer-relations/2016/09/take-the-first-steps-ways-you-can-replace-javascript-buttons.html You can create a Lightning component to ...
Nilesh Dethe's user avatar
8 votes
Accepted

Retrieve/Deploy a custom metadata type's list view?

List view fetching for custom metadata types are bit tricky. If you retrieve a List View on a Custom Setting/Custom Metdata along with the Custom Setting/Metadata object when using Metadata API ...
Pranay Jaiswal's user avatar
8 votes
Accepted

How do I create a Lightning web component that shows all the custom list views of an object?

Take a look into the lightning/uiListApi module. It has below functionality - Get list view records and metadata for a list view by API name import { LightningElement, wire } from 'lwc'; import {...
Mohith Shrivastava's user avatar
7 votes

List view filter criteria via Apex or Query or API

You can sort of do this via API and apex code, depending on what exactly you're looking for. private static String filterCriteria(String authToken, String objType, String listView){ system.debug('...
SFDC Noob's user avatar
  • 378
7 votes
Accepted

AddError on an object in a trigger is only displaying one of the errors in object list view

It's a limitation of the addError interface. You are allowed at most one record-level error and one field level error per field. Adding a subsequent error will replace the original. This is also not a ...
sfdcfox's user avatar
  • 494k
7 votes
Accepted

How to pass selected record Ids from list view to flow URL?

I figured out the issue. In the button URL I don’t need to pass any flow parameters. In the flow, I should have a collection variable called ids. You cannot use any other name other than ids. Please ...
Krishnamurthy's user avatar
6 votes
Accepted

Default ListViews in Lightning

From this Salesforce help page, the answer appears to be "no": List views display and behave differently in Lightning Experience. You don’t go to a new page to create a list view. Instead, ...
crmprogdev's user avatar
6 votes
Accepted

Create custom 'take ownership' list view button in Lightning

JavaScript buttons don't work the way you expect, and I'm pretty sure that the code you're trying to use won't work. That said, you have an alternative you can use (tested/verified). First, create a ...
sfdcfox's user avatar
  • 494k
6 votes
Accepted

How to create the list view in salesforce

You need to add a formula field to the custom object Type checkbox Is_Created_by_Running_User__c formula: CreatedById = $User.Id Then your filter in the listview is Is_Created_by_Running_User__c = ...
cropredy's user avatar
  • 71.7k
6 votes
Accepted

How to put "List View Actions in Lightning Experience" into metadata?

release notes of 44.0 API saying that lightning list view actions are mentioned in massQuickActions tag in searchLayout section of object. Example from documentation <?xml version="1.0" encoding="...
Oleksandr Berehovskyi's user avatar
6 votes
Accepted

Possible to redirect to a page that uses standardSetController from another Visualforce page?

You can't redirect in Apex, because redirects require PageReference, and PageReference doesn't support having a single query string key with multiple values. However, you can do this in JavaScript by ...
sfdcfox's user avatar
  • 494k
6 votes
Accepted

Can I use getListUi method with Related List Views?

Currently, no. That @wire adapter does not allow relative parent (flexipage record Id). On the roadmap (no ETA) is the lightning:relatedList base component, so whenever that is released we might be ...
tsalb's user avatar
  • 3,735
5 votes
Accepted

Run a mass action on multiple records in a list view

List View Buttons Not Available in LEX To Answer the statement "All my list button aren't available in lightning experience", any onclick javascript button that you have in salesforce classic will ...
Sumuga's user avatar
  • 2,149
5 votes

Default ListViews in Lightning

You can also choose a view from the dropdown next to the tab in Winter 17'. Took my team a bit to notice!
Anthony McQueen's user avatar
5 votes

List view filter criteria via Apex or Query or API

You can access the ListViewFilter via the Metadata API ListView. Unfortunately ListView isn't currently one of the Supported Metadata Types in the Apex Metadata API. The Apex Wrapper Salesforce ...
Daniel Ballinger's user avatar
5 votes
Accepted

Lightning List Vew Search Not Returning Expected Results

The difference between two searches are - List View Search (available from Winter '19) vs. Global Search. Global Search will attempt to search all those records in an Object to which the User has ...
Jayant Das's user avatar
  • 30.6k
5 votes
Accepted

I'm getting this error: LWC component's @wire target property or method threw an error during value provisioning

Welcome to SF Stack Exchange. You are likely getting this error because an error must have occurred during your wire process. From the documentation: data (Any type)—The value supplied by the adapter....
Arthlete's user avatar
  • 4,907
4 votes
Accepted

MavensMate for Sublime Text - Accessing List View Metadata

You can edit list views by opening the objects/ folder, finding the .object file that you want to modify, and finding the section of listViews elements, which describe each of your list views. You'll ...
sfdcfox's user avatar
  • 494k
4 votes

Hide/Remove "Recently viewed Accounts" list view

You cannot customize the standard tab in that way. However, you could create a custom Visualforce Tab to replace it. (1) If you want to take that route, first create the following Visualforce Page: &...
Adrian Larson's user avatar
  • 150k
4 votes

Hide/Remove "Recently viewed Accounts" list view

Without writing Visualforce to override both the Accounts Home tab and the Accounts List View, it is impossible to hide or delete this list view, as it has a standard sharing model, cannot be edited, ...
sfdcfox's user avatar
  • 494k
4 votes
Accepted

List View Naming and Visibility Control

For Permission Sets, in the System Permissions section, there is a Permission Name called "Create and Customize List Views" and one called "Manage Public List Views". For Profiles, it's the same two ...
caleb.breckon's user avatar
4 votes
Accepted

Switching one field for another in private list views

Based on my experimentation with List Views and some forum posts, you cannot do anything with private views (or even see them), regardless of your profile/permissions. Also note this help topic, which ...
Adrian Larson's user avatar
  • 150k
4 votes
Accepted

Mass Edit Profiles - Enhanced List View - Inline Editing - "TOO MANY TO DISPLAY"

You need to search for the field(s) you want to narrow down by. Use the Search box above the multi-select list. For example, if you type in Account, and click Find, you will then see things like ...
sfdcfox's user avatar
  • 494k
4 votes
Accepted

Why Salesforce REST API List View Describe Method returns extra values in columns list?

You have to check by hidden boolean field.
vladykx's user avatar
  • 386
4 votes
Accepted

How to create List View for Service Contract with only My Records?

Service Contract object list view doesn’t have the Filter by Owner option for now.However, as a workaround, you can create a custom formula field in that object with checkbox as the return type and ...
Ajay Prakash Dubey's user avatar
4 votes
Accepted

List View Quick Action

It's by design. As outlined in Set Up Mass Quick Actions: Mass quick action lets your users edit up to 200 records in a list view. You can perform mass quick actions on create and update quick ...
sfdcfox's user avatar
  • 494k
4 votes

Where is metadata for custom list view on Task?

Adding onto @sfdcfox and @DavidReed answers, you could do a direct pull of the list view with: sfdx force:source:retrieve -m ListView:Task.My_Task_List_View -u MyConnectedOrg
Brian Miller's user avatar
  • 5,222

Only top scored, non community-wiki answers of a minimum length are eligible