StandardSetController objects allow you to create list controllers similar to, or as extensions of, the pre-built Visualforce list controllers provided by Salesforce.

learn more… | top users | synonyms

2
votes
1answer
85 views

Visualforce dynamic binding

I have this page: <apex:page controller="mycontroller"> <apex:pageBlock > <apex:pageblocktable value="{!sc2.records}" var="test"> <!--<apex:pageblocktable ...
1
vote
2answers
32 views

External Entry Point Issue - Any Suggestion/Solution

Here is my Class public with sharing class MassDeleteLeadController { public MassDeleteLeadController (ApexPages.StandardSetController controller) { currentStep = '1'; ...
2
votes
1answer
59 views

Run a standard set controller extension from execute anonymous

I am trying to run a standard set controller extension from execute anonymous for the purpose of debugging, however I keep getting "Internal Salesforce.com error". I have narrowed down the offending ...
2
votes
2answers
122 views

Standardsetcontroller methods first(),last(),next() and previous() not working

Hi I am trying to implement sorting and pagination in visualforce. I am using the standardsetcontroller but for some reason the standardsetcontroller methods do not fire the actions when clicked on. ...
0
votes
2answers
110 views

How to pass value of selectoption to the standardsetcontroller

I have a selectoption and I am trying to pass the value of the itemValue attribute to the standardsetcontroller in order to return query results based on the itemValue. I have the default selection ...
2
votes
1answer
124 views

Peculiar StandardSetController Issue with Test Class

Currently I have a test method that is proving to be quite difficult to test. I currently have a controller extentsion that is used for a custom list view button. The test code gets almost every ...
4
votes
1answer
551 views

Can you use a ListView filter with a StandardSetController without a custom controller or extension?

I have a Visualforce page using a Standard Set Controller, and I'm trying to set the filter ID without using an element on the page and without using a customer controller or extension. Based on an ...
3
votes
1answer
147 views

Save Records in Salesforce using setcontroller

I am using salesforce standard set controller and displaying 4 records a page, I have input fields where i entering values and i wanted to save records on save button clicked. I want to create a ...
1
vote
0answers
150 views

Initiate ApexPage.StandardSetController with List causes exception being thrown in later pagination calls

I have a Paginated List displayed on the visual force page and in the backend I was using a StandardSetController to control the pagination. However, one column on the table is an aggregated field ...
1
vote
2answers
600 views

Clicking next button with Standard Set Controller throws VF Exception when edited records not saved

On MVP Office Hours (For those interested, the success community group is here: https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F9300000001oXH), there was a question ...
2
votes
2answers
3k views

Visualforce page for multiple record creation

I want a VF page that would aid creating multiple child records for selected IDs. As an example, I would start from Account, select 5 or 7 Contacts, click a button which would take me to a custom VF ...
2
votes
1answer
108 views

Using StandardSetController in APEX Web Service

I have created an APEX REST web service and tried to use StandardSetController in order to retrieve objects for some list view. My idea was to use this built in list view functionality for objects ...
0
votes
2answers
1k views

How to display 1 lakh records with pagination in visualforce page

I have 100000 records in my database I am unable get records by soql I am getting governor limit error Any guys give me code example with pagination Thanks in advance
6
votes
1answer
486 views

Use StandardSetController for edit

I am trying to use the StandardSetController to update set of records. the code below was using StandardController to update just a single record. I want to use List for the Case object to iterate ...
2
votes
2answers
634 views

Passing Quote list to StandardSetController, not grabbing quote ID and returns null

QuoteLineItem tempQLI = [SELECT QuoteID FROM QuoteLineItem WHERE Discountable__c='YES' Limit 1]; String quoteId = tempQLI.quoteId; Quote newtestQuote = [SELECT ID ...
2
votes
1answer
497 views

Setting filterId in ApexStandardSetController

I am trying to filter the records based on the selected list view in batch apex. But it fetches all the records and does not apply the filter even though i have used setFilterId String query ...
3
votes
1answer
792 views

Pagination using standardset controller and ability to remove rows from list

I have a list of accounts and i need to also have a ability to remove records from this list. Now this list sometimes gets in a lot of records which causes the page to reach the heap size limit. To ...
3
votes
1answer
2k views

custom list view that allows new filter parameters

I'm looking to create a VF page with a list of records and dynamic filter criteria. The user needs to be able to filter the records based on various criteria and also save those filters for future ...
2
votes
0answers
156 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 ...
4
votes
1answer
2k views

How to I get a test class working for a standardsetcontroller that bases off one record

I have a difficult issue because I have essentially a standardcontroller that runs off the current opportunity but it needs to be used via a relatedlist button on a custom object so it has to be a ...
1
vote
1answer
259 views

Cannot use StandardSetController with ContentVersion?

I am trying to display a list of documents stored in Salesforce CRM Content on a VF page using JQGrid. I used OFFSET for paging. Since the number of records is more than 2000, I wanted to use ...
2
votes
2answers
232 views

Check whether an object is in a standardsetcontroller

If I have a StandardSetController and an object ID, is there a way to check whether the object would be included in the StandardSetController, short of looping through all of its objects? Best ...
1
vote
1answer
271 views

Visualforce page throws error if refreshed after a while

I have built a customer portal using Force.com sites. All of the UI is custom built using VF pages with apex controllers. I am displaying some records using pagination with the standard set ...
5
votes
1answer
206 views

Display bookmark link on detail page to inline VF page

How can I display an inline visualforce page on a page layout and have Salesforce generate the bookmark link at the top of the detail page, like it does for related lists? Currently, I can do this ...
8
votes
1answer
3k views

StandardSetController List Instatiation and setFilterId

I'm having an issue using a List to instantiate the StandardSetController and applying a list view filter id. Here's an example of using a List for instantiation as detailed at ...
4
votes
2answers
1k views

Apply List Views to large pagination sets

I want to apply a list view to a standard set controller (only way to apply is a list view is the standard set controller) If the my query returns the maximum number of rows in a SOQL query: 10000 ...
3
votes
1answer
293 views

List controllers are not supported for Profile

Is there a workaround for "List controllers are not supported for Profile" error in visualforce page? Am creating a simple visualforce page to display the profiles in a data table with the pagination ...