Skip to main content

Questions tagged [list-view]

Use this tag when asking questions specifically related to salesforce List Views

Filter by
Sorted by
Tagged with
33 votes
2 answers
41k views

Creating a custom list-view button that handles multi-record selection

I would like to create a custom button for a list-view that applies the same action to all the selected records in the list view. For instance, in the Cases list-view there are the Change Status and ...
Joe's user avatar
  • 3,421
18 votes
1 answer
30k views

Custom List View to display VF Page

Is it possible to display a VF page for a custom list view ? From the above, instead of those list columns I want to render a VF page containing a list of cases.
Varun's user avatar
  • 3,103
15 votes
3 answers
14k views

Create a list view filter via apex

Create a list view filter via apex for a custom object that would then be available to all users. Is this even possible ? and if so please provide a code example Thanks
max's user avatar
  • 2,419
12 votes
5 answers
3k views

Download Invoice PDF's On List View without saving to Notes and Attachment as a zip file

Scenario: Am having Invoice__c Object. On the list view I have download button to download the selected invoices PDF's. What my below code is doing is it is after fetching the selected records id's of ...
mohammed azarudeen's user avatar
11 votes
2 answers
29k views

REST API List View Results - 25 record limit?

I can't seem to find this information anywhere, but it seems that Salesforce imposes a limit of 25 records to be returned from a list view results call to the REST API. Does anyone know if this is at ...
emroc's user avatar
  • 481
11 votes
1 answer
6k views

Lightning: Get list view records

How can one get ALL the records from a list view in a visualforce page running in Lightning? (Since no checkbox for selecting are available) Similar old question. With an adaptation from that ...
Jose's user avatar
  • 2,142
10 votes
2 answers
6k views

lightning component in list view button

How to use a lightning component in list view button for a contact object. I want to perform some action on bulk using my lightning component. I can't see any option. I don't want to use ...
Ashwani Kumar's user avatar
9 votes
3 answers
17k views

Can List view parameters be passed in via the URL?

Is there any pattern for passing parameters into a list view? For example if I wanted to display Tasks with a Status of "In Progress" the URL could be something like: https://na3.salesforce.com/007?...
BarCotter's user avatar
  • 12.3k
9 votes
1 answer
899 views

How to package ListViews for Custom Metadata Types?

Is there a way to package ListViews for Custom Metada Types? I can't see these ListViews when trying to add them to a package, but maybe there is a workaround?
Peter Tempfli's user avatar
8 votes
2 answers
37k views

Custom List view buttons in the lightning environment

I have a requirement where I want to have a custom list view button with an ability to perform a mass custom action in the Lightning environment. I do not see an option to add lightning quick-action ...
Darshan Chhajed's user avatar
7 votes
1 answer
27k views

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

Actually, I know how to show a screen flow in custom action but wanted to know - Is there any mean to show a screen flow as a list view button? and if yes then how? Thanks in advance.
Amit Kumar's user avatar
7 votes
2 answers
17k views

Hide/Remove "Recently viewed Accounts" list view

Is it possible to hide the recently viewed accounts list view (drop down) from my users? I am referring to the "Recently viewed accounts" view in the picklist on the account landing page. It really ...
Lily's user avatar
  • 1,375
7 votes
2 answers
7k views

How to add the quick action on lightning List view Record page?

I have a object and i create a list button on object to delete the all records on click on button and add that button on record list view page, somehow that is working fine in salesforce classic but ...
SFDC_USER's user avatar
  • 124
7 votes
1 answer
12k views

List view button to launch a flow in modal (pop up) window - is it possible?

I would like to have a list view button that goes to a URL that starts a flow. However, if the URL is just the link to the flow (for example, "/flow/<flow_name>"), the user is ...
bonzi's user avatar
  • 155
7 votes
2 answers
94 views

Standard opportuny list and governor limit

This may be a simple question. I am trying to bulk update user selected opportunities. I was thinking of following a technique similar to the example in the online docs : "Mass-Updating Records with a ...
user2307472's user avatar
6 votes
3 answers
8k views

New button does not appear on the list view in Salesforce1

I have started using salesforce1 app.I have full access to both Account and Opportunity objects.However,I can see new button on the list view page of Account but not on the Opportunity list view page,...
codebandit's user avatar
  • 1,773
5 votes
2 answers
9k views

List view filter criteria via Apex or Query or API

Is there any way we can get ListView Filter criteria using API or APEX or SOQL.
David Mycka's user avatar
  • 1,317
