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

Passing value in my inputext field to controller

I am working on a VisualForce page where a user updates a record by inputting value into inputtext field and presses the SAVE button. For testing I tried to make it as simple as possible. VF ...
0
votes
0answers
6 views

Get values from child page

I am creating an custom vf page for opportunity. I am having 5 input text box which has an lookup. on click of this lookup an pop up should get displayed(i.e custon child page) and should select ...
1
vote
1answer
33 views

Check for null or key not in map

I tried following the instructions listed here: How to handle maps with no key match but I can't seem to get it work since Postal_Code__c is my key. Right now, everything works as long as the Postal ...
1
vote
1answer
20 views

apex page redirect open desktop layout in saleforce1

im using custom visualforce publisheraction in my controller i used pg = new PageReference('/'+record.id); pg.setRedirect(true); after insert my record. in salforce1 page redirect but open ...
0
votes
1answer
12 views

Replace expression(mergeField) in string with it's value

I'm creating report creator and I need to change {!mergeField} in string to it's actual value, same as it works in email templates. For example 'Hello Mr.{!$User.LastName}' -> 'Hello Mr.Anderson'. How ...
0
votes
4answers
28 views

How to Display more than 1000 records in a VF page

Hi I am new to SalesForce, I have tried using its giving me an error as limit 1000. Suggest me some solution. thanks in advance.
1
vote
1answer
6 views

URL Scheme to open VF page in Salesforce 1 iOS app

Is it possible to open a VF page in Salesforce1 iOS app coming from a link in an email? If not, do you have any workaround ideas to make this work?
1
vote
1answer
17 views

How to freeze a pageBlock?

Most of the posts I went through talk about freezing a column in a pageBlockTable and seems like there is now a new 'floating headers' feature in one of the recent releases. But, I would like to ...
2
votes
1answer
19 views

Passing apex var to controller

<apex:form > <apex:variable value="{!0.00}" var="total1"/> <script> document.getElementsByClassName('t1')[0].innerHTML = '{!total1}'; </script> ...
1
vote
1answer
14 views

Why am I getting “Error: Unknown property 'Opportunity_Package__cStandardController.Opp_Package_Rel__c' ” from this Visualforce page?

I am currently in the process of making a system for easily adding packages from a list into our Opportunities. This visualforce page needs to be accessible to use as a list button, but ever since ...
1
vote
1answer
31 views

For Loop Iterating last Value only in Visualforce

I have a SObject list that I am iterating through, so my var="standardOppFields" I created a loop to generate a value for each opportunity. I want to display both the standard fields AND the custom ...
1
vote
1answer
18 views

Why Label of a field fetched via code gives a different value than what is displayed on Page Layouts?

I have tried fetching field Labels dynamically in my Visualforce page and apex class through Field Describe, but its been really annoying for me to fix this situation where field Labels are ...
1
vote
0answers
22 views

How to get the Same product Name to be displayed only once in a year

Can any one help me out in this.The Scenario is the product name get repeated in different quarters(Say q1,q2,q3,q4) and need to filter by adding its quantity and Amount.I get the Quantities and ...
1
vote
0answers
12 views
1
vote
1answer
14 views

how to display help icon in VF page for non sobject input

I have a VF page which display inputfields from a custom setting. I am using the "Help Text" in the field definition to display the help text. Now i also need to show a checkbox which is used to ...
1
vote
1answer
25 views

Unable to save records in Order and Quote through Visualforce page

I'm creating a VF page for Standard objects Order and Quote which will be a replacement for standard new record creation page layout. Since both objects have mandatory Account and Opportunity fields, ...
1
vote
0answers
21 views

Bootstrap and SF For IE8

I am creating templates using Bootstrap (3.3.2) and unfortunately I need to support IE8. I have added in the following for the HTML5 sypport....but it appears to not be working...is it due to ...
0
votes
1answer
19 views

Aggregated Results Unknown Property

I have the following code but the aggregate-result doesn't work. I pretty much want to return back the number of active users in the system. How do I return the Count(*) of all the active users? Class ...
0
votes
1answer
22 views

Getting current contact record in Apex class

I am working in the Service Console. I have a VF page displayed as a component in the right side panel. I want to display all contacts related to the current contact based on a particular custom field ...
2
votes
3answers
12 views

Visualforce Accessible only by Package Administrator

I need to render two different contents of my Visualforce page. One when the Package Administrator is accessing it, by remote access (Grant Login Access), and another one to the regular user. In ...
0
votes
0answers
15 views

Issue setting font color in Visualforce page using stylesheets

I am trying to set properties on a column using a stylesheet instead of embedded style values. However I cannot get the stylesheet method to work when applying color to the text. I am fairly new to ...
0
votes
0answers
10 views

How to override back button in salesforce1 in IOS?

I am loading a canvas app on a VF page from a custom button. The flow is : button click from detail page -> Validation page -> Vf page with canvas app. From vf page with canvas, whenever I press back ...
0
votes
2answers
19 views

Display Custom Setting from iterated value in Visualforce

I have a VF page & controller that is querying accounts and putting them into a list, and them displaying the fields Account Name, State,and Last Activity. I have a custom setting that is a list ...
0
votes
0answers
13 views

Problem with lookup fields in VF pages

We have a VF page with a lookup field that works well in some computers and doesn't work in others. we have tested in different computers with same browser and version (chrome Version 40.0.2214.115) ...
0
votes
0answers
14 views

help with vf page and apex for opportunity team functionality replication [on hold]

i want to replicate the opportunity team functionality on a custom object. Can anybody help me with the same. Thanks in advance.
0
votes
1answer
32 views

How do we access related object fields using custom setting on visualforce page

