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
1answer
23 views

How to delete the repeat values in visualforce page?

How to delete the repeat values in visualforce page?i am passing the values in repeat function.every record having delete button.i need to delete particular record.can anybody help me on this. <...
0
votes
1answer
25 views

setTimeout function closes Modal Dialog from Visualforce Page

So, I have some code in which setTimeout is not working as wanted. I need getParameters() to run (which is a method in my Apex controller). This method needs to finish running which is where the ...
0
votes
0answers
16 views

Visualforce - use of commandLink function

I am at the final step of recreating a filtered Related List using a Standard Controller and an extension. Since I am not using the standard related list, I am not able to make use of the features ...
2
votes
1answer
14 views

Visualforce Email Template Not Showing Recipient Name

I have a Visualforce email template that is being used as part of a WFR Email Alert. I have multiple recipients in the email alert. How would I get my VF template to email each of these recipients? ...
0
votes
1answer
7 views

Command link click submits the whole vf page

I have a command link which submits the whole form when I try to click on it instead of displaying the error message on the vf page. The vf page code is <apex:pageBlockSectionItem rendered="{!...
1
vote
2answers
30 views

Show error message in Visualforce Page

I have a visualforce page with custom controller. I have added apex:pagemessages in a helper static class and for some reason the messages are not displaying on my Visualforce page and I'm not sure if ...
0
votes
1answer
20 views

Converting MasterDetail Relationship to lookup and Its impacts on Reports

We are working on urgent requiremnt where i am looking for the best approach to to achieve this. What impact would be on report, i have read many articles that warns doing this as this might impact ...
0
votes
1answer
11 views

Call rerender in middle of call-stack to navigate to new record on create

So I have a controller which creates a record and an ID is set on create. I have a controller reference that works after the stack is complete but not in the middle: example that works: 1) button ...
0
votes
2answers
13 views

My error in the visual force page is not displaying

On the visual force page I have a method that is being called by clicking on the command link as follows <apex:actionRegion> <apex:input type="date" value="{!...
0
votes
1answer
18 views

Updating controller reference variable for access via Javascript

I have a controller which creates a record (and consequently an ID). After the record is created, variables are set. However, when I attempt to access the variable after the controller action has ...
2
votes
1answer
19 views

Visualforce Required Fields and rerender

I have a Visualforce page that uses actionRegion and actionSupport tags to render a section of the page based upon the value selected in a picklist field. That all works fine. However, some of the ...
0
votes
0answers
15 views

I have a visual force page that I am embedding into the opportunity page, Where filters are not working

