Visualforce components encapsulate a common design pattern and can be reused several times in one or more Visualforce pages. Salesforce provides a library of standard, pre-built components, such as and , that can be used to develop Visualforce pages. In addition, you can build your own custom ...

learn more… | top users | synonyms (1)

0
votes
1answer
32 views

how to convert an HTML class to visual force component class

I have a code in HTML and i need to convert it into VF. My HTML code is like <input id="Lname" value="" class="validate[required] text-input" maxlength="40" name="LastName_Web__c" size="20" ...
0
votes
0answers
18 views

Opportunity is not visible in contact related list?

I have created a visualforce page. i am creating Opportunity record through the contact related list. So after 'New' is asks record type selection then opens custom VF page. after save the ...
0
votes
0answers
7 views

Setting cursor is not working under script to focus on input field in Visual Force page?

I want to remove focus from first field and want to set the focus on other field while the pages load. But below script doesnt work to set the cursor point on to other field. can you please how can ...
0
votes
0answers
20 views

issue with custom input picker [on hold]

I have scenario where i have to search data with start date and end date, for this iam using custom input picker but its not getting any calender to pick date. with refere: ...
0
votes
0answers
18 views

How to call function along with method inside VisualForce component

I have a requirement which calls a method inside Visual force output label component. The same is working fine when i do it in HTML, but i am not sure how to call the same. <label ...
0
votes
1answer
19 views

How to pass contact id and contact lookup fields in to visual force page?

I want auto populate contact and account fields when ever we create Opportunity record from contacts related list. But below was not giving as expected results...please anyone make correct. ...
-2
votes
0answers
10 views

How to display wrapper list (made from http response ) from continue method to vf page [duplicate]

VF page code :-- <apex:page Controller="filenetcontroller" action="{!getiib}"> <apex:form > <table width='100%'> <tr> <td width='25%' ...
1
vote
1answer
27 views

How to show wrapper list records in vf page if that list we made from http response

VF page part :- <td > <apex:pageBlockTable value="{!doclist}" var="WrappedCustomer" cellspacing="2" columnsWidth="50" rendered="{!showpage}"> <!-- value="{!doclist}" --> ...
1
vote
1answer
35 views

How to import multiple sheets(means multiple objects with single excel with different sheets)?

