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

apex:relatedList not showed in “NEW” mode

This is my simple VF page named "RelatedListDetail": <apex:page standardController="Contact"> <apex:relatedList list="DealRows__r"/> </apex:page> It´s used to override "New" ...
0
votes
1answer
7 views

SOQl queried on custom object as gmod opportunity forecast

Can anyone help me on this. I have a Installed Package as "ForecastTrac " in my org Sandbox .It has a custom object as "gmod Opportunity Forecast" and Visual force pages created based on opportunity ...
0
votes
2answers
13 views

Inline VF Page is returning Attempt to De-Reference Null Object Error

I'm experimenting with the code below from another post on stackexchange: All I'm trying to do is display a VF box in Opportunities to instruct Users on what to do at each stage. It uses a custom ...
0
votes
1answer
13 views

Dialogue alerts within a pageReference

I am working on a Visualforce button that calls an action in the extension. <apex:commandButton id="submitButton" value="Submit" action="{!submit}" onclick="return confirm('Are you sure you want ...
0
votes
0answers
10 views

system.security.noaccessexception

I have visual force page that guest users have access to. I pass the contact information, the user completes the form and then the contact information should get updated. I had no problems in test. ...
0
votes
0answers
11 views

Extra Margin being added while printing

I have number of records that i want to be printed , i need 10 rows on page .I am using mod for that .First i set rowNum to 1 then increase by 1. I am wrapping content in a div <div style="!if( ...
0
votes
2answers
13 views

Compile Error: Initial term of field expression must be a concrete SObject: List<User>

i am not sure why this error is shown,when i am mapping a new ID against and ID field. Here i am trying to achieve this requirement : Want to do this for existing user. So i have queried the set of ...
0
votes
1answer
20 views

Automatically Open Opportunity After Lead Conversion

I have a vf page that controls conversion. I want it to work so that once I convert the system automatically redirects to the opportunity created or it grabs the ID of the opportunity created and ...
1
vote
1answer
18 views

Formatting the variable used for Grand total for the retrieved column in a datatable generated using Soql

I am currently using the visual force component to get the grand total of my pageblocktable column as referred too in this question 'To achieve Grand total for the retrieved column in a datatable ...
1
vote
1answer
27 views

Empty values in a picklist

Root-cause: From the controller alone, it adds empty values but it can be removed with javascript though the javascript doesn't work. VF PAGE <apex:column rendered="{!allowDiscount}" ...
1
vote
1answer
15 views

advanced searchpage

I have two objects: Course and University (lookup relationship). Now I have to create a search page in which I enter values in multiple fields and click on "Search". Then it should query & display ...
0
votes
1answer
19 views

Typical Question Sandbox code is working Production not working uncheck all checkbox

visualforce page: <apex:includeScript value="{!URLFOR($Resource.JqueryA, 'js/jquery-1.11.1.min.js')}" /> <apex:includeScript value="{!URLFOR($Resource.JqueryA, ...
0
votes
1answer
29 views

Relationship query

How to write the relationship query and how to fetch the record from the query on visualforce page. For ex- i have one account object and one contact object then how to write the relationship from ...
0
votes
0answers
20 views

Access Javascript Array Value Using Outputfield as key VF

Have a visualforce page with that is generated from a custom button on the account. On this page, we have some JS that contains an array. I am trying to take the value of the below field from the ...
0
votes
0answers
24 views

Creating Timesheets in VisualForce page [on hold]

I need help for my project. And my project like this.... A. Need to create a VF page on custom object(Employee__C) i. Login page has header and footer ii.If user forgot the password automatically ...
0
votes
1answer
22 views

VLOOKUP () function in VisualForce

According to the documentation, there is a function in VisualForce called VLOOKUP: VLOOKUP(field_to_return, field_on_lookup_object, lookup_value) and replace field_to_return with the field that ...
0
votes
0answers
9 views

how to display multiple status fields in approval history

