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
6 views

For an Inline Vf Page how can I get the id of the current object?

For an Inline Vf Page how can I get the id of the current object. I want to have the current object id . how can i retieve it use for an inline vf page.
1
vote
0answers
9 views

Salesforce APEX: Propagating a custom exception error to the record page

Propagating a custom exception error to the record page Hi, I have a Visualforce page embedded into an Opportunity page layout. Interacting with this page results in an Opportunity update trigger ...
2
votes
2answers
14 views

Multiple conditions in visualforce

I have the following code within my visualforce page, this ensures only users with the Portal profile can see the page, otherwise they are shown the SFDC page. <apex:page ...
0
votes
1answer
7 views

How to use Apex:InlineEditSupport for Apex:Detail or Apex:Tab and change color of modified values?

I have a Visualforce Page. Its just replicate tab/detail view to visualforce page. Nothing fancy. Very simple. But I am not able to add InlineEditSupport in this. I want to change the font color when ...
0
votes
1answer
11 views

Get list of contacts from search layout

When I select multiple clients on this list and click the Email Contacts button on this search page I want to open a visual force page with a special email form on it. How do I get the ids of all of ...
1
vote
1answer
8 views

Associating values with inputCheckboxes and concating together

In my VF page I have a series of inputCheckboxes that mimic the implementation of selectCheckboxes (i.e. they are one after the other and 'related' to each other). Now with selectCheckboxes on submit ...
2
votes
2answers
13 views

how to search a child record based on parent name in sosl