I've got one head scratcher of a problem that I can't seem to find a solution for. I have one Contact object which has lookup relationship on account. I have created Custom setting and added releted ...
0
votes
1answer
33 views

Radio within a Radio Button

I am displaying radio button is visualforce page.I have a requirement where when i click a radio button value it has populate it child radio buttons under it. i.e in the following way fruits Apple ...
0
votes
0answers
8 views

Can encryption help me to make Record Id secure passed in visualforce page? If Yes then how?

I want record Id to be secure, So that no one can see the record Id which is been passed in visualforce page.
0
votes
1answer
13 views

The actionfunction is giving trouble, console error says “Uncaught TypeError: undefined is not a function”

Page Component:- <script language="javascript" type="text/javascript" > function fun(){ var fst = document.getElementById("payments-firstname").value; var lst = ...
0
votes
0answers
20 views

How to send an Ajax request to a force.com visualforce page from our public domain Site.com site (across domains)?

We're trying to retrieve whether our service is available in particular zip codes. In Salesforce we have a custom object called "Service_Zone__c," each record of which has a zipcode and an "in"/"out" ...
0
votes
1answer
17 views

Possible to set column headerValue property based on expression field

I am creating a very simple VR page based on standard list controller - I am very new to VF :-) Mostly my page is working well but I want to populate the headerValue for each column based on a field ...
1
vote
1answer
18 views

Add an already existing record to a related list - Continued

I am very new to visualforce and I was trying to create a page like the one described here: Add an already existing record to a related list In my case though, I want to be able to add a custom ...
1
vote
1answer
15 views

Show reports from a report folder in picklist

I currently have a text field on a custom object which is supposed to store a report URL. As things are right now, the user can simply paste the URL of a report and it gets saved. However, I want ...
0
votes
0answers
14 views

How to re-use the chatter follow link

GENERAL IDEA I'm trying to search for a way on how to reuse the follow link (please see image below): Brief description of planned usage: The follow link is the first field in a table If the ...
0
votes
0answers
15 views

How do i get a Visualforce Email Template Id from WITHIN the the message body?

I'm trying to pass the id of the Visualforce email template in a url parameter for a link within the same email. This is the idea: {!This.EmailTemplate.ID} Anyone know if this is possible?
0
votes
0answers
17 views

datatable tabletools in salesforce

I am using datatable tabletools from jquery in salesforce. Just a sample example to test out to such that i can implement these feature for my custom view and data. Leaving export to ...
0
votes
1answer
26 views

When new account is created inform everyone

I was thinking to create something like the following. When a new account was created a message to inform every sales agent that we have a new client in the company.That message to be shown as visual ...
0
votes
1answer
57 views

Visualforce Error :Attempt to de-reference a null object

Can any one help me out with this Error .I'm getting Visual force Error :Attempt to de-reference a null object . To identify the same product name in a table in a visual force page which is in a ...
0
votes
1answer
25 views

Override standard tab name in detail page

I have a Tab - say "Issue Tracker". On clicking this, a vf page is opened from which 3 options(links) can be selected. On selecting any of the links, user is directed to the standard new page layout ...
0
votes
2answers
27 views

correct date format on date field dynamically

I am fetching dynamic field values in apex repeat so in these scenario, i am using 1 date field so when i fetch data then it show as a incorrect date format. How is this possible to show date in ...
3
votes
1answer
95 views

Javascript alert doesn't work when adding remote action on visualforce page

In the code below, the alert doesn't work. If the I take out the loadleads function, then the alert does work. What's the issue? <apex:page showHeader="true" sidebar="false" ...
0
votes
1answer
17 views

Standard Case Notification when Owner is Changed via Visualforce page not working?

Currently we have a setup wherein when the owner of a case is updated via a Visualforce page. The problem is the Standard Case Notiifcation when the owner is changed is not being sent out when the ...
2
votes
1answer
16 views

Shifting an image down

I have a search bar along with a search and clear button. What I would like is for the clear button to be centered with the search button. I have tried using padding-top on the image as well as it's ...
0
votes
0answers
18 views

Changing the table layout according to the number of characters of a cell

I have formatted the following tables, as it's shown in the figure below. Actually the png describes the usecase when one of the cells, is really long. I would like to adjust: the layout of the ...
1
vote
0answers
19 views

How to TEST button initiated page redirect

I'm new to Salesforce and I'm trying to write some tests for our code. There is a button redirect initiated from the Visualforce page: <apex:page standardController="Happening__c" ...
-1
votes
1answer
29 views

I want to create salesforce report with three objects, where two columns in my report are coming from an objects are count of a picklist value [on hold]

I don't want to create separate formula fields to count the pick-list values.As I am completely new to coding , Can anyone help me how to code for this Visual-force report.
0
votes
1answer
34 views

how to identify the same product name in a table in a visual force page

Can any one help me outhow to identify the same product name in a table in a visual force page which is in a PDF format . For Example : Here the Product Name as "BXRC-25e4000-F-04" appears twice ...
0
votes
0answers
11 views

Partner Community User Access on User Object

I am working on a requirement where we have set up partner community and set up users with 'partner community user' and their cloned profiles. We have a custom filed on user Named 'Status'. When the ...
0
votes
1answer
31 views

Soql not queried the requested field error but i am querying the field

Class: public void PNSearch(){ //varible declarations parentId=Apexpages.currentPage().getParameters().get('id'); //Query to retrieve all Quote line Items which are childs to current ...
0
votes
1answer
17 views

Trouble seeing debugs from Sites VF page controller

I'm trying to see debug statements generated by the custom page controller associated with a Visualforce page, but am having no luck. I see no logs to track. I'm looking for logs in the Dev ...