I have single Excel sheet but this single excel sheet having multiple sheets(means multiple objects each sheet).How to import multiple sheets(means multiple objects with single excel with different ...
1
vote
0answers
50 views

How to pass value One Component to another Component in Salesforce?

I have two Visualforce components. One is CompleteArticleSearch, Where a Search Text Box and The second is CompleteArticleResultShow, where searched article will display. How can I pass search ...
0
votes
1answer
29 views

Multiselect Picklists refresh on selection

EDIT: <apex:outputPanel id="Idcomp" > <c:UserMultiSelectComponent aLeftLabel="Search Results" aRightLabel="Selected Users" aInitialRightList="{!InitialList}" ...
0
votes
1answer
21 views

INVALID_FIELD_FOR_INSERT_UPDATE, cannot specify Id in an insert call

I can't see why I'm getting this error. I'm using a VF page in the edit mode of a record. I am attempting to create a select list with a query in the controller. When the user chooses something for ...
1
vote
0answers
31 views

How to invoke Action on Component Controller from VisualForce page

@Adrian Larson: I can not use Action="{!clearSelect}" thats because I already have method that get the Id that I have selected on VFP controller, unless is there a way to capture Id in the Component ...
-1
votes
0answers
16 views

How to upload Excel different objects(these all in different tabs) data using APEX in salesforce?

I have a Excel sheet with different objects(means differnt sheets in same excel).How to upload all objects objects record values at a time after browing and select upload?
0
votes
2answers
27 views

What is the difference between static resource and visualforce components?

I know the hardcoded scripts and style codes can be stored in static resource and vf components and can be used in vf page. But what can be the exact difference between these two since both are doing ...
0
votes
1answer
28 views

Is there a way to set replyTo on a email template to the FROM field on the email page?

We need a email template that pulls in information from the send an email page. Specifically we need to set replyTo in the visual force email template to the FROM field on the email page. VisualForce ...
0
votes
1answer
24 views

Where to find resources in Visualforce Page

EDIT: I able to found where CSS resides in salesforce: https://XXXX.visual.force.com/sCSS/34.0/sprites/1438195776000/Theme3/default/gc/extended.css I inherit someone's code trying to understand ...
1
vote
1answer
26 views

How to use javascript in static resources and then to refer in VF Page?

This the VF page code : <script> $(document).ready(function() { // SUCCESS AJAX CALL, replace "success: false," by: success : function() { ...
0
votes
1answer
55 views

How to replace or escape ' &amp; ' with ' & ' in Auto complete text in Jquery

I am using an autocomplete component in my VF page. And the Problem is when i am hovering / Selecting the record names with Special characters, the Input text box is displaying Encoded Record name as ...
-2
votes
1answer
32 views

Trouble passing a $Component [closed]

I have a small problem sending an Id through a $Component. Thanks everybody! <apex:page standardController="Entrada__c" extensions="BA_vista_item_entrada"> <style> .ct{text-align:right;} ...
0
votes
2answers
34 views

How to add help text next to CommandButton in Visualforce page? [duplicate]

How can I have textHelp next to the Find button as shown below. here is my Visualforce page source: <table style="width: {!aWidth}"> <tr> <td style="width: ...
1
vote
0answers
20 views

Eclipse IDE: Cannot save custom component with a select list; works fine with Dev Console

Using Eclipse and the force.com IDE, I cannot save the following custom component to the server. Eclipse gives the code a red box at the very top with the message of Save error: null ...
0
votes
2answers
46 views

How to pan to a marker in apex map component on a visualforce page

I currently have a visualforce component in the account details page. In that component is an apex map component which has markers on it for accounts close to the current one of the details page you ...
1
vote
1answer
25 views

Visualforce Page and Custom Component same record field update

I've created a visualforce page and custom component that is referencing the same record, in which I've passed the record from the standardController to the custom component via apex:atttribte. I ...
1
vote
1answer
18 views

Rendered Special characters romanian in PDF

I am creating a PDF using Visualforce Dynamic components where i show data from Map Object. This data contains text a Romanian Language with special characters such as ă,ș,ț... This data gets ...
1
vote
1answer
36 views

How to pass values between two components

In a VF page, I have two i.e. A and B.In first component,there is a search box. Second component will display data type in first component search box. So How can I pass data between these two ...
1
vote
3answers
66 views

Remove entries from a nested list

I have this query: Account[] IPList = [SELECT Name, (SELECT Product_Family__c FROM Product_Releases_del__r ORDER BY ...
0
votes
1answer
10 views

How do I create working links from a data table in a custom component to open up a new window?

I am making a visualforce page to add a custom component to my homepage. I'm trying to add an unread leads table. I'm trying to get the names clickable so my sales team can get to their unread leads ...
0
votes
0answers
14 views

Want to send excel file as an attachemnt visualforce template

My requirement is as below :- When User fills account form fields and hits save , all the fields value should go as an attachment in excel format. where column will be the fields name and row will be ...
2
votes
1answer
45 views

Dynamic table component that displays selected sObject's fields with specified header values

I have a problem with making a dynamic table component that displays selected sObject fields with specified header values. The very first idea was to supply the component with an apex:attrubite of ...
2
votes
2answers
30 views

Visualforce Side Panel

Can we do a side panel with tabs in Visualforce? I see apex:tabPanel tag that show tabs accross the top of the page, but what about adding the tabs on the left side of the page? Thanks
2
votes
1answer
22 views

Include style/script component in <head>

I have the following page: <apex:page docType="html-5.0" standardController="Transaction__c" extensions="OptionComparisonDownload" name="Option Comparison" readOnly="true" ...
1
vote
0answers
59 views

Form fields not binding inside apex repeat

I have a generic component that works for all objects. The object name is passed as a parameter to the component. I am iterating through a list to display a component for each object. Here is the ...
0
votes
0answers
24 views

reCaptcha does not work custom site HTTPS

I'm trying to use the recaptcha control in a custom site, but when I try to use it in the site with https redirect the recaptcha stops working, doesn't even appear. It works only in http, but before ...
2
votes
3answers
58 views

Dynamically add page block on button click

How to add Dynamically page block on button click.? pleas can any one help me. thanks In Advance.
1
vote
2answers
73 views

Sending pdf from static resources as attachment in visualforce email template

I am trying to add pdf from static resources to my Visual force email template attachment tag. VF email template which will be used by a workflow.I was able to render a image file from static resource ...
2
votes
1answer
46 views

Syntax error in visualforce for date

What am I doing wrong? If the date is less than today then it has to be red if it is greater than today then it should be green <apex:column > <apex:facet ...
2
votes
2answers
52 views

How to Hide Help text in Output/Input Feilds?

How do we hide help text in VF pages? Specially in out/input Fields. Any idea, Thanks
2
votes
1answer
57 views

Call Visualforce Component function from another Visualforce Component

I need help: How to call Visualforce Component function from another Visualforce Component. Below are Code details. i.e call 'display.component' click function from 'view.component' 1st Component: ...
2
votes
1answer
37 views

VF Email Template update Salesforce

I am hitting a dead-end. I'm attempting to create a VF Email Template that will, based on an action of the recipient, update a record in Salesforce. However, I'm not sure if it really is possible ...
-1
votes
1answer
22 views

How do I hide a component on some layouts but still perform work?

I have a component that we only show on some layouts for an object. It has a polling function that monitors changes to the object (an object from a managed package). One function of the polling is to ...
2
votes
1answer
38 views

geolocation when user logs in or logs out?

I am using the login flow which has been released as part of Winter'15 release. I would like to pass the geolocation of the logged in person (using javascript HTML5 Geolocation API) to visual flow as ...
0
votes
0answers
40 views

“add target” button in code does not create new record on custom object

I'm trying to create a code here merging 2 codes that individually work. What I added is only the "searchbox" and next/previous page function. I do have the principle part of "adding" (which ...
1
vote
1answer
22 views

modularization of code

The requirement is to reduce the number of lines of code and deconstruct into smaller supporting methods.Can someone help me out in this regard.This method is basically validating different fields on ...
0
votes
1answer
54 views

Please , how to retrieve line items to Visualforce Email Template?

I try to create Visualforce Email Template in order to send our Purchase order (BC) to the supplier So I need to insert inside the mail , all (BC line items ) I begin to create HTML+CSS code , ...
0
votes
1answer
48 views

Upsert only updates but does not insert a new record

In the below code i made some changes between lines 430 and 463 basically to update an existing record and insert only new records. I have used an upsert in line 463 but now its updating existing ...
1
vote
3answers
41 views

Adding google analytic for sales force tabs & pages?

I am trying to add Google analytic for custom made visual force page and a tab. Do you guys know, is it possible or is there any other way to I can track? Thanks
0
votes
0answers
24 views

Visualforce analytics report Error Code {0} just randomly started

I created a visualforce page that is currently being used as a custom home page for certain users(Sales Reps) to get around the 3 component limit on the home page dashboard. The page has 9 different ...
0
votes
1answer
44 views

Long TextArea not displaying properly..?

I have long textarea description. If i am entering 5 enter between two words. That displaying correctly in details page. I am sending that description through mail to users. In mail it doesn't showing ...
3
votes
0answers
47 views

De-bulkifying Process Builder processes

First question to the Salesforce StackExchange; I apologize in advance for not adhering to any community rules. I'm trying to execute an Apex method through the anonymous execution via Developer ...