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
0answers
3 views

Return Boolean From Action Function called from JS

I have a page which displays a bunch of input fields for a record (fairly standard) and allows the user to update those fields and then save the record. On the bottom of the page there is a command ...
-3
votes
0answers
13 views

Adding bullets and numbering when you render as pdf from visualforce

Want to format description of all records and render as pdf. Formatting includes, Adding bullets and numbering, Font color for description (other than red, yellow, blue, green colors). Thanks in ...
-1
votes
1answer
17 views

How to get the field label names for the Selected Object objects instead of Field API Names in Visualfroce page? [duplicate]

Map<String, Schema.SObjectType> schemaMap = Schema.getGlobalDescribe(); Schema.SObjectType ObjectSchema = schemaMap.get(selectedObject); Map<String, Schema.SObjectField> fieldMap = ...
0
votes
0answers
12 views

Creating a custom controller referencing opportunity and contact objects for visual force email templates [on hold]

I am looking to create a visualforce email template which includes merge fields for contact records and opportunity records. I gather this can be achieved through a custom controller. Is there a way ...
3
votes
1answer
31 views

VF : Property value update in Controller is not getting reflected in the VF page

This is my VF Page : <apex:page standardcontroller="Contact" extensions="CreateContactController" > <apex:sectionHeader title="Create Contact" subtitle="from Account..."/> <apex:form ...
1
vote
1answer
16 views

Bootstrap table sorting not working for inputfield

