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)

0
votes
1answer
14 views

Action method not working after error message in visualforce page

Hi I have the following code. If the Account Name is equal to Mukesh,error message is shown on clicking save button.But when I correct the Account Name to some other Account Name,the record is not ...
0
votes
2answers
16 views

System.QueryException: List has no rows for assignment

I've read a lot of answered questions about this error but I can't seem to resolve it. I would very much appriciate any help. I am trying to test my Extension Controller from a SF Page but I keep ...
0
votes
0answers
14 views

Site goes “Under Construction” or “Unauthorized” until Page is Viewed Internally with “/apex/…”

I have been experiencing very odd Site behavior the past 3 days. Whenever a Change Set is deployed with Controllers/VF Pages used in the Site or even at other "random" times, users are redirected to ...
0
votes
2answers
28 views

Prepopulate fields on visualforce page from a button on another VF page

I have two vf page one for account another is for opportunity. on Account page there is a button name New Opportunity , i want to pre populate some of the account fields on opportunity VF page. ...
1
vote
1answer
13 views

Rendered Special characters romanian in PDF

I am creating a PDF using Visualforce Dynamic components where i show data from Map Object. This data contains text a Romanian Language with special characters such as ă,ș,ț... This data gets ...
-1
votes
0answers
9 views

the logo with email template from controller [on hold]

Here one problem.. am sending email tempalte from controller to contact. but the logo(field) saved in account object. but the mail is sent to given mail id. but the logo will not be dispalyed in email ...
0
votes
1answer
21 views

Convert picklist and dependent picklist to multiselect picklists in visualforce page

I want to convert picklist and dependent pick list in to two multipick lists in visualforce page for selecting multiple values for searching purpose. When I select multiple values in first ...
2
votes
1answer
9 views

How to send an outbound message to endpoint URL when an attachment is created on case object?

I want to send an outbound message to external url when a new attachment is created on case object, please help me this. Thanks in Advance...
2
votes
2answers
47 views

Visualforce Help - Field Arrangement

I would like to place my picklist field "Overview_Status__c" on the top right next to my "Save" button, but I'm unsuccessful. Click on the link for a visual. Thanks for helping. My VF code: ...
0
votes
1answer
9 views

Query Routing Addresses Email2Case.? [on hold]

I need to query Routing Email address in Email to Case and show in From Address list(Select List) on a VF page.? Is there a way we can query those.? Please help its urgent.
1
vote
0answers
13 views

Penguin - UI Framework [on hold]

Has anyone used the UI Framework Penguin in visualforce development? How is it, compared to others like bootstrap? Let me know. Thanks.
0
votes
1answer
50 views

Help Writing a Test Class [on hold]

I've created a Visualforce page and a custom controller to use with it. Not being a developer, this was a heck of an exercise for me! Anyway, as you may have guessed, my class failed the validation ...
0
votes
3answers
26 views

Displaying Record/Fields on VF Page Load

