Visualforce is Salesforce.com's HTML template technology, allowing dynamic creation of web pages (as well as other files) utilising Apex logic and SOQL queries to replace merge fields with content.

learn more… | top users | synonyms (2)

2
votes
0answers
10 views

Pagination used with limit-offset having problem in page specific validation rule evaluation

I'm using a pagination with soql limit-offset to display a list of records in a pageblocktable. there is a custom validation rule defined, if same product name is used twice it will get restricted. ...
2
votes
1answer
23 views

How do I use checkboxes on related lists?

I understand how to enable the checkboxes on related list items; what I'm unclear of is how to determine in an Apex controller which items were checked. Inspecting the HTTP request made to the Apex ...
0
votes
0answers
20 views

Return SOQL for current record on Visualforce Email

I'm going to have to write a custom controller for a Visualforce email to pull back details for the contract where my "send email" button will be hosted. My relatedtotype is the Account object (has to ...
0
votes
0answers
14 views

Custom Button doesn't work in my Custom Object profile

I've attached a custom button to my custom object page layout, that redirects the user in a visualforce page, but when I log in, as a particular user, The system redirects me to an error page that ...
0
votes
0answers
11 views

Get XML data into visualforce page using XML parsing [on hold]

<Orders> <OrderID>3401</OrderID> <AddressValidated>Y</AddressValidated> <OrderDetails> <OrderDetailID>2584</OrderDetailID> ...
6
votes
0answers
19 views

Create a visual force Component with tags that require form to be used in page within form tags

I have run into a dilemma where I have a bunch of VF page markup and code that is to be used on Two different VF pages. I would like to put all of this code, javascript, etc into a component so it is ...
2
votes
1answer
24 views

VFRemote.js non-uglified/minified

Has anyone got (or know how to get hold of) a copy of the VFRmote.js in a non-uglified/minified state? I have, several times, had to debug the JavaScript remoting and run into issues since this is ...
0
votes
1answer
14 views

Breaking out of nested loop without repeated data

I'm trying to loop through 3 nested loop. To retrieve product Id, I need the first outer loop. To retrieve the specific product based on the product Id, I need the second loop. Finally the last loop ...
2
votes
1answer
17 views

Dynamic Filter to query from visualforce chart

I have one requirement. I have to create dynamic report on task object, dynamic in the sense i have to get users name in a drop down list and if i select any user and click on "get report" I should ...
0
votes
0answers
20 views

Passing lookup field value to Standard controller

Am stuck and unable to understand how shall i pass the lookup field value to controller. I am using get set,but it dint show any variable value in logs for the lookupfield ? Am stuck and not sure what ...
0
votes
1answer
8 views

Partner user access to Flow linked from VF

I have a Flow I've created and I want to reference it on a super simple Visualforce page. I created a custom controller to allow me access to the the current User's Account ID. This page is something ...
1
vote
1answer
16 views

How to use ActionSupport, ActionREgion, ActionFunction all together

I have a requirement, where I have a dropdown fiter. On change of dropdown value, Pageblocktable will be updated. Dropdown field has no Button to excute the event, so it has to be ActionFunction. ...
0
votes
1answer
13 views

Redirecting to external site from the value from url field

I am fetching the value of wesite field from account i want to redirect to site when user clicks on the link. But am not redirected to the external url instead of that salesforce is appending its org ...
2
votes
1answer
55 views

Extension or Custom Controller?

I have a requirement, where I have to create a new custom VF page. Below image shown, is similar to my requirement. I want to build a page like below. When I will click New button, below page should ...
0
votes
0answers
13 views

VisualForce charting for percentage

I'm displaying a VF pie chart whose data is coming from an object. I need to display the percentage values along with the field's value. This percentage should display how much of the total area of ...
1
vote
3answers
51 views

Detail of Page A Repeating on VF Page w/ Custom Object A Sibling Object Records B on Visualforce Page

I have a custom object "Success__c" that I am attempting to create a visualforce page for. I would like to have the parent (MD relationship via account__c) Account fields on the page, as well as the ...
1
vote
0answers
15 views