I have used a Bootstrap datatable to show records in a tabular format as shown below And here is the simple code for the above page <style> input[type="text"] { display: ...
0
votes
0answers
17 views

How to use checkbox in dependent picklist in visualforce page?

I am having pick list field having all existing objects, if i select any object i need to display the particular selected object fileds in the below section with checkbox before the field label as ...
1
vote
1answer
14 views

Visualforce Query Not Displaying

I'm having problems with getting my data to display on my visualforce page. The logs show data inside the variable, but when I try to display the data in a table nothing shows but the headers. Thanks ...
0
votes
1answer
12 views

State Picklists ignoring StyleClass Directive

I'm trying to style my state picklist and it looks like the functionality that allows statecode/countrycode to be dependent on eachother is clobbering the styleClass that I specify. When I inspect the ...
1
vote
0answers
26 views

Debugging VisualForce Pages in Google chrome

Sometimes I need to debug my visualforce pages for console application and this is what happens. When I step through the javascript during debugging, For any of the calls encoutered for ...
4
votes
2answers
40 views

Is there a visual style guide showing the default UI of visual force pages?

I am a UX designer and am relatively new to SF/VF. I would like to see the default visual styles of VF pages. Is anyone aware of a visual style guide for VF pages? I get lots of results for CSS ...
-1
votes
0answers
38 views

Filter on recordType values

We need two separate tabs based on the same standard object. As salesforce doesn't support my requirement using standard configuarion, have created simple VF page and defined a tab. But as both the ...
1
vote
1answer
21 views

What is the best practice, have JavaScript in a Visualforce page, or a third-party server

I working on OpenCTI integration. Right now I am serving all the open cti script and HTML page from a http server. What is the best practice to connect to open cti scripts(interaction.js)? having it ...
2
votes
3answers
26 views

How can i apply css style for pageBlock title? can i use image as pageblock title?

I want to apply some styles to PageBlock title like changing font color, style and background color. and Can I assign image or logo as pageblock title.. Give me some working example. this is my code: ...
1
vote
1answer
14 views

want to auto click the link when a field update happens picklist value is “sent customer”

want to auto click the link when a field update happens picklist value is "sent to customer". I have a link from website that when i click on link it will change status on website. what i want is ...
0
votes
0answers
9 views

How to define id:String in sforce.console.openPrimaryTab instead of null in salesforce?

I want to define ID in openPrimaryTab(), so that I can ID corresponds to an existing primary tab, the existing tab will redirected to the given URL because the Salesforce console prevents duplicate ...
2
votes
1answer
15 views

Web-to-lead Page is Not Accepting Chinese Characters and Not Creating Leads

The web-to-lead form is not creating any leads if we submit Chinese characters in the form fields. Can someone let me know how to submit Chinese language in a web-to-lead form?
0
votes
1answer
16 views

Can I render force.com page template based on a url parameter?

Using a force.com site - Is there a way to select the visualforce page template using a URL parameter? Use case: Our business partners want to send their clients to a co-branded page - including ...
4
votes
0answers
31 views

How can I access to the Android camera directly from Salesforce 1

I want to open the camera in an Android device from Saleforce1. I've seen many blogs that say that it is possible in android but always the screenshots are with an IOS device. Salesforce1 can open ...
0
votes
2answers
23 views

Disable Future Dates datepicker

So I would like to disable for user to choose future date in datepicker <apex:inputfield value="{!currService.csord__Activation_Date__c}" required="true"/> Thank you for the help !
2
votes
3answers
39 views

Apex:CommandButton sending data to controller

I'm trying to create a visual force page with a table and a "request" button that will take the selected row and append it as a task. Here's a photo of the table: When a user hits request, I want ...
1
vote
1answer
12 views

hide/show depends on the picklist selection

I'm working on a page where I have a pick-list and based on the selection the user should be allowed to enter depends on the pick-list so for an example: Picklist ==> Miles, Days if the user select ...
-1
votes
1answer
31 views

DateTime format is out of format

i have a field of DateTime data type in an object. I have called it in a VF page. In VF page Standard stylesheets is set to FALSE. Still i'm getting a standard date/time format when i put the mouse ...
1
vote
2answers
17 views

Type is not visible with Visualforce Component and Apex controler

To test Salesforce function, I develop a Visualforce page which use a Visualforce component. In the Visualforce page, I call the Visualforce component and in the Visualforce component, I have an ...
-1
votes
0answers
16 views

How to save bookmarks using Apex

I am trying to save Bookmarks in my salesforce App. I want to save a Bookmark name and Bookmark URL to Bookmark Object. How to save a new bookmark using apex code. what are that Bookmark object ...
3
votes
0answers
12 views

Can't create site in trial Enterprise Edition?

A few days into our trial of non-profit (NPSP) EE, I'm trying to test public-facing web pages that don't require login, crucial for our applications. It actually lets me reserve my (sub-) domain, but ...
3
votes
2answers
61 views

Saving Opportunity and related Contact from single Visualforce page

I have created a visualforce page that displays both opportunity and contact fields that I want users to be able to edit and save. I am using the opporutnity standard controller and added the ...
1
vote
2answers
27 views

Bootstrap 3 VF javascript not working

I am trying to implement the bootstrap accordion feature: http://getbootstrap.com/javascript/#collapse-example-accordion So I upload the static resource and included in my VF tag But when I ...
1
vote
1answer
20 views

How to make an in-line Visualforce Page to be displayed in the NEW LEAD standard page?

I created a Visualforce Page to search for Addresses based on the CEP (Zip Code in Brazil). Then I created a new section on the Lead template and added the new Visualforce page. Everything is working ...
1
vote
2answers
22 views

Visualforce page reloads itself after actionFunction call

I would like to use the component apex:actionFunction to set a variable from a custom controller but after the call, the Visualforce page reloads itself. :/ I use return false; on the outputLink ...
0
votes
3answers
39 views

using a trigger to edit a non-editable field for a user

Is it possible to write a trigger that will update a field value for a user even though the user doesn't have edit access to that field? In my example, I have a contact page layout with a custom ...
1
vote
2answers
24 views

Error on selecting value from dynamic picklist

I am getting error while selecting value from a dynamic picklist. The picklist values are generated on form load by selecting the distinct values for a field in an object. Class public ...
2
votes
1answer
31 views

How to include the help bubble in pageBlockTable columns

I have the following VF page code. I want to show the help bubble which is shown when we use apex:inputfield within a pageblocktablesectionItem on the pageBlocktable column header. ...
3
votes
1answer
15 views

Unable to set controller extensions property with component attribute

I tried setting "accType" property in this extension class with "Customer - Direct". But it is not getting set or getting set as NULL. My VF Page <apex:page standardcontroller="Account" ...
1
vote
1answer
16 views

apex param in apex repeat (pass parameter to controller in repeat) not working

I have an apex:repeat and I want to use and apex:param in it. The repeater shows the userName of the person who liked the feed (like.user.Name). And if this userName is same as the person who has ...
3
votes
1answer
19 views

Visualforce Dynamic Binding Map of wrapper Object

today i need your help for an issue I'm facing. I have the following custom controller public with sharing myCustomController { public Map<String, wrapperObj> myMap { get { // ...
0
votes
1answer
28 views

Detect dirty rows in a VF table

I have had this requirement way too many times where only modified rows of records (aka dirty records) in a VF table should be saved. What is best practice for detecting modified fields (and ...
2
votes
1answer
18 views

How to pass parameter from custom button & open a vf page?

I want to pass the Quote Id to the controller on click of a custom button & open the vf page called Select Product. Currently i'm using this code:- apex/SelectProduct?id={!Quote.Id} I have kept ...
-1
votes
3answers
36 views

Truncate string to n characters without loosing word

I am having a field called Description, which may contain a string which will be greater then n characters. I want to display this description on a VisualForce page. I want to truncate this ...
1
vote
0answers
9 views

Custom Clone button with ability to validate picklist values for Record Types

We have a custom controller for a custom clone button that also checks whether the picklist values are active on a parent record when a Case is being cloned. If any of the picklist values on the ...
1
vote
1answer
25 views

Access parent object fields in VisualForce email template subject

I'm trying to display a parent field value in the subject line of a VisualForce email template and I'm running into problems. The use case is that we're going to fire an email alert that is based on a ...
0
votes
1answer
16 views

How to show Custom Help Tooltip in vf page?

I have one requirement. I want to show help Tool Tip of each questions. My scenario is retrieving the questions from Questions object. Help text for question is provided by at the time of questions ...
0
votes
1answer
14 views

Syntax error from adding IF function to Visualforce error

I've isolated a syntax error down to one simple addition of an inline IF function. If I comment out Block B and uncomment A, it compiles fine and renders as expected. If all I do is comment out Block ...
1
vote
1answer
22 views

Access controller property with Javascript visually immediately - after page load but before user action

I want to be able to access a controller property with Javascript to do some styling (based on the value of this property) so that it appears visually to be executed immediately on page load. However, ...
0
votes
0answers
12 views

Usage Metrics for production env

Are there any API or Objects similar Usage Metrics to collect infomation which VF pages users visit, which pages are resulted in errors, browser info, user profile, etc.?
2
votes
2answers
61 views

How do I assign this variable a value?

I found this block of code in the Salesforce docs: <apex:page> <h1>Linked</h1> <apex:outputLink value="{!$Page.otherPage}"> This is a link to another page. ...
0
votes
0answers
19 views

need help to remove slice out functionality from apex:chart

sfdc folks ...i need to remove slice out functionality from apex:chart from my vf page... here is vf page :: > <apex:chart height="130" width="230" data="{!PieData}" animate="false" > ...
0
votes
1answer
14 views

Mass transfer approval process

In our case, usually the users request us the approvals pending of a particular user. We go to Setup -> Administration Setup -> Data Management -> Mass Transfer Approval Processes and we manage ...
0
votes
2answers
45 views

Rerender output panel when action method using pageReference

Can anyone tell me how to rerender a particular pageblock when the action method using pageReference? My use case is I want to rerender a particular block when I click the command button ...
1
vote
0answers
15 views

apex:page wizard attribute

I have build a Wizard using an apex controller and some VF pages, the thing is that I'm trying to use the wizard property from the apex:page element to be dynamic, instead of using a wizard="true" ...