On the load of a VF page, I want to query for a record and then display certain fields from that record on the page. Controller: public with sharing class SS_ObjectController { public ...
1
vote
1answer
23 views

Forcing specific fields to be visible based on other fields' value

I am attempting to have my users answer several questions, and then having certain fields be visible or invisible based upon their answers to those questions. One great solution I have been given ...
0
votes
1answer
21 views

How to insert a record using table?

I have a table of 3 rows and 3 columns in which the data I enter should be saved in the account object. But what I am facing is , only the 3rd row data is inserted not the first two. My controller ...
-3
votes
0answers
14 views

hi,I want to save the account records in account object..but in the last row records only inserted in account object [duplicate]

apex class: public class accountcontroller{ public account acc{get;set;} public accountcontroller(){ acc= new account(); } public PageReference insertNewItem() { insert acc; //reset public ...
0
votes
0answers
18 views

Integration.js failing with addeventlistener

AddeventLisener is not working as expected. I have code like this For firing event I am using following in one vf page say A.vfp function FireHeaderRefreshEvent() { $j.logMsgCLS('Header ...
0
votes
3answers
41 views

What exactly the getter and setter method does? [duplicate]

How and why getter adn setter methods are used in apex? For Ex: What does this line of code does? Public String companyname{get;set;} And where in your code these methods be ideally used?
0
votes
0answers
10 views

We have encountered an issue in Amount calculation when of user has locale Hungry(Hungarian) in salesforce

We have a field named as Amount of type Currency(16, 2) on an sObject, User who is viewing this value on Visulaforce Page has locale Hungarian(Hungry), on Visulaforce Page it displays space as ...
0
votes
0answers
9 views

Integration of a check box within a custom modal window

I have written the following code in a visualfroce page under a script tag. Now within the alert I want to integrate a checkbox as well as pass its value in the remote action method. Is it possible to ...
1
vote
1answer
26 views

Is it possible to insert a visual force page in the custom object layout?

Public Class SalesOrderLayoutCom{ public List<Sales_Order__c> OrderIdList{get;set;} public List<Sales_Order__c> oppIdList{get;set;} Public SalesOrderLayoutCom() ...
0
votes
1answer
31 views

Visualforce - Dynamically Change tab color

I have a VF page with 2 tabs (apex:tabpanel). Each tab has status field with picklist value "In progress" or "Completed". When the status is "In progress," I would like the tab color to be red and ...
0
votes
1answer
25 views

How can i show multiple object records in listview

I have 3 unrelated objects like obj1, obj2, obj3. I need to display these three object records in listview based on created date. How can i do this..?
0
votes
0answers
10 views

Create tabpanel inside tabpanel in Visualforce Page

I am developing UI in Visualforce page. I need to develop Tab inside the tabpanel. Child tabs of tabpanel is not working . Hierarchy is - ParentTabPanel > Another Tab panel in one of tab > 3rd tab ...
2
votes
3answers
36 views

Format string padding

I am taking an object and putting some attributes in a picklist. I want to format the string so that is has some padding. for ( Course_Detail__c c : courses ) { string temp = ...
0
votes
1answer
44 views

How to insert a data into an custom object in list/array type

I want it to be like this. Example: ProntoEvents_Attendee__c:{Attendee_Name__c=qwe, Email_Address__c=qwe@gmail.com, Title__c=qwe, Company__c=qwe, Dietary_Requirements__c=qwe, Comments__c=qwe}, ...
1
vote
0answers
32 views

visualforce apex tag JS error when selecting picklist

Anyone have already encounter this issue? Error will occur if you select the any of the picklist. Any other way to fix the issue? VisualForce Page <apex:page showheader="false" sidebar="false" ...
1
vote
1answer
29 views

jQuery If statement not rendering [on hold]

Trying to add a condition to this jQuery so that if a checkbox is selected and then selection is removed, the selection class will be removed but it isn't working. What am I missing please? j$ = ...
1
vote
0answers
9 views

Rendering flow:interview

I'm having a strange issue where a quite simple re-render of an output panel containing a flow is causing the flow to render without the standard "Next" button" The flow screen renders with the input ...
0
votes
3answers
51 views

How to give a alert when we select a value from pick list?"

I have a pick list called System Size(System_Size_SUB_2013__c). When I select an value from pick list I want to give an alert to the user. (Only for a One value, Not all of them). Any idea? Thanks ...
1
vote
2answers
16 views

Trim first character if it equals to 3 in apex outputtext

I was wondering if there's an inline code to solve this. I'm placing an apex outputtext on a visualforce page but I want to remove the first character if that first character equals to three. Any ...
0
votes
0answers
12 views

RelatedList Hovers Disappear

I have an apex:detail tag that is getting rerendered after a javascript remoting action successfully completes. The rerender works and the updated related lists/fields are updated and display ...
1
vote
1answer
25 views

How to pass values between two components

In a VF page, I have two i.e. A and B.In first component,there is a search box. Second component will display data type in first component search box. So How can I pass data between these two ...
0
votes
1answer
14 views

How can I choose approver dynamically? [on hold]

I have a custom object which holds value of a category and approver. A visual force page is present in which user inputs the category and other few input fields.An approval process is initiated upon ...
-2
votes
1answer
20 views

When i am click get details button it showing Lead details [on hold]

<apex:page standardController="Lead" extensions="SearchController"> <apex:form id="searchForm"> <apex:PageBlock mode="edit"> <apex:pageblockSection ...
0
votes
1answer
29 views

Custom New button on Opportunity Tab page

I want to add custom NEW button on opportunity tab. I know this can be done by overriding NEW button by custom visualforce page https://developer.salesforce.com/forums/?id=906F0000000AVm8IAG But If I ...
2
votes
3answers
19 views

render as excel on browser it self without downloading

I have checked in with many sources but it was clear there is no provision to render excel in browser from VF page , we can just download it. But i was checking is there any out of the box solution ...
1
vote
1answer
18 views

Error on Auto completion

<td id="Nico{!(ROUND(rowNum,0))}"> <apex:inputField value="{!qli.Name}" id="Name" style="width:110px" required="true" StyleClass="AutoPin" ...
0
votes
2answers
24 views

How to refer a formula field in vf page? [on hold]

I have a formula field in account object as "CreationOrigin" which contains formula as TEXT(User.UserType__c). I need to display this value in my VF Page. IN what way can i get this done ? Anyone of ...
1
vote
3answers
43 views

Attempt to de-reference a null object

I am trying to get sObject fields name in 2nd pick list on the basis of selected object name in 1st pick list. Here is my class.. public with sharing class ExtractSobject{ public ...
3
votes
2answers
61 views

How to dynamically add row between two rows in vf page

How to add the new rows dynamically in the middle of existing rows in visualforce page. My rows will like this shown in image. I can delete the rows where ever i want, but new rows are added in end ...
3
votes
1answer
215 views

AngularJS with Salesforce

This is probably the most basic question. How do i get started with AngularJS in Salesforce. I need to build a SPA using angularJS. I can learn angularJS, there are plenty of tutorials. But how do i ...
2
votes
1answer
43 views

How to pass an array into an Apex Controller

How to pass the array value from the form to an apex controller?.. Meaning this form gonna display 2 or more times depend on the product quantity.. But the problem is that I need to pass the values to ...
1
vote
1answer
12 views

Visualforce Composition ignores template styling

The following VF page entitled TemplatePage looks fine when opened: <apex:page> <head> <style> .mainDiv { ... } </style> </head> ...
4
votes
2answers
44 views

Visualforce DATEVALUE() function not working after field is used in <apex:outputField>

This one had me banging my head against the wall for a while today. It appears that the DATEVALUE() function in Visualforce is unable to parse a Date/Time field after is has been used in an ...
3
votes
1answer
44 views

Visualforce - Add Check Mark

How can I add check marks with a button? As user complete their section, it will show a check mark or an "X". Please see link for a screenshot: ...
0
votes
1answer
21 views

How do you add a Validation rule for a pick list Value?

I have a two dependent pick list. System Size - 50L S.U.B. - 100L S.U.B. - 250L S.U.B. - 500L S.U.B. - 1000L S.U.B. - 2000L S.U.B. Cable Management Tree - Right Side - Left Side - No Cable ...
2
votes
1answer
34 views

Nested <apex:repeat> in an <apex:map>

I'm running into some odd errors with a nested apex:repeat inside of an apex:map (on API 34.0). My code looks like this: <apex:map width="500px" height="500px" center="53704"> ...
0
votes
0answers
16 views

Visualforce Help - Layout

I'm trying to create left hand side panel with buttons as tabs for users to navigate. I'm having a hard time controlling the width of my page block. It is too wide. How do I define a fix width? ...
0
votes
1answer
9 views

How do I create working links from a data table in a custom component to open up a new window?

I am making a visualforce page to add a custom component to my homepage. I'm trying to add an unread leads table. I'm trying to get the names clickable so my sales team can get to their unread leads ...