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)

-2
votes
0answers
16 views

How to allow multiple selection of Custom lookup record selection? [on hold]

Please provide the Custom lookup Multiple records selection code to my mail id::vijju71 gmail.com Thanks
-1
votes
1answer
19 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
23 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
14 views

Visual force page hierarchy grid component

Any recommendations on grids that are richer than standard HTML tables? I need a data grid to list sObject rows and attribute column on a VF page under a Salesforce tab. The attributes are a mix of ...
0
votes
0answers
11 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
19 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
28 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
36 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
32 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
13 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
28 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
30 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
21 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
14 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
27 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
19 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
18 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
20 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
39 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
34 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
63 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
34 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
34 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
61 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
29 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
votes
0answers
17 views

Related to visual force component

I am returning an email of user from a controller to component,the problem is i am assigning the email to another value(p) but its showing null value in p how to pass the email to component.
1
vote
2answers
32 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
31 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
50 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
24 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
15 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
45 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
40 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
46 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
35 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 ...
3
votes
1answer
56 views

Why won't my component show up in the layout editor

I made a component that I wanted to add to the Account layout, but in the layout editor, it doesn't list my component under "Components". What's going on? How do I get it to show up?
1
vote
2answers
69 views

Coordinates in Visualforce map results in different location to Google maps

I am using the apex:map component in a Visualforce page. I can successfully render a map using coordinates pulled through an apex class. However, the resulting location on the Visualforce page is ...
1
vote
2answers
145 views

Home Page Component - Summer 15 issue

I was using HTML component in home page component for advance search functionality in Narrow (Left) Column of Home Layout. My HTML component was <script language="JavaScript" ...
3
votes
2answers
68 views

Refresh the object detail page instead refreshing inline VF page when clicking on the inline VF Button

I use a VF Component and it's embedded in an inline Visualforce page. I have a button called 'Submit' in the Component. I want to refresh the whole Object record page instead the Visualforce page when ...
0
votes
1answer
33 views

Link VF page to Button [duplicate]

How to give a VF page link to custom Button(In yellow Circle). My VF page Name is CreateUserPage.
1
vote
1answer
65 views

Google chart not displayed on VF Page

I am New to salesforce i am looking for embedding a Google chart in visualforce, I found this following snippet in Saleforce developer forums, I just copy phasted this to observe the response, But i ...
1
vote
1answer
75 views

Nested Tables - How Can I Add A Child Row Dynamically

Working on Nested Table Functionality, I was able to display the Master-Detail custom objects Master__c and Child__c in a Nested Table. Now, I need to add row/delete functionality for the Child ...
6
votes
2answers
186 views

How to build better UI for native Salesforce.com desktop apps (no mobile)

Everybody is talking about Lightning and mobile but I saw not a single webinar and did not read a single word how Lightning and all those new, complex and not yet ready for production frameworks will ...
3
votes
2answers
61 views

Homepage Visualforce Component - Adjusting Width

i have the following problem: I made an Homepage Visualforce component to show some info to my customers. <apex:page controller="UserApprovalProcessCtrl" showHeader="true" sidebar="true" > ...
-1
votes
2answers
61 views

How to return value from Component to VF page?

I have requirement to return sobject from Component's repeat loop to main page in which component is used. And in main VF page i want to just display the field and its value. Note: all this happening ...
3
votes
1answer
61 views

Displaying Account query results to APEX Page

I have the following Controller and Component working together. My issue is that the acctWrapList isn't displaying to the page. I put in some debug logs and it's showing the account data in the logs ...
3
votes
1answer
85 views

Unable to set controller extensions property with component attribute

I tried setting "accType" property in this extension class with "Customer - Direct". But it is not getting set or getting set as NULL. My VF Page <apex:page standardcontroller="Account" ...
2
votes
2answers
137 views

ApexPage.Action passed to VF component as component stays null and cannot be invoked

I have a custom VF component that gets passed in an ApexPages.Action (=passedInAction()) that needs to be invoked when the user performs some changes inside the component (=doInvokeAction() method). ...