I have a search VF page (it is just like google search with text box). In this i am searching all fields of a object then retrieving records by sosl search (upto this functionality it is working ...
0
votes
0answers
15 views

Error: Error occurred while loading a Visualforce page. [on hold]

(Portal site)First I have done record inline editing. click on cancel. again click on pagination. Getting below error message. Error: Error occurred while loading a Visualforce page.
4
votes
3answers
63 views

'Map key null not found in map' when using apex:pageBlockTable

I have a simple controller extension with has a method which returns a Map<String, Map<String, Boolean>. public class UserExtension { private final User theUser; public ...
0
votes
0answers
12 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 ...
0
votes
0answers
20 views

Closing a popup on clicking 'Cancel' and also implementing 'Save and Close'

I have a popup that that opens up when a custom button is clicked. The custom button is present on a standard salesforce page. The popup has a VF page in it. There are some mandatory inputText fields ...
0
votes
0answers
8 views

Insufficient Privileges

I have picklist of values Lead and Opportunity, By default value of picklist is lead when I change change it to opportunity and again if change it to lead, it gives error of Insufficient Privileges.
0
votes
2answers
21 views

Updating data using dynamically generating rows and a static section

I have two section in which one is dynamically updated rows... I need top create cases using the first section and each row of the dynamic rows generated. I have used the following code but I am not ...
2
votes
1answer
20 views

apex:action support not bound to any component

in below documentation Apex page templates There is a template,say formTemplate <apex:page controller="templateExample"> <apex:form> <apex:outputLabel value="Enter your ...
4
votes
1answer
26 views

System.debug logs not displaying on apex page action method

I have an action method in a VisualForce page. <apex:page standardController="Query__c" extensions="Builder" tabStyle="links__tab" title="Query Edit" action="{!giveMeHi}" ...
1
vote
0answers
14 views

Find the Contact and Account name for an Idea Vote in the UI

I am wondering if I am missing something when using the Ideas functionality within SF. One of the biggest complaints from our product development team is that you cannot tell who actually voted for ...
1
vote
1answer
17 views

Apex:OutputText to Currency Format from String Wrapper

is there a way to pass a string to the apex:outputText so that it can be formatted as a currency or percent? Here's what I have inside a column of my visual force table: <apex:outputText ...
3
votes
0answers
18 views

Load VF login form data on startup

I have VF Login page for portal user where I am trying to save few fields which includes inputtext and picklist so when user close the browser and come back again then the same information appear back ...
0
votes
0answers
17 views

How to values passing one form to another form on same visualforce page

We have created a page in that page we are using two apex:form. In form1 we have a verification section. We have to select the account look up and need to give related contact email address and then ...
1
vote
1answer
9 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
0answers
15 views

Horizontal scrollbar for outputPanel

I have an output panel that is one of the columns on my pageBlockSection and I want to make it have a horizontal scrollbar rather than the traditional wrap-around that salesforce implements. here is a ...
0
votes
0answers
13 views

Apex Grid Record Selector

I'm new to Salesforce and VisualForce pages. Is there a apex control that I can use to give me the same functionality as the built in (LineItemView?) multi record selector and filtering capabilities ...
0
votes
0answers
26 views

json.serialize is corrupting datetime

I am using json.serialize to pass a list into a visualforce page (in order to use it with a jquery library), for some reason the time of the date is 10 hours behind on the json I am wondering what do ...
1
vote
1answer
44 views

Visualforce - Apex - Google maps

I have been trying to get something to work with Google maps in combination with Apex and Visualforce pages, but I can't figure out what I'm doing wrong. What I want is to set different icons with ...
2
votes
1answer
36 views

Visualforce dynamic binding

I have this page: <apex:page controller="mycontroller"> <apex:pageBlock > <apex:pageblocktable value="{!sc2.records}" var="test"> <!--<apex:pageblocktable ...
0
votes
0answers
11 views

reload after export from visualforce

I have a visualforce page in which I reterieve record after search in a pageblock table. I have a button which exports a CSV file for those records. For those CSV records I have written a visualforce ...
1
vote
1answer
24 views

Visualforce: How to render multiple records, 1/page in a single PDF

I would like to render PDF page base on the amount of record I retrieve using SOQL. example If I have 10 invoice forms, I should be able to render 10 pages in 1 PDF.
2
votes
1answer
24 views

Multiple column Css doesnt work in renderAsPDF vf page

I am using the below css . this works fine in html but when i do renderAsPdf this doesnt work. p { -webkit-columns: 2; -webkit-column-gap: 5mm; ...
7
votes
1answer
47 views

Visualforce PDF and CSS overflow: hidden

I am trying to create a Visualforce page that renders as PDF. My problem is that I want to display as much of a rich text field as can fit. If I use overflow: hidden in my CSS, the text is displayed, ...
2
votes
2answers
41 views

Create a Matrix Table in Visualforce

I was wondering how I can create a matrix table showing the months across the top (x-axis) and the product name on the y-axis with the sum of the quantity (sum of the products purchased for each ...
1
vote
3answers
27 views

Facing Issue in apex:related list SALESFORCE INLINE VF PAGE

I am facing an issue while implmenting an Inline VF Page. Its a 4 lines of code but stil I havent completed. Issue is, when ever I click Show 5 more » | Go to list (15) » The page is opening in that ...
0
votes
1answer
20 views

Attachment name/file not being set, set null

Ive been trying to add code to add a an attachment to my custom object. However the file, and filename keep showing up null (if I wrap "if file != null" around the attachment insert it bypasses it and ...
2
votes
2answers
25 views

How to integrate D3.JS with Visual force

Very new to Visual force as well as D3. I am facing the same problem while writing a code "D3 is not defined" I have included the java script file as static resource and tried to include the same. ...
4
votes
1answer
34 views

How to detect if a custom field is present using only a Visualforce expression?

I have a field (defined by a 3rd party package) that I need to include in some forms in my package if the field is present on the Contact object (i.e. if the 3rd party package is installed). I'm ...
4
votes
0answers
13 views

VF Chatter topics widget not working outside of canvas/action

I am trying to use the Visualforce Chatter Topics widget ( https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_topics_widget.htm ). When I include the topics widget using: ...
1
vote
1answer
20 views

Get Selected Lookup id in Javascript issue

I have created a Vf page.In that VF page I have look up field for Account look up.My requirement is to get the look up id and pass the id to text box.I have tried the below code but it is not working ...
2
votes
1answer
35 views

pageBlockTable not rendering after delete link

I feel like I've wasted enough time tracking it down.Pretty simple thing. I have a pageBlockTable. One of the links in it, lets me delete that row. After the row is deleted the table should be ...
1
vote
1answer
21 views

execute javascript function whenever the condition in onclick attribute is true

So I don't want to add another code in my controller class. Is there a way I can accomplish this? I have an actionFunction named makeEditable <apex:actionFunction name="makeEditable" ...
0
votes
1answer
16 views

PageBlockSection Title attribute based on condition

I'd like to have the title attribute of pageblocksection tag based on a condition, that is something like this (not working so): <apex:pageBlockSection title="{!IF (TheQuotation.Fake_Amount__c == ...
0
votes
1answer
32 views

Visualforce Page refresh lags current value of search filter

I'm relatively new to Salesforce development and am having trouble with a Visualforce/Apex Class page. The page pretty much works, except that I have a filter which should sort data by date. However, ...
2
votes
1answer
53 views

Visualforce Page Force.com Sites - Language Translation - How?

I have a force.com site with many Visualforce pages in it. I want to convert those pages into different languages (Ex: Spanish) based on the Locale of the user who has logged in. Our force.com ...
0
votes
0answers
31 views

how to get exact match of child records using a query?

I have Quote and Quote line items .Quote is parent and quote line items are child . I am developing one application . i am getting quote_line_item__c names as user input .I want to exact match of ...
2
votes
0answers
31 views

Error Generating Quote PDF

I am trying to generate QuotePDF on click of a JS button. I have not created any VF Page for the PDF and am trying to use the standard functionality. My code to generate PDF is:- PageReference pr = ...
0
votes
1answer
30 views

how to do arrow sorting on columns

I've a requirement to do sorting . I did it with sort() but does only in ascending way. My client wants to have column sorting, how can i attempt to do this with my code ? Please help. I'm really in a ...
0
votes
1answer
45 views

URL Hacking to prepopulate custom field in a popup

I have a popup that shows up when a custom button is clicked on a standard Salesforce page. When the button is clicked a Javascript is executed that opens the popup. The Javascript code shows my VF ...
0
votes
1answer
21 views

apex:includescript disables my inline edit in VF page

<apex:form> <apex:includeScript value="{!$Resource.jquery_1_5_1}"/> <apex:includeScript value="{!$Resource.json2}"/> <apex:includeScript ...
3
votes
1answer
56 views

retrieving the selected checkboxes

How can I retrieve the checkboxes that are selected (ticked or equal to true) on my VF page if these checkboxes were created dynamically? The checkboxes are being displayed on my VF Page like this: ...
0
votes
1answer
20 views

possible solution for “You cannot call addFields after you've already loaded the data” - error

I've seen this error and researched it and this is not happening because of a test. If you're getting this error because of some unit tests look at this Bob Buzzards Blog here My problem is ...
3
votes
1answer
31 views

How to improve loading speed of a layout based page that includes a Visualforce section?

So here is my problem. I've added a VisualForce page to an object as a section in the page layout. The VisualForce page contains the apex:details tag that points to another object. This means its ...
0
votes
1answer
18 views

search box to be aligned in center

I want to improve the design of my page.The search box needs to be aligned in center, Tasks title is appearing two times and fields gets displayed when the page loads which should not be.Image ...