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

Questions tagged [list-view]

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

160 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
1 answer
201 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
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
0 answers
138 views

Is it possible to disable the 'Search this list' feature on a standard list view page?

How would I disable the 'Search this list' feature on a standard list view page?
Robs's user avatar
  • 9,366
3 votes
0 answers
1k views

"Add to Campaign" button at Contact Details Page

I'm trying to customize my contact layout and our communications department wants to have "Add to Campaign" button right at Contact Details Page Layout. I tried to add standard "Add to Campaign" ...
Mee's user avatar
  • 131
3 votes
0 answers
1k views

How can I get the selected listview id (or name) without using javascript

We have a listview button that executes javascript to obtain the currently selected listview id and passes that value to another VF page. We are planning on moving to Lightning soon and that will ...
user891859's user avatar
3 votes
0 answers
4k views

User can't edit their own list views after profile change

Strange issue encountered today: I updated a user from System Admin to a different custom profile, making sure to give them the "Create and Customize List Views" permission, but for some reason now ...
McD's user avatar
  • 1,266
2 votes
0 answers
133 views

Writing an action using LWC that accesses the records selected in a custom object tab list

LWCs that are hooked up as buttons on record pages are working fine for me with: <targets> <target>lightning__RecordAction</target> </targets> both headlessly -...
Keith C's user avatar
  • 136k
2 votes
0 answers
839 views

Guest User with Object access restriction able to retrieve data from List View with sharing 'Visible to All Users'?

Issue: We observed during a recent scan of our Customer Community that data for a custom object could be retrieved (via API GET) from the List View even though Guest User has no access to the object. ...
gutsyfella's user avatar
2 votes
0 answers
253 views

How to exclude remotely added listview from pull using .forceignore

When I run command: sfdx force:source:status I get output: Remote Add ClaimCoverage.All_ClaimCoverages ListView Remote Add ClaimCoverage....
Robs's user avatar
  • 9,366
2 votes
0 answers
889 views

List view button in Lightning

I know this is not a new thing but wanted to put some more focus on it to get working solution I need to create a "List View Button" using pure Lighting (No VF Page at all). Till now I have tried ...
Ishwar Mete's user avatar
  • 1,492
2 votes
0 answers
947 views

"Recently viewed" list views

In the Contacts tab, annoyingly, there are 2 standard list views: (1) Recently Viewed and (2) Recently Viewed CONTACTS 🤨. Most of you wouldn't have even noticed this. For list view number (2), can we ...
Shumon Saha's user avatar
  • 4,632
2 votes
0 answers
558 views

Hiding/Removing Quick Actions

I am in Lightning and I am trying to remove an option from the quick actions of a list view for Task Object. The object settings on task isn't available for me to uncheck 'Delete' option on a profile ...
abhi's user avatar
  • 109
2 votes
0 answers
2k views

Is this possible to deploy a ListView related to Queue?

Here and here it is suggested that it is not possible to deploy or migrate List View which is Queue-related. Is there any official documentation link which clearly states this that in the current ...
Patlatus's user avatar
  • 17.1k
2 votes
1 answer
835 views

Is there a way for describing a List View and determining columns within APEX (without metadata service api)?

I've been reviewing the very promising APEX Metadata Namespace in Summer '17 (API v40.0) - Release Notes (Preview) But I'm unable to find any reference for retrieving ListViews of any Object. I'm ...
VarunC's user avatar
  • 5,950
2 votes
1 answer
2k views

Visualforce lookup field with apex:inputField in LEX?

Simple story: As a sales user, I want to mass assign leads to a teammate, so I can better distribute our total workload. The constraint is that I need to do this in Lightning Experience, in which the ...
Marty C.'s user avatar
  • 4,449
2 votes
0 answers
761 views

StandardSetController on object List view: Select All

Imagine a custom object called 'Foo' which is having the normal SFDC tab displaying the SFDC OOTB list view page. From this page, you can select, create, ... different views and return a list of ...
Robin Wijnen's user avatar
2 votes
0 answers
65 views

Sort after Converting Object Name to Autonumber

We are trying to insert all of our historical quote data to a custom object "Quote". In doing so, we want to conserve the existing quote number that was generated in our legacy Access database but ...
Connor Giles's user avatar
2 votes
0 answers
453 views

How to use list view to add records to a Junction Object

I'm trying to create an apex page to allow users to multi-select objects (Property) and relate them to another object (Property Group) by populating a junction object (Property Group Member). Because ...
Bobby White's user avatar
2 votes
0 answers
97 views