Our client have requirement to have accept/reject picklist and rejection reason for 5 of our departments . All of them are custom fields in a custom object. How to display the status of each ...
0
votes
1answer
12 views

Including a RelatedList of tasks in a broadcast email via Visualforce

So I'm just trying to see if this is possible. I've been tasked with trying to find a way to include a related list in a broadcast email template. Some background, we use Tasks for student forms and ...
0
votes
0answers
10 views

How to show/hide a commandButton or inputField or outputField in a custom visualforce page from a custom controller?

There is a custom visualforce page with a bunch of fields and a save button at the bottom. If the URL is bad/incorrect, I would like to hide the fields and the button on the page and display a ...
0
votes
1answer
17 views

Why are Visualforce pages not deletable from Managed Packages?

I see no severe technical reason why Visualforce pages cannot be deleted from Managed Packages while other Metadata can. What is the rationale behind that and are there plans to allow that?
0
votes
1answer
19 views

Random Field Query

I have this on my controller. private String userName; userList = [SELECT Username, Question_1__c, Question_2__c, Question_3__c FROM User WHERE Username = :userName LIMIT 1]; What should I do to ...
0
votes
1answer
15 views

Error while saving multiple accounts at a time

<apex:page Controller="AddmultipleAccountsController"> <apex:form > <apex:pageBlock > <apex:pageBlockTable value="{!listAccount}" var="acc"> <apex:column ...
0
votes
1answer
34 views

Colored Picklist Values in VF Page

Got scenario where I need to display picklist values coming from a text field values (0,3,5,10…) and when the picklist values are displayed, it should be colored out based on less than 12 would be in ...
1
vote
1answer
21 views

VF Issue: Contacts not re-rendered with new values

I want to display list of accounts and when user clicks on any account it should display the contacts associated with that account.. But the problem is it displays contact details only for the ...
2
votes
0answers
21 views

Salesforce1 Mobile Card

I have created a visualforce page that is essentially a button that will be placed on a Contact's page. When pushed it will redirect the user to another visualforce page and carry along the contact ...
0
votes
2answers
17 views

Read-only sharing rule is not restricting editing from inline-editing, whereas from API it is getting restricted

I have 2 user groups K1 and NK1. NK1 are managers of K1.Custom object A_S has OWD private, with grant access. There is a sharing rule to give read-only access to K1 users of NK1 user's records. It ...
0
votes
0answers
12 views

Freeze the 1st column of pageblock table in salesforce

How to freeze the 1st column of pageblocktable using salesforce ? I had tried using position:absolute property to fix the column header but it is not working instead the css is getting mis aligned as ...
-1
votes
1answer
31 views

how to call a formula field in visual force pages

Can any one help me out.I have a custom visual force page created.I would like to call a formula field in VF page.Any suggestion plz I have a visual force page created in PDF format. I have few of ...
2
votes
1answer
16 views

Preview email content of email templates before sending

I am developing a feature to send a email from a Custom Visualforce page. For this I am using the Messaging.SingleEmailMessage class. I need to give users, the option to select email templates from ...
0
votes
0answers
25 views

Java scripts not working from different domain

I Have an issue where Javascripts in my Visualforce pages are not working from different domain.Visual force page is working fine in salesforce domain.But we have configured vf pages in different ...
0
votes
0answers
17 views

Determine country of Sites Guest User (Anonymous user)

We have a site built on Communities and Force.com sites. What's the best way of determining which country a guest / anonymous user came from on a Force.com sites page? For registered users, we can ...
1
vote
0answers
19 views

Customize visual workflow UI screens by using customer logo/branding and css

Is there a way to customize visual workflow UI screens by using customer logo/branding and css style sheets to change look and feel of UI screen? Please point me to some sample code/application?
1
vote
2answers
27 views

Apex inputtext binded to integer takes 0 instead of null

My VF page below <apex:page> <apex:form> <apex:inputtext value="{!num}" /> <apex:commandbutton value="Save" action="{!saveFunction}"/> ...
0
votes
0answers
11 views