5 votes
3 answers
21k views

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

I am trying to select records from list view custom button. I want to pass the selected record ids in the paramaters. I tried the below and its not working for me. /lightning/cmp/c__TestURLfor?...
pragii's user avatar
  • 65
5 votes
3 answers
9k views

Customize "Recently Viewed" list views

I have been asked to customize the generic "Recently Viewed [object]" list views that are present for Salesforce objects (note: I do not mean the [object] Tab Search Layout.) The only problem is that ...
Mike Chale's user avatar
  • 13.4k
5 votes
1 answer
5k views

Lightning List Vew Search Not Returning Expected Results

I had finished migrating contacts from an old system to SalesForce, and upon having the data load checked, I got reports that the count of contacts was very low. The users were using the search this ...
HungryBeagle's user avatar
5 votes
1 answer
1k views

Parsing ListViews columns from the Metadata API

I am trying to parse ListViews from the Metadata API to try to show the content I have locally. The documentation I found explains some of the fields, but not in details. For example take a simple ...
Jonas Schmid's user avatar
5 votes
1 answer
2k views

Default records per page on listviews

There seems to be an inconsistency in the default number of record per page on standard SFDC listviews. On one particular production org, I see that when I am logged in with a sys admin profile, the ...
hamayoun's user avatar
  • 2,777
5 votes
2 answers
2k views

How to re-order standard and link buttons in object list view?

I would like to re-order the buttons in the Case list view. Where: Change Owner - standard New - standard Create New Enquiry - Link Button Here's the settings from Search layout: My initial ...
Carl Ortiz's user avatar
5 votes
1 answer
630 views

What is `IsSoqlCompatible` field of ListView being used for?

From the ListView Object documentation - link - there is a mention that: IsSoqlCompatible Description Whether the list view can be used with SOQL.. But, I found no reference in APEX SOQL Query ...
VarunC's user avatar
  • 5,980
5 votes
3 answers
14k views

How to remove buttons on List View for Community?

We don't want to let our community users to use some custom buttons. Is there a way to hide or remove custom buttons on List View for Community?
Jestilla Zetkin's user avatar
5 votes
1 answer
821 views

How to make sure an apex:enhancedList component displays checkboxes?

I use an apex:enhancedList component on a custom VF page and I want to make sure it always displays checkboxes in the left column, to enable selection of records. Unfortunately the checkboxes do not ...
Jelle van Geuns's user avatar
5 votes
2 answers
5k views

How do I control recursive Triggers with static variables and permit Mass Edit from List View

I have a pretty complicated issue with users mass editing record from the Enhanced list View and using static methods to control the flow of recursive triggers. In case you are not familiar, due to ...
Jay-Nicolas Hackleman's user avatar
5 votes
1 answer
203 views

Why the Sorting Logic in Salesforce SOQL and UI is VERY different from other Systems?