List view localization in Managed Package

I know that's a very long story about localization support for list views and report, discussed for example here. But for end users there is a workaround: create the same list views with localized ...
Mike Raven's user avatar
  • 2,133
2 votes
0 answers
57 views

Get Campaign of a lead view via Metadata (or other) API

Is there any way to get the "Filter By Campaign (Optional)" part of a lead view via the metadata or any other API? I am trying to convert the metadata of a lead view into an soql query and the ...
user8246's user avatar
  • 293
2 votes
1 answer
305 views

PageBlock Table Column Value Trimming

I have used the below code to show a list view. How can I apply text trimming (ellipse) for the description column to avoid multiple? <apex:listViews type="contact"/ > Is there any CSS style ...
Learner SFDC's user avatar
2 votes
0 answers
94 views

How to create a Grant Login Users View?

I want to create a view in my Users list, so only those that I have Grant Login access to, will be displayed. I can use the: Login access Date > Today - as the filter, but how do I get the link to: ...
Saariko's user avatar
  • 5,610
2 votes
0 answers
106 views

Opening List View of a child or grand child for the specific Account from which it is accessed for mass update

The use case is to allow the user to select records presented in a list view so that the user could take some mass action on the selected records. The data model is Accounts -> Sites -> Assets For ...
Diy Seh's user avatar
  • 31
2 votes
0 answers
103 views

All and My Views in Vf Page

I have an object Application. In vf page i want to have a drop down to have values as My application and All application. Below that i have page block table which renders all application. This page ...
TestNS's user avatar
  • 1,037
2 votes
0 answers
366 views

Customer Portal: StandardSetController for Cases with filterId set to "My ..."-type of list views

I'm confused by the behavior of my StandardSetController for cases when its filterId is set to "My ..." type of list of views (e.g., "My Cases", or list views where Filter By is My Cases). As a ...
Jan Julian's user avatar
  • 2,634
1 vote
0 answers
58 views

Can't load the list view Salesforce Mobile app

I could view the list views perfectly fine when I 'Login As' the user in desktop version. However, when I use the Salesforce Mobile App, I could not seem to load the list view, it says: Looks like ...
prem22's user avatar
  • 652
1 vote
0 answers
149 views

List View inline edit changes fields not selected for update

We had a report from our users today about unexpected changes to records (custom object) that were being worked on by two users on the same team. A review of the object field history indicated that ...
Chet Seidel's user avatar
1 vote
0 answers
413 views

Different Case's Created Date fieldApiName for Case's list view