Controller public class OpportunityShipToSelectExtension { private final ApexPages.standardController controller; private final Opportunity obj; public OpportunityShipToSelectExtension(...
1
vote
1answer
22 views

Radio buttons and loops and DML

Is there any way to for loop through many records and put a new radio button + name/id/something of that record? Also, is this done with VF page or controller? Last, is it be possible to get a small ...
0
votes
2answers
23 views

Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 156.828KB

Following is the code in which I am getting a view state error : VF PAGE: <apex:page standardController="Technical_Verification__c" extensions="tvDocUpload" sidebar="false" showHeader="false" ...
0
votes
1answer
27 views

Comparing values using maps

There is One Account to Many Opportunities. There is Amount field in Opportunity. I am trying to find Opportunity with Minimum Amount against Account Id. I need a map like this Map<Accid,...
0
votes
1answer
18 views

How to check richtextbox is empty in salesforce?

Whenever we have display record on vf page , when we have decided record cannot display when richtextbox is empty. I am using apex class.
0
votes
1answer
31 views

Send push notification to mobile from lightning app

Is it possible to send a push message from a salesforce lightning app? For instance suppose a record has been created and I want a push notification in my mobile phone. I am fairly new at this and ...
0
votes
1answer
23 views

query to get user info using Ajax

emphasized text <apex:page > <script> var result = sforce.connection.query("Select Name,Id from User", { onSuccess : success, onFailure : failure}); function success(result) { var it = ...
0
votes
1answer
15 views

How to scroll the repeat values in visual force page?

How to scroll the repeat values in visual force page.i have more data in repeat values.i need to put scroll bar to move and show the data. <apex:outputPanel rendered="{!Testvalues.size != 0}" >...
0
votes
1answer
29 views

Render second page block table after command button of clicks of first PB table

i have written two page block tables and one button for each table(selectMail,SeneEmail).when i click first PB table button i want to show second page block table Page <apex:page ...
2
votes
1answer
22 views

Create a record from Visualforce Page

I have a custom object with 5 Questions and field Api Names are Q1__c, Q2__c, Q3__c, Q4__c, Q5__c Requirement : This is a Question answer from with question having more than 40 characters so i am ...
0
votes
1answer
14 views

Can we create List controller for CampaignMember

When i try to create a List Controller, i get the "List controllers are not supported for CampaignMember" error. Does SFDC does not allow to create List Controller for Campaign Members
0
votes
0answers
31 views

Visualforce security settings in a managed package

I'm developing a package and I just tried to use it with another non-system-administrator user account. When I tried to access the Visualforce page I got a "permissions denied error". So I went into ...
0
votes
1answer
26 views

How to add repeated Footer to PDF Visualforce? [duplicate]

I have a requirement where I have to add a footer to PDF, This footer will be repeated for all the pages. I am generating this PDF using Visual force PDF renderAS functionality. I have gone through ...
1
vote
1answer
30 views

Custom Label in Javascript

I have a piece of Javascript in a Visualforce page. I would like to change the Status of a Case when a button is clicked invoking my Javascript function. I can't figure out the proper syntax for ...
1
vote
1answer
38 views

Strategy to convert visual force to lightning

Sorry to be too broad. I have a client now who is in the process of converting their org to Lightning. There are a lot of Visualforce Pages in use. We are in the process of evaluating whether or not ...
1
vote
1answer
33 views

apex:repeat tag won't increment apex:variable

Below is a snippet of code in which an apex:variable is not increment inside an apex:repeat tag. In this case, the var="rowCount" gets incremented without any issues, but the var="headerCount" does ...
1
vote
0answers
20 views

How does the sort in Quotelineitems work?

How does Sort button work on Quotelineitems? I am trying to get the same way of sorting on VF page. I am opening a VF page to add and edit lineitems. i want the VF page to show the same sorting which ...
0
votes
1answer
12 views

How to use colspan in apex:pageBlockSection VF pages

How can I align the same Emp Department fields with the Employee pageBlockSection? I have tried all sort of technics but no success What I want is simple align with Employee pageblockSection. Also I ...
1
vote
1answer
43 views

Bind Data to Lightning Design System in a Visualforce Page

How can I bind data to controls built in the lightning design system within visualforce. It seems that it's more HTML/CSS based vs apex:control based. Changing my question to refine and make more ...
0
votes
1answer
23 views

How to add map value to the object field?

I am inserting records using excel file on VF page. So based on the values I want to map the product names while inserting. I am trying the below code it is inserting all (I want to insert record if ...
1
vote
0answers
23 views

How can i show 24 hrs format in vf page?

I get 05:50 pm but it should be 17:50 <apex:outputText value=" {0,date,dd/MM/yyyy HH:mm}"> <apex:param value="{!wrap.lastmodifyDate}"/> </apex:outputText>
0
votes
0answers
4 views

Contact Related Object list buttons not displaying on opportunity,Cases in Lightning Experience [on hold]

Contact Related Object list buttons not displaying on opportunity,Cases in Lightning Experience. Can you please guide me .....
0
votes
0answers
20 views

Need to Hide the Scrollbar when a modal dailogbox open [on hold]

On click of a button we are opening a modal dialog which contains a Visualforce Page. I want to hide the vertical scroll bar in this page. I tried with Overflow: Hidden also in the dialog code but it ...
0
votes
0answers
8 views

Show tables from Lead's “Find Duplicates” page

The client(my teacher :) ) wants to see the possible duplicates(based on predefined criterias like "Name", "Email" etc.) on Lead's page. First idea was to create custom VF page with standard Lead ...
0
votes
0answers
16 views

Display Related Field Values Upon Searching The Record in Lookup Field

How can I display the field values related to the searched record from the lookup field? I have a Return__c object. Its page contains a lookup field referencing the Order_Form__c object. Upon ...
0
votes
2answers
12 views

Page not rendering to new values of the search results

I am searching my for the records which satisfy the query in the controller. My page gets rendered correctly the first time I click the search button. But when I change the value for the query on ...
0
votes
0answers
18 views

How to populate list from custom object? [on hold]

I am wanting to use the selectradio option and I want it to populate the custom list that I created within an object. How can I achieve this?
0
votes
0answers
14 views

Save of detail page should also save the inline page

We have standard detail page. On this page we have inline VF page to provide some special UI. We have enable inline editing on standard detail page as well as on inline VF page. Now user need to ...
0
votes
0answers
13 views

Recurring task for weekly option

I have a start Date and I have to calculate the end Date based on the recurring task functionality in salesforce having the weekly option. If someone could explain the algorithm behind it and also ...
1
vote
3answers
47 views

Header Image in Visualforce PDF

I am looking to embed an image in a PDF rendered in Visualforce. The goal is to have the PDF look like it's on a letter head. I've tried a number of different approaches to this but can't seem to find ...
1
vote
0answers
15 views

How to display fieldset fields in a 2 column fashion with Lightning DS?

I'm trying to use LDS to display some fields in a VF page. Most sections in this page display the data with 2 fields per row with its label like the pageBlockSection tags do. This page was a regular ...
1
vote
1answer
23 views

Dynamically can't update default value of multiselect picklist field when it is dependent on other picklist

There are two objects obj1 and obj2. Obj1 has picklist(multiselect) field as f1 and it has values as A B C and D, obj2 has picklist field as f2 and picklist(multiselect) field as f1(same as obj1.f1). ...
0
votes
1answer
31 views

Export and import data from one object to other within salesforce automatically

There are 2 objects in salesforce. object A and object B. Data (1000's of records) in object A is inserted by integration process(fetching from external system and inserting in salesforce object ...
1
vote
1answer
31 views

how to include image as header/logo in a visualforce pdf page

I am trying to build a pdf page where the header/logo includes an image. I have tried the following but no luck yet: <apex:page standardController="proposal__c" extensions="...
0
votes
0answers
9 views

Why Japanese labels are not wrapping as English word in visualforce page?

I am in trouble with Japanese labels in visualfore page while its lenth is too long than word is not wrapping in my pagesection <apex:pageBlockSectionItem rendered="{!CONTAINS(sApiName, '...