Sign in Native App after launching from Salesforce 1

I am launching a native iOS app from Salesforce 1. I am trying to see if there is a way to sign the user into the app with without having to login. I am seeing if it is possible to pass information ...
1
vote
2answers
37 views

Best Practice for Automatically Setting Name Field on Object with Trigger

I plan on setting the Name field on an object automatically. I will be using a trigger Before Update/Insert to concatenate a few fields into the Name field. The problem is that, by default, ...
1
vote
2answers
26 views

Jquery - <apex:form> unexpected behaviour

I've this snippet of code, pretty working. But trying to delete the comments between <apex:form> , I notice an unexpected behaviour : the page reloads when I click any button, making it ...
1
vote
0answers
29 views

allow user to select columns from data table on visualforce page

We have lots of visualforce pages where we display search result to user in a data table. These data tables have large number of columns. We need to provide user functionality so that they can select ...
0
votes
2answers
25 views

Apex error Message doesn't appear on error condition

I have a save method like this, that will prompt on some error condition : public void Save() { lstAcct1.clear(); for(Integer j = 0;j<records.size();j++) { if ...
0
votes
1answer
25 views

How to get the selected records from the related list?

I have custom object and which is a lookup to Quote. 1)I have created a "MassEdit" list button on the related list (Child object). 2) I am unable to retrieve the records (Child records) from the ...
0
votes
1answer
36 views

Refresh whole visualforce page on Save Method

I have a visualforce page with an apex:component in it. (This component is for headers, used in various other places). The component has an outputLink with actionSupport. OnClick of this Link, I have ...
1
vote
2answers
36 views

Can I get the mini layout hover to appear on any link, like it does for outputField for a lookup field?

I am trying to get the <apex:outputField> works as it works for a lookup field, which is a link pointing to the object and when you hover on it, it pops up with a dialog of the object info. ...
5
votes
2answers
24 views

How to add an attribute name in HTML within Visualforce?

I have the following html that I"m trying to input into visualforce. The challenge is that I have attributes within the tags and I get the below error. I'm having trouble getting this in the correct ...
0
votes
0answers
16 views

Field formats lost when using action region and output panels

My problem is I need to wrap a label and it's field inside an output panel in order to show / hide BOTH the field and the label dynamically. Doing so causes the field / label to lose formatting with ...
0
votes
1answer
21 views

Rerender not firing if required fields are empty

I have a Checkbox which dynamically rerenders a field (field is not shown if checkbox is false). Here is the code: <apex:inputField id="IsPaidPd" value="{!Consultant_Request__c.Is_Paid_PD__c}" ...
0
votes
0answers
30 views

Insert record from custom object

I am trying to insert a record on a child object (Idea_Comments__c) of the standard controller object (Idea_Lobby__c). After insertion, I would also like it forward to a VF page. So far, I have not ...
0
votes
1answer
26 views

Using Bootstrap with Visualforce Lookup field

I'm using a prefixed version of Bootstrap to create a Visualforce page where you will lookup a User with a jQuery autocomplete component. The component autohides the SF standard lookup features. I'm ...
0
votes
0answers
33 views

how to get the related records of the child (custom object) from parent record (Quote Object)

I have a custom object as "Compitetor" ,which has a lookup relation to "QUOTE " object.So created a "list button "for the custom object ,using the standard controller. 1)Now im unable to get the ...
0
votes
1answer
17 views

Action support rerender not showing Outputpanel

Switching between Radio Option should show and hide Outputpanel. I got this working with following code: <apex:selectRadio id="benefitradioid" required="True" value="{!selectedTargetBenefit}" ...
0
votes
0answers
12 views

Cannot see visualforce page in the content source drop down

I have created a visualforce page but can't see it in the content source drop down when creating New list Button for a custom object . Please help!.
0
votes
1answer
24 views

Date field on VF chart

I have created a combinational VF line chart. The values on the chart is plotted from a custom object "Profile__c" which has a lookup on Contact. I have created a select list on my page which is ...
0
votes
1answer
30 views

Form not inserting new record