I have custom logic to create listview with filters for any object in SF using metadata api. I noticed when I try to upadate All Opened Cases listview and add filter logic CreatedDate equals TODAY (...
Pavel Zaverach's user avatar
1 vote
0 answers
33 views

Changing the filterId of ApexPages.StandardSetController is not changing the records returned

I'm writing a visualforce page with custom controller that shows a list of contact records. I want to add list view filter on the records. I have added the filter successfully using ApexPages....
Gaurav Kumar's user avatar
1 vote
1 answer
378 views

Count selected records in list view on visualforce page

I created a Visualforce page rendered as PDF, it has a concatenated header than include info from records selected, but specifically I'm trying to count total records selected. I created a class for ...
Paco Ortega's user avatar
1 vote
0 answers
296 views

How to get the Field Label from the Columns retrieved from the List view Metadata?

I have written an Metadata API from https://github.com/financialforcedev/apex-mdapi to get the List view details. Below is my code: MetadataService.MetadataPort service = MetadataServiceExamples....
Rahul Allada's user avatar
1 vote
0 answers
8k views

Filter lightning list view using current user

Is there a way to use a lightning view filter to only show records for the current user? This filter did not allow for the non-mobile Reviewer Assigned equals $User.ID results in 'The value $User.ID ...
rickmac's user avatar
  • 775
1 vote
2 answers
460 views

Lead ListView SOQL query with CampaignMember.Status fails through REST API

I'm trying to retrieve results from a Lead List View SOQL query via the REST API and found that the API always fails when the List View includes references to CampaignMember.Status. Based on the ...
Garret Meier's user avatar
1 vote
0 answers
169 views

List API name not visible while creating new list view in lightning

When I am logged in as a user of Profile A, The following fields are displayed: List Name and List API name But When I log in as a user of Profile B, the List API name is not visible. Is there any ...
Aditya Phadke's user avatar
1 vote
0 answers
109 views

How to pull metadata related to Flow Listview?

I have a Flow Listview that I'd like to add to my repository. Does anybody know what is the name of the metadata related to Flow Listview?
Saulo's user avatar
  • 957
1 vote
1 answer
849 views

How do I find all Users/Groups/Roles that have been given access to specific ListViews?

How do I Find/List/Query/Export/View all Users/Groups/Roles that have been given access to specific ListViews? I wish to remove accesss to external users. I can retrieve via SFDX CLI Here is an ...
TheArchitecta's user avatar
1 vote
0 answers
143 views

Listview from classic to Lightining

We migrated from classic to Lightning but some of the Listviews are still in classic, what is the best practice to move Listviews from classic to Lightning , any insight
Nick's user avatar
  • 7,022
1 vote
1 answer
863 views

List View Sorting

I have a list of standard list views for Opportunity, like 'All Opportunities', 'My Opportunities' etc. For some reason sorting sign for 'Opportunity Name' and 'Customer Name' is missing. Are there ...
Vira Popovych's user avatar
1 vote
1 answer
415 views

Visualforce page with custom controller to create filtered picklist and list view

I'm trying to create a public facing visualforce page that doesn't require login. Users will be able to select a campaign of a specific record type, and then select an opportunity where the Primary ...
Aaron Calderon's user avatar
1 vote
1 answer
916 views

LWC: how can i load different lwc components on a page based on a selected option on the same page

Is there a way to load different lwc components on a lightning page based on the value of a setting in another component on the same page? Without reloading the whole page? I want to create a single ...
MWHolland's user avatar
1 vote
0 answers
516 views

Opportunity List View Filter By Owner Is Null

This seems like a bug as I am not sure how this is possible...I am looking back at a saved list view for Opportunity and the Filter By Owner radio buttons are empty. Typically when creating a list ...
Olivia's user avatar
  • 3,461
1 vote
0 answers
541 views

Can't fetch recently viewed list view information for custom objects

I am trying to fetch existing list views for a custom object, I can find 'Recently viewed' list filter in custom object home page or in its standard tab. But when I query it by SOQL SELECT id, Name, ...
adnan_aust's user avatar
1 vote
1 answer
894 views

Using lightning:listview's filter as a standalone component to query records

Is it possible to use the filter logic of the lightning:listview as a standalone component to query records? I am trying to use these queried records to generate events for fullcalendar. Or another ...
Franky Jiang's user avatar
1 vote
0 answers
1k views

Lightning Flow from Contact List View

I've created a flow with a screen. The desired outcome is for a user to select a few Contact records from a List view, feed them into a flow, which will prompt the user with a screen with a lookup ...
Todd Sprinkel's user avatar
1 vote
0 answers
3k views

Retrieve from package.xml listview

I am trying to retrieve a ListView from Event object in my sandbox but I am not able to do it. I can see it perfectly on workbench website. Sharing settings are set in "All users can see this list ...
manukadi's user avatar
1 vote
1 answer
795 views

Remove Import action from Recently Viewed list view (LEX)

We have a list view that we use in our AppExchange product. Somehow Recently Viewed list view has Import button that seems broken and is useless for us - we have our own Import button! Is there a way ...
dzh's user avatar
  • 4,145
1 vote
1 answer
666 views

Metadata API -- Creating List Views throws (FIELD_INTEGRITY_EXCEPTION) when specifying Filters or Columns

I followed instructions given in https://github.com/financialforcedev/apex-mdapi to create list views in my dev org. I am trying to create List View for Accounts. I am able to create simple list ...
Kishore's user avatar
  • 11
1 vote
0 answers
238 views

what action are available in list-views

In the Lightning Experience customer default list view, there are two Actions available: Edit and Delete Is it possible to add other actions such as Clone?
Bartley's user avatar
  • 5,277
1 vote
0 answers
1k views

Behavior of List Views in Lightning - Auto Refresh feature on updation of records

We are looking for any approaches to make the list views refresh automatically to show new records that got created on backed and fall under the list view category. Seems to be out of box salesforce ...
Rajasekhar's user avatar
  • 1,601
1 vote
0 answers
80 views

Create Views with Salesforce API

Scenario: As of now i have created a custom tab with custom fields say(name and email). The custom tab was created with the primary key to be an auto-number one {0000} and hence when the tab is loaded ...
Mohan Krishnan's user avatar