The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
11 views

Need help for custom controller test class

i implemented chatter check in for this blog: http://intmist.wordpress.com/2014/03/23/show-custom-visualforce-page-in-salesforce1-setup-publisher-action-and-check-in-using-salesforce1-app/ do some ...
0
votes
2answers
30 views

Creating Visualforce pageBlockTable with Custom Object / Table not Appearing

I'm having an issue where my visual force page is not showing any data. The SOQL query tool clearly shows data entered in the database, but the visual force table is not populated. Here is my ...
0
votes
1answer
28 views

actionfunction is returning null parameter value

i created a visualforce page in which actionfunction definition is <apex:actionFunction name="setAttachment" action="{!setAttachment}" > <apex:param name="attachmentBody" value=""/> ...
0
votes
1answer
43 views

Basic VF Controller test fail: NullPointerException

I have a Sites page(1) that takes either 1 or 2 parameters that directs the user to one of two pages based on a query using the first parameter. If the query returns a record with one value, a ...
1
vote
1answer
39 views

Opportunity Record Type Selection Page

I'm trying to create a visualforce page which clones the record type selection page when creating new Opportunities. I'd like the page to display opp record types based on the related account record ...
0
votes
0answers
10 views

Sites page controller untouched on repeat load; trying to prevent duplicate submission

I have created a Sites page form to accept unauthenticated input/submissions that are then associated to existing records. We provide a link to the form with an identifying parameter, which, when ...
4
votes
1answer
105 views

Unknown property

Why am I getting the following error? Unknown property Controller Extension public class CrewWorkDetailController{ public final Installation__c installation ; public ...
1
vote
1answer
52 views

how to get Field dependency in visualforce page

This is My visualforce page and Controller to get Field Dependency, Here I am Getting All the Values but Dependency is Not Working Visualforce page: <apex:pageBlockSectionItem > ...
0
votes
1answer
298 views

Uploading files with visualforce page and attached it the record row

I have a visualeforce page with a pageblocktable, and a link 'Add row' to add row, but how can I save this row as a record in my object! and attach a file to each column, for example 'Food Expenses' I ...
0
votes
1answer
75 views

VF ControllerExtension: Too many query rows: 50001 - How to solve

visualforce Extension: public class Autocompletefields_custom1 { public Autocompletefields_custom1(customreport controller) { } //Variable declaration transient public String[] ...
0
votes
1answer
75 views

ListException: List index out of bounds: 0 for Custom Employee User account

When i create new User Account and login with that credentials, it gives me this problem if admin doesnt have set thier values yet !!!** AllotmentList = [select id, Days_Remaining__c from ...
2
votes
1answer
36 views

Developing Sites page to create new custom object records; save() failing on Insufficient Privileges

I have a custom object that I want to create records for from a VF page on Sites. I am presenting a handful of input fields and a "save" button, and want to present a message when the save is ...
5
votes
2answers
123 views

Why is my visualforce wizard displaying nothing after changing page?

Building a wizard to mirror the functionality of the opportunity products wizard built in (minus an otherwise unmovable field). The first page, where the user can select from a list of products works ...
3
votes
1answer
196 views

How to create a Show/Hide Button on Contact Related List in Salesforce

-Background- Our contact related lists on the account page layout displays records with one of the following two statuses: "Active" and "Terminated". Users are being overwhelmed with the number of ...
0
votes
1answer
452 views

Testing Wrapper Class: Constructor not defined: [ClassName].<Constructor>()

I am trying to test this (uploaded to pastebin due length) wrapper class. I was trying to follow two previous SFSE's, however I am getting errors. See code below (errors in comments): @isTest public ...
1
vote
1answer
145 views

how to write custom controller for this scenario?

<apex:page standardController="account" extension="letter"> <apex:panelgroup rendered="{!account.contact.title=='CEO'}"> <b>- CEO: CEO</b> ...
5
votes
1answer
499 views

Unable to access controller class properties from extension class

I am creating a new opportunity wizard to ensure that specific data is always entered when our sales reps create a new opportunity. As part of this effort, I've also over-written the lookup window for ...
3
votes
1answer
63 views

How can I expose part of a page in response to a button click

I want a simple way in Visualforce to expose part of the page in response to a button click. This should be easy, but it is giving me more trouble than anything I've done with VF to date. After ...
1
vote
1answer
276 views

Query regarding trigger?

I am having following requirement: To get list of all the users for whom profile has been changed. Then query on FRUP (It is a custom object) to retrieve all the records which are associated with ...
5
votes
1answer
302 views

string list in custom controller not populating

I have an apex code for a visualforce page but I'm having a bit of an issue returning values from the account object which is one of the master objects in my junction object. The code below shows the ...
2
votes
2answers
906 views

Visualforce Page Form Submission not going to Custom Controller Method, Just reloading page

I have a custom controller that has been working for years (literally), and for tens of pages. Basically, the page displays a form with a number of lead fields, and when the user clicks a command ...
4
votes
1answer
3k views

Solve: System.ListException: List index out of bounds: 0

i'm getting the following exception from my code: caused by: System.ListException: List index out of bounds: 0 Class.tempsection4.getconvalues: line 38, column 1 My controller for the VF page is: ...
1
vote
1answer
2k views

VisualForce page with custom controller and lookup causing JavaScript UI issues

I noticed that I'm experiencing UI issues with every Salesforce instance that I have access to when I create a custom VisualForce page using a custom controller and that I display a lookup field on ...
2
votes
1answer
244 views

Visualforce w/ Custom Controller Not Behaving as Expected

I am trying to create a VisualForce page, with a custom controller, that displays the feed items from the chatter feed of the record provided by the user. The goal is to have the page start with ...
1
vote
1answer
744 views

Using a VF inputfield as a variable in a custom controller

I am in the process of learning APEX/VisualForce, and I'm working on a VF page that lists out all of the chatter posts from a specific record. Right now, the record that it displays the feed for is ...