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)

-1
votes
3answers
40 views

can anyone help me to create a visualforce page? [on hold]

I have too many fields on my page layout. i would like to hide some of them depending on the value in a picklist. So i have an object called Business review (based on case) and field Business Outcome ...
-2
votes
0answers
13 views

<select > tag values pass in URL as parameter [on hold]

How can pass tag values in URL's parameter. So that i can change this value via URL. This is pick list values pictures. Following picture is showing ID and value.
2
votes
4answers
66 views

How to insert a record and then do callout? [duplicate]

I have a visualforce page where i get a serial number and making callout to get the related information from external system on click of a button. Before making the callout i need to insert a record ...
2
votes
1answer
28 views

<apex:selectlist> value don't pass to controller

I'm trying to do a simple selectList, and pass the value to controller when I click a button. Sounds simple (and it is), but I can't get this to work and I dont now why. VF Page <td> ...
1
vote
1answer
15 views

PDF Editor For Visualforce Page [duplicate]

I want to create an PDF Editor. Following is my requirement 1- Create a visual force page which can edit PDF lets call it is as an PDFEditor. 2- I am having another VF page called ContractPage which ...
2
votes
0answers
17 views

Double tab bar in salesforce

How do i solve this problem. I had used isdtp=vw,,isdtp=mn,isdtp=lt but these parameter changing new org to old org. This problem comes when i create a web tab.
1
vote
1answer
20 views

How to hide or remove default home tab in salesforce?

I want to Hide or remove default home tab in my sandbox org. if it is not possible then can i make my VF page as Default landing home page. How can i do?
0
votes
0answers
11 views

Need design approach to populate column values on Custom lookup to parent window

I am working on a Custom Lookup which display list of records coming from external sytem. when users click/select on name column, a javascript function runs and update the name (text) on the parent ...
0
votes
0answers
9 views

Account News Widget in Salesforce1

I like how in the Account News Widget in Salesforce 1, there is a live feed of the latest news that shows up , and a user can tap more to see more stories or click the link directly from the widget. ...
0
votes
0answers
19 views

Javascipt function are not coming in VF page html

I am working on page and calling a Javascript function on click. I am getting an reference error "Function in not defined". I debug the issue and , when I see the page HTML with firebug I don't find ...
4
votes
2answers
41 views

wrong value in visualforce inputField prevents other functions

I suppose this is rather trivial but unfortunately i cannot solve this. There are two 's, which require integers as input. When user enter letters even without clicking submit button, other page ...
2
votes
3answers
31 views

Overriding the New button on a custom Object

I have a custom Object called "Business Development" and when I click the New button I want to auto populate the "Name" Field with the text TBD. Since I am so new with VF I cant find out how to make ...
2
votes
1answer
29 views

actionFunction reRender not working

I have the following Visualforce page and I'm trying to reRender the output panels when the actionFunction is executed, but the reRender is not working. I have tried wrapping with another ...
0
votes
1answer
25 views

How to write trigger to automatically update custom email field on my acustom account wheen email id of related contact is changed [on hold]

I have written a custom account tab which fetches the data from standard account tab and i have also added custom email field to it. Below is the page which show a detail of account which is clicked ...
-2
votes
0answers
14 views

How i add a tab to the infoWindow google maps [on hold]

i have implemented google maps in my vf page. <apex:page controller="Ctrl_SitesPlot" showHeader="true"> <head> <script type="text/javascript" ...
0
votes
2answers
27 views

commandButton only executes first row

I have multiple rows in the pageBlockTable and I want the commandButton to work for each row seperately. Right now it only executes the first row, does anyone have any ideas how I can do this? apex ...
0
votes
1answer
25 views

I am getting this error. what does it mean and how can i solve this?

I am trying to update account's Broker_User__c field with userid after inserting user.when performing accounts object DML operation this error comes. System.DmlException: Update failed. First ...
0
votes
0answers
13 views

In a single Visualforce page can we divide half pdf and half web page?

In a single Visualforce page, can we divide half pdf and half web page?
0
votes
0answers
11 views

Click to Dial Disabled support:clickToDial

Created a VF page to implement the <support:clickToDial> and it won't connect to the CTI adapter .It just has a greyed out phone icon and when you hover over it it says as below, "Click to ...
1
vote
0answers
13 views

How to query on data categories in salesforce?

(SELECT Id, ParentId, DataCategoryGroupName, DataCategoryName FROM Info_Hub__DataCategorySelection). In this i did not find complete list of data categories. I want to list up all data categories ...
0
votes
2answers
26 views

how to pass the value of output field to another page in salesforce apex

I have a output field like <apex:outputField value="{!objAccount.AccountNumber} "/> and i want the value of this field(whisch is 1234Ex) to be passed to another page so that i can use it ...
0
votes
1answer
17 views

Display records in an excel sheet

I have two objects : 1. Assigned_Task__c object 2. Migration_Report__C object 1 is parent of 2 I have a custom button on Assigned Task object call Generate Migration List My requirement is when i ...
0
votes
1answer
23 views

Custom Button not working on Visualforce Page

I created a Visualforce page to override the standard case view page. I have a custom button "OnlineClosed" on case object that ask for a remark and update 2 field status and stage at case object. The ...
3
votes
1answer
25 views

Is there a guaranteed execution order of rerender and oncomplete

I am trying with actionFunction's rerender and oncomplete. During my testing, it seems to me that rerender happens before the execution oncomplete method. But is that a guaranteed thing? I don't see ...
3
votes
3answers
42 views

Reset the current form without reloading page?

In our scenario, we have a form of several apex:inputfield elements and some other input fields. So they have a default value coming from database. We have implemented a cancel button which currently ...
0
votes
2answers
29 views