I have a form on my vf page: <apex:form id="submitComment"> <apex:pageBlock mode="edit"> <apex:pageBlockButtons location="bottom"> <apex:commandButton ...
1
vote
1answer
24 views

Metadata API WSDL Import errror

I'm trying to import metadata wsdl in my dev org, i'm getting following error any help? Apex Generation Failed Unsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType Also I'm looking to ...
0
votes
1answer
46 views

Insert records from a CSV file to saleforce object- Using Visualforce and apex

For example: I have cvs file with account object records . if i uploaded cvs file (in vf page need to create attachment button which takes cvs file and need to create uploadFile button which stores ...
0
votes
1answer
9 views

How does the EDIT ALL button works in quotelineitem object

Can any one help me out.How does the EDIT ALL button works in quotelineitem object .When we click on the "EDIT ALL" button it gives the available records present to Edit and Save.Im in a similar ...
1
vote
0answers
30 views

Skip/bypass approval process

I want to skip/bypass an approval process by using some other VF page/apex class/trigger, is it possible ? what kind of framework should I think of ? Basically I want the record to be editable, even ...
0
votes
1answer
15 views

ActionSupport not updating select list

I have a lookup field and a select list. After selection of a record on the lookup field, a select list should be populated. My updatingAddressOptions() method is called but my getAddressOptions() is ...
0
votes
1answer
24 views

List Comments based on visualforce page ID

I have a visualforce detail page that utilizes a link like: https://org-developer-edition.na17.force.com/MyCommunity/Page_Detail?id=a00o0000007FxHjSSK I am trying to construct a controller that would ...
-1
votes
1answer
21 views

Action is not working

VF Page <apex:page controller="ContactsListController"> <apex:form> <apex:pageBlock> <!-- Contacts List --> ...
0
votes
0answers
19 views

The values in the commandlink are not displaying on vfpage

<apex:pageblocktable value="{!students}" var="student"> <apex:column > <apex:facet name="Header"> <apex:commandlink value="Name" action="{!toggleSort}" ...
-1
votes
1answer
19 views

Error: QuoteContentController Compile Error: Invalid identifier: gmod__Product at line 56 column 21

I have created a vf page on "Quote" object .Now i would like to get the fields of custom object "OpportunityForecast" API name as gmod__Opportunity_Forecast__c . This custom object does not have any ...
-1
votes
1answer
39 views

Trouble constructing dynamic SOQL using LIKE expression - not getting results [closed]

soql = 'select name, student_id__c, qualification__c, email__c from name__c where name LIKE :'+String.escapeSingleQuotes(studentName)+'%'; This query is not executing.
0
votes
2answers
17 views

Error: Unknown property 'QuoteContentController.wrapperclass.StudentDOB__c'

I have created a vf page on "Quote" object .Now i would like to get the fields of custom object "Student" API name as Student__c . This custom object does not have any relation ship with quote object ...
1
vote
1answer
16 views

Save Commanbutton errors out on hitting twice :System.ListException: Before Insert or Upsert list must not have two identically equal elements

I have a visualforce page, embedded in standard pagelayout of Account, that displays a list in peblocktable and can be inline edited. while hitting the Save button, it updates records and rerenders ...
2
votes
1answer
38 views

Difference in the PDF generatedby browser and one generated and attached from code

I have a situation where i have a VF page which is generated as pdf from opportunity record and this needs to create a record in a custom object attach the pdf to the custom objects notes and ...
1
vote
1answer
18 views

How to make managed packages available for users other than developer edition or sandbox

I have created a managed package. Right now it can only be installed if the user has Developer Edition or Sandbox accounts, How can i make it available for the professional or other accounts as well?
1
vote
1answer
26 views

Validation Error in New Flow

I have created a flow in which a record update takes place. I get the following error message and I cannot understand why I am getting it, as I am not updating this field. ERRORS : ...
1
vote
0answers
21 views

Custom extension for form

I have a detail page that has two buttons: <apex:form > <apex:commandButton styleclass="btn-lg btn-data" value="Vote Up"/> <apex:commandButton ...