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)

1
vote
1answer
10 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
25 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
2answers
36 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
9 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
12 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
22 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
27 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
19 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
30 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 of objects to display a component for each object. Here ...
0
votes
0answers
18 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 ...
1
vote
3answers
40 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
38 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
41 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
39 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
44 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
34 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
21 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
30 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
22 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
41 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
44 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
37 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
19 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
38 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
41 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 ...
1
vote
1answer
26 views

salesforce visualforce Component added Twice with different parameters, not working as expected

I have added vf component twice to a page with different parameters. When I check the view state in developer mode , I see there is only one controller instance for the 2 component added to a page. ...
1
vote
1answer
19 views

VF Page with new components rendering at mouse-over, instead of click on drop down

First, forgive me for language, I'm a web coder by practice, self-teaching a lot of VisualForce/Apex, and a complete newbie. I have a custom VF page I'm creating for my team with "industry news" ...
0
votes
0answers
59 views

Custom Apex enhanced list view

I have a VF page which uses enhanced list views, which is accessible to different users in an organization, but when the visibility is set to 'only me' it gives an error - that it needs a listId for ...
1
vote
1answer
21 views

Get Type of Apex Components

I need to dynamically create Apex Components. I know that there is method Type.newInstance that can do it, but one problem seems like I can't get Type variable from Apex component. For example: Type ...
1
vote
0answers
25 views

how to insert text without any spacing wrt borders in rich text box field

Have used a rich text box and no margins are required, have tried style border, margin, display everything but still not working. Have to remove only the margin from each end.
2
votes
2answers
24 views

How to get the date on date/time record type

How can i get the date on the date/time record type. So that i can condition this if Start_Date_Time__c = End_Date_Time__c. If true the output is like this: Friday, 26 June 2015 from 9:00 AM to ...
0
votes
0answers
18 views

Is there any way to override visual force page created with managed package [duplicate]

I am very new to salesforce trying to make changes in some visual force pages which are deployed with managed package. I am not able to see the controllers and extension used in these pages. These ...
0
votes
3answers
25 views

Email field should not return as hyperlink on Visualforce PDF page .

I have a Visualforce Pdf page. I am getting the Contact's Email Field on Pdf page from Contact's Email field. This field comes as Hyperlink on my Pdf page. I need Email field not come as HyperLink on ...
0
votes
1answer
51 views

how to overcome jquery conflict while using apex:tabPanel [duplicate]

I was using apex:tabPanel in my viusal force pages <apex:page > <c:Enhancetable targetPbTableIds="tableRecords" paginate="true" defaultPageSize="15" ...
0
votes
2answers
43 views

How to Disable the buttons when I clicked another button?

We have requirement when customer click on save button, and then save & close and cancel buttons should get disable. I have tried this but its not working. Please help me VF Page : jQuery ...
2
votes
2answers
68 views

how to overcome jquery conflict

I have a table which displays list of records.I want to achieve sorting and pagination function for this.As shown in figure i have achieved pagination and sorting.But this is affecting my tabs which ...
2
votes
1answer
48 views

Visualforce component on page - not rerendering after onclick event

I'm attempting to rerender an apex:outputPanel containing a visualforce component. When I click the panel containing the onclick code to call the controller method to change values and rerender, ...
1
vote
0answers
50 views

How to dynamically expand a selected Row based on defined component

I have a page which basically displays a table of contact details.Upon clicking a row, I want to be able to display record detailsat the bottom of that row. These would be defined fieldsets which are ...
2
votes
2answers
125 views

Difference between apex:composition and apex:component

Please let me know the difference between apex:composition and apex:component Help is much appreciated.. Thanks
0
votes
1answer
34 views

message compontent(s) on your Visualforce page

i need to insert two different message error in the save method. in my controller i done: two IF and everyone had : 1) ApexPages.Message myMsg = new ...
1
vote
2answers
47 views

ActionFunction is working only with reRender=“” and not with any value inside it

I am experiencing a strange behavior for the first time... I have a actionFunction in my apex compoenent, which has reRender to some panel id. The panel doesnot reRender at all even though the ...
0
votes
2answers
36 views

Javascript compare set with string in apex page

I have below apex page snippet where javascript fails to execute and errors out whole page because of failing to compare. Can someone help me here? Here intersects come from controller which I checked ...
1
vote
2answers
67 views

VisualForce - Row Headers

Anybody know how to display headers in rows? For example: Header Value ====== ===== Name Joe Smith Address 111 North First St. City Los Angela I have tried <apex:column ...
0
votes
1answer
25 views

Difference between the way object values are fetched in Salesforce

In salesforce any object attribute value(let say case recordtypeid), can be fetched using two ways, {!$case.RecordTypeid} - with dollar sign {!Case.RecordTypeid} - without dollar sign Can anybody ...
-1
votes
1answer
21 views

How to use D3.js file in VF Page [closed]

HI could anyone please say how to use d3.js step by step procedure with small example from the scrtch like loading the script in static resuorces will be so thank full to you in Advance
0
votes
1answer
61 views

Using apex:Component within Angular Repeat

I have done a VF Page which pulls data through RemoteAction Methods and display it. On clicking the row ,jumptron should display its related information whose logic resides in a apex:component. All ...
2
votes
1answer
60 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: ...
1
vote
1answer
59 views

Access the edit page buttons from visualforce area home page component

After Summer'15 release the html area home page components with java script is not going to work. So we are using visual force area component. I am trying to rename Save button in all standard page ...
1
vote
1answer
40 views

Force.com IDE: issue saving custom components

I'm using Eclipse Kepler and the Force.com IDE for Spring '15. I've created a custom component that I can't save in the IDE. This component defines a pageblocktable, which includes a column defined ...