The ordering mechanisms in Salesforce are really odd. Take any SObject having any Text field (e.g. Name on Account) and create some Records. Do that on an Org with no other Records of the type (e.g. a ...
Uwe Heim's user avatar
  • 28.4k
4 votes
4 answers
23k views

Calling Apex Class from Custom Button, And Then Refreshing List View

I have added a Custom Button to the List View of the Custom Object. What is the best practice of calling an Apex Class on click of the Custom Button, and refresh the List View after execution of the ...
Shumon Saha's user avatar
  • 4,632
4 votes
3 answers
11k views

Default ListViews in Lightning

Is there a way to give a profile a different default list view then "Recently Viewed" in Lightning?
ZRich's user avatar
  • 57
4 votes
2 answers
27k views

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

I'm trying to deploy a list view for a custom metadata type using the Force.com Migration Tool, but I am unable to locate the ListView to include in my package.xml retrieve. I have deployed many ...
Brent Bowers's user avatar
  • 3,144
4 votes
3 answers
92 views

Switching one field for another in private list views

We have a formula field that we want to change to a text field. We know we can't do this directly, so we need to create a new text field, then we'd remove the formula field. What we'd like to do is ...
Scott Wilson's user avatar
4 votes
1 answer
8k views

Run a mass action on multiple records in a list view

According to the new release (Winter '17) is available run mass action on multiples records, but anyone how do it? All my list button aren't available in lightning experience
Carlos Iribar's user avatar
4 votes
1 answer
7k views

The CORRECT way to redirect to a ListView from StandardSetController?

From a List Button or Visualforce Page, I wanna redirect to a ListView after. Common, right? Life is great when we're dealing with Standard Controller: using view() method. What is the correct, ...
Matt and Neil's user avatar
4 votes
1 answer
14k views

How can I query ListView records that were created by users?

When logging in as a user I can see that they have ListView's that I can't find programatically (I'm a System Administrator). Using the Id of the ListView in the URL when logging in as that user, I ...
Shmuel Kamensky's user avatar
4 votes
1 answer
184 views

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

When I try to execute this request GET /vXX.X/sobjects/{sobjectType}/listviews/{queryLocator}/describe which is described in documentation https://developer.salesforce.com/docs/atlas.en-us.api_rest....
Patlatus's user avatar
  • 17.2k
4 votes
2 answers
7k views

unable to delete listview

I am trying to delete a user's list views that they created. The user no longer wants the list view. I've logged in as the user via grant login access and I go to the list views and the only option is ...
Dman100's user avatar
  • 2,445
4 votes
1 answer
2k views

How do I pass the selected list to a lightning component via URLFOR

You can now launch a lightning component from a list view button using the URLFOR() function with a lightning component that implements the lightning:isUrlAddressable interface. As part of the URLFOR()...
Dave Roberts's user avatar
4 votes
1 answer
172 views

List view error 1796249105-372943 (614379870) in Lightning Winter '19

Since the Winter '19 release, we have been seeing the following Salesforce error when trying to run some list views in lightning. It happens for either custom objects or standard objects. A ...
joaniej's user avatar
  • 61
4 votes
1 answer
895 views

Custom button on list view

I am trying to build a button in the list view to: Change case ownership to the current user Change the case status to work in progress I have the following code in the detail page that works fine: ...
Nico1969's user avatar
4 votes
1 answer
2k views

custom button visibility list view

I have addded a custom button to list views in the Contact object. I have multiple list views but I just need to show the custom button in some of the list views and it should be hidden in the ...
Chicho's user avatar
  • 485
4 votes
0 answers
1k views

Is there any way to deploy list views for custom settings through Metadata API?

Currently trying to deploy a list view created for custom settings through the 'Manage' button through the Metadata API. <?xml version="1.0" encoding="UTF-8"?> <CustomObject xmlns="http://...
Aislinn Hayes's user avatar
3 votes
3 answers
5k views

Remove buttons from Listview in VisualForce Page

I created this page and put it into an iframe on the Salesforce homepage. Is there anyway I can hide these buttons at the top? I have no problem with it being there except that when I click new case ...
user988's user avatar
  • 707
3 votes
1 answer
6k views

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

I'm asked to create a web component that shows the records of a custom listview when selected from a picklist just like in object tab. It should also have all the filters that I initially gave when ...
Santosh's user avatar
  • 73
3 votes
3 answers
6k views

Where is metadata for custom list view on Task?

I have created a custom list view on Task. In Workbench it is displayed under Task within metadata type 'ListView'. When I pull my metadata using API v43 I can't find the xml definition for it ...
MikeA's user avatar
  • 1,105
3 votes
1 answer
2k views

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

I have a trigger on an object, and in that trigger I am doing the following: List<ApexPages.Message> msgs = RecordValidator.isValidRecord(thisObj, criteria, matchingObjectUnionList.values()); ...
Tyler Dahle's user avatar
  • 2,719
3 votes
2 answers
3k views

How to get "id" of an enhanced list view?

Please provide some idea on the below queries, How many ways we can get an id for an enhanced list view other than from a standard view?. If we need to create an enhanced list view for a custom ...
vedakri's user avatar
  • 94
3 votes
4 answers
12k views

How to place a Custom Button on list view (Lightning)

I have created a Lightning Quick Action with a custom aura component to do some async processing over all records. But I cannot find a way to place that button on List View in lightning. I have read ...
Nagendra Singh's user avatar
3 votes
1 answer
2k views

Create custom 'take ownership' list view button in Lightning

I am trying to create a custom 'take ownership' for Case list view in Lightning. I took the classic Javascript button (from @sfdcfox answer to this question - Custom button on list view), and ...
iDog's user avatar
  • 484
3 votes
3 answers
3k views

Replace SObject list view with custom Lightning page

You can use a Lightning record page to replace the view for a single SObject in the Lightning Record Page option in setup. How do I do that for the list view?
Nathan Hinchey's user avatar

1
2 3 4 5
10