The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
18 views

How to minimize the view state of the custom visual force page.

How to minimize the view state of the custom visual force page. I have a custom VF page where I have a map that contains the list of sObject names. I need to make it available on the VF page to access ...
2
votes
1answer
38 views

What is the difference between initializing properties in shorthand vs constructor?

I thought these two samples would be functionally equivalent. But they behave differently: Initializing a property in the constructor: public with sharing class LeadController { public ...
0
votes
1answer
28 views

Viewstate Issue: Unable to clear attachments if there are any failures in the transaction

I have a simple page with an inputText, inputFIle and a command button component. InputText capture a decimal value. Clicking on save, I am clearing the attachment object but lets say something else ...
0
votes
2answers
143 views

How to query more than 50k records and display in visualforce page

I have a one vf page which displays list of all records in Account object using controller and I am using pagination to show all records it is working fine. But my Account records are crossed 50k ...
0
votes
1answer
72 views

View State and Heap Size too large

I am trying to execute this Apex code but getting view state size of 196 KB and Heap size error. I tried to find where the bulk of view state is going to and it seems to be this controller. Could ...
1
vote
1answer
36 views

Share (wizard-like) state between page with controller extension and page with controller

I have a custom VF page to create new or edit records of Type CustomObject__c. Via a Linker__c object such records can be related to other OtherCustomObject__c. To create such links I have a button ...
3
votes
1answer
97 views

How to see “View State” or development mode in inline visualforce page?

I have two inline visualforce pages embedded in Account layout. I need to see the view state of the vf pages and tried to analyze the page performance and the resources it is consuming. How to see ...
2
votes
1answer
120 views

View State issue on VF page

I have a VF page where i am displaying the records from a custom object using different SOQL search statement. But when the number of record is getting more i am getting an error of View State. Which ...
2
votes
0answers
66 views

Viewstate not updated with actionFunction render?

I need to refresh viewstate on a page to show the latest query results based on user entry, but it's not working. I have an inputText on the page for the user to enter a filter value. When that ...
2
votes
1answer
67 views

Does client side pagination contributes to Visualforce view state size or governor limits?

i am using client side pagination using datatable. Does it affect my view state size and other visualforce page governor limits?
5
votes
1answer
188 views

Visualforce Page allows to modify multiple records via inlineEditSupport. How to update only records that really changed

I am displaying many (up to hundred) records on a single page and allow users to modify fields of those records using . If the user clicks the "Save" command button I only want to update those record ...
2
votes
1answer
102 views

View State Problem

I am generating a csv file. For this i am using a visualforce page and its controller. I am able to generate csv. I am not able to see the view state of this page. Please tell me a way to view the ...
3
votes
1answer
809 views

View State maintained through URL on page reload

I have delete link against the record on the visualforce page.When I click on delete link record gets deleted and then reloads the page successfully but view state is maintained in the url.I don't ...
17
votes
1answer
677 views

Why is internal view state size counted against the developer?

Why is "internal view state" counted against the developer? If I have 4k worth of data in the page view state but the VF page structure uses a myriad of nested <apex: tags, such as <apex:repeat ...
8
votes
1answer
679 views

What is the maximum view state size limit when using Winter '14 Server-side view state?

I am trying to find information about the pilot Winter '14 feature which introduces server-side view state. Unfortunately at the moment it is not much more than two sentences about the feature ...
1
vote
2answers
194 views

viewstate on a custom page with tabs

I am experience some performance issue with my custom page. I have a custom page which has a tabpanel and each tab includes a page or components. Whenever I update some of fields it sends huge view ...
1
vote
1answer
166 views

Unusually large ViewState in Sandbox - debugging?

We have a VF page that in package/dev orgs (full of data) give around 40kb View State, well within the limit of 135kb. In one sandbox, though, where the managed package is installed, the page gives a ...
11
votes
2answers
2k views

Visualforce Response Size Exceeded

I've a Visualforce page that holds a large amount of data. I've used <apex:page readOnly="true"> to avoid the viewstate limit of 135 KB. However, I use a lot of data binding that makes the ...
5
votes
2answers
876 views

Debug ViewState Problems in Force.com Sites VF Pages

We're implementing a complex web application based on force.com Sites and ran into problems with the ViewState size of one of our pages. Now on the platform I would activate Development Mode and the ...
44
votes
2answers
7k views

How to reduce a large internal view state / what is in the internal view state?

I'm building an account search page that lets users select accounts and then pass them to other pages to perform various actions on them. Unfortunately users are reporting hitting the view state ...