Cache Visualforce page in iOS webview

I've written an iOS app that loads up an visualforce page inside a UIWebView. I'm trying to make the app cache everything in the UIWebView for use while on a 4G connection rather than load it all ...
0
votes
0answers
11 views

Where is the source code for templates created in the Customize-Quotes-Templates section located?

I am trying to locate the source code used to create templates found in the Setup-Build-Customize-Quotes-Templates section. I have the need to append additional information to a template but there is ...
-2
votes
0answers
14 views

What are tha AJAX Components in Salesforce? [closed]

Can You Tell me briefly about AJAX Components in Salesforce. Thanks in Advance, Manoj
1
vote
1answer
28 views

Filter and search is not working

This is my first post .. Please Help me. Problem is i can update my selected data .. but search and filter fields are not working .. Please guide me how can i bind my wrap class with page reference ...
0
votes
0answers
19 views

Cannot pull report metadata for analytics:reportChart filter

I am using the component in visualforce and need to build the filter attribute. Exported the 18 character ReportID from the dataloader. However, when I load the URL to describe the metedata for the ...
0
votes
0answers
27 views

Error while copying selected custom related list to another custom related list

We have a custom object PA_Process__c and has two custom related lists called Revenue__c and Billing__c. We need to have functionality that moves the selected Revenue record to Billing. Below is the ...
0
votes
1answer
47 views

Visualforce page title

I have a couple visualforce pages that show a title in my browser 'Documentations' that I can't figure out why. Here's an example of one page: <apex:page standardController="Opportunity" ...
1
vote
2answers
28 views

Upload and download files/attachments

I am building a custom application in Salesforce using HTML. The user who logs into the application should be able to upload multiple documents and download the same once they are uploaded. I want to ...
1
vote
2answers
34 views

How to integrate contacts with a custom object

I have a custom object that I wish to use the standard contact object so I do not need to reinvent the wheel by making my own Name, Address, Email etc fields. I made a master/detail on the custom ...
1
vote
2answers
36 views

Getting a spring '15 environment

I would like to test something on Spring '15 but seems like I already missed the deadline. How can I get a copy of Spring '15 environment? Anything is okay, dev, sandbox or a production org?
2
votes
2answers
52 views

How to display salesforce data on a Google Map?

I am a beginner user here, but I've been tasked with developing maps of our volunteers. There are two types of volunteers (contacts), CDL Drivers and Plain Volunteers. I have researched a few pages ...
0
votes
0answers
44 views

Visualforce page Blank on SF1 but Work Desktops- Class and Page

I retrofitted some available code from finding available warehouses from a tutorial for accounts. global with sharing class FindNearbyAcctExt { public FindNearbyAcctExt(ApexPages.StandardController ...
0
votes
1answer
27 views

Is there a way to create/generate PDF forms from XML files using APEX?

Is there a way to generate PDF files from XFDF with the help of APEX? Thanks.
0
votes
1answer
31 views

Reports and Dashboards in visualforce

I need to add six charts to a page layout from a force.com report. All the reports are summarized with a chart. They show in the layout but I need to align them as 3 charts horizontally and 2 rows of ...
1
vote
2answers
28 views

How to create a child object in Salesforce given the URL contains the Parent Id?

I have an unauthenticated VF page that displays some information from the parent record. Below that I have a bunch of textboxes where users enter child object specific information and click on Save, ...
0
votes
1answer
13 views

problem aligning pageBlockSectionItem

I have been trying to align a pageBlockSectionItem (see image below). I added the class "dataCol" and it correctly formatted the text, but I can't seem to get the bottom right column to align ...
1
vote
0answers
15 views

Salesforce1 - Lookup Account or Contact on VF Page

I am trying to build a Visualforce page for Salesforce1 and I need to be able to look up a Contact or an Account by name. I am wanting to use the same lookup that Salesforce1 uses normally when doing ...