Populate Parent Data in Visualforce

I have overridden the New action for a custom object which will take me to a Visualforce. It works well until there. So now my custom object has a lookup relationship to Account. So when trying to ...
5
votes
1answer
23 views

Account lookup on Opportunity not filtered correctly from Visualforce page

Visualforce Our organization uses a Visualforce page to override the New Opportunity action. Below is a functional sample of the Visualforce page that specifies the Account lookup field and ...
1
vote
1answer
10 views

Is there a way i can link to standard merge leads screen by passing ids of leads to be merged

I have a list of leads which i am allowing the users to select and merge from a VF page. When we try to merge the leads from the find duplicates screen, the page is redirected to ...
1
vote
0answers
21 views

Saving search engine parameters: design consideration

I have a custom search engine for my limited users. These users have a custom front end and we cannot have them seeing the objects through the standard UI. One of the new requirements that I have is ...
1
vote
0answers
23 views

How is Bootstrap used in VisualForce Page

Please tell me some of the websites for learning Bootstrap? And how to use them in Visual Force Pages? Is there any site where I can learn step by step.
0
votes
1answer
27 views

Format Date in VisualForce Page

I have a requirement, date format to be changed as mm/yy in a VisualForce Page entering values to that field
0
votes
2answers
32 views

show validation error messages in visualforce

I have a visualforce page with custom controller. I have added apex:pagemessages tag below pageblock. I have a method say method1 which updates a record in obj A which inturn updates obj B via ...
1
vote
0answers
17 views

REQUIRESCRIPT and static resources in list onclick javascript button after “Serve Static Resources from force.com domain” critical update [duplicate]

I just want to raise the problem again. The issue with loading static resources using REQUIRESCRIPT in list onclick javascript button can be reproduced again in Summer 15 preview. Anyone else can ...
0
votes
1answer
22 views

Add rows to a section in custom object dynamically

I have a custom object named Assigned tasks. Here i have a section called Migration info which includes the following fields as textboxes. I want to include a button called Add row which will create a ...
2
votes
1answer
28 views

Converting Visualforce i-frame page to Salesforce 1 Mobile

I converted my existing Visualforce Account i-frame (includes twitter / fb links on an account and a list of other nearby accounts) so that it is now responsive and I have also clicked the checkbox so ...
1
vote
1answer
24 views

rerender attribute at sorting table

I've got rather odd behavior here. When page just loaded, sort button isnt working. However after i add new item, sorting is working like a charm. Thanks in advance. Controller code: public class ...
0
votes
0answers
24 views

Visualforce component for home page opens report in frame [duplicate]

This is a Visualforce page created for a homepage component. Users need to click on the graphs (from the home page) to see the report, but it does this within the homepage component frame. I've tried ...
4
votes
2answers
43 views

If Statement in Visualforce page giving a Syntax error message

I have a visualforce page that returns a list of Contacts and Leads, I want a column with the name of the Contact or the Lead whatever is in the list,I have a formula field IsContact__c that returns ...
1
vote
1answer
24 views

List of Campaign Members not showing up

So I need to create a custom "Add Members" button into Campaigns so Contacts and Leads can be selected from there..basically just a list of Leads+Contacts with checkboxes so users can select what do ...
0
votes
1answer
19 views

Custom CSV Uploader save to lookup field with name rather than ID

I have put together a custom CSV uploader. I am uploading trees and one of the fields (Surgeon) is a lookup relationship to Contacts. Currently in order for it to work I need to have the ID of the ...
1
vote
1answer
11 views

How to set a dynamic value as the name of rendered pdf page

We have created a VF Page to render as pdf. This page is created as a custom button on the case detail page. Is there a way to save the pdf with the case number as the name of the pdf..
1
vote
1answer
28 views

Can we create notes using trigger on contact.?

I want to create notes (not attachment) using trigger on standard contact object. I have 1 custom field called as notes__c, which i want to be reflected in notes once trigger gets fired. Is it ...
1
vote
1answer
17 views

DML Exception and validation rule in Salesforce

Today I had a very unusual experience while working on a VF page. It's a very simple page and controller but the results were quite strange. Actually, I am trying to save an Opportunity and if there ...
0
votes
1answer
18 views

Salesperson current location find in Salesforce

We have the number of salesperson and we would like to monitor the daily track location of the each salesperson from the single location(Via VF page). How to achieve this? Is there any appexchange ...
2
votes
1answer
16 views

How to display a Boolean value as a check box in a table?

I have a value in Salesforce that comes back from the database as either True or False. Based on what the value is, I was to display a check box in a column of a table. Here is what I tried: ...
2
votes
3answers
56 views

Pass List<String> from Class to VF Page Script

So, I'm trying to pass a list of strings from my apex class to my vf page, to use it on google maps API. The problem is that I can't pass the list containing my data. Here's my code: Class public ...
0
votes
0answers
18 views

How to see particular country user records when login in user? [on hold]

How to see particular country user records when login in user? How to see particular country user records when login in user?
-2
votes
0answers
22 views

How to write a test code for the following Apex code? The code are given below [on hold]

public with sharing class RollUp_Controller { List<SelectOption> RollUpFields = new List<SelectOption>(); List<SelectOption> RollUpReferenceFields = new ...
-2
votes
0answers
41 views

How to create a table for this code and How to create data in test method for this code? [on hold]

public with sharing class RollUp_Controller { List<SelectOption> RollUpFields = new List<SelectOption>(); List<SelectOption> RollUpReferenceFields = new ...
0
votes
0answers
54 views

Logging Click to Dial Activities

I was wondering if there is a way to intercept "click to dial" event on SalesForce and possibly track this event with an Activity. My idea was to intercept click to dial with a Visualforce or ...