Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [visualforce]

Visualforce relates to questions where the Visualforce language or framework are concerned. This is primarily VF pages, components, PDF rendering, and email templates. This would only cross-over to Lightning where Lightning Out (Lightning for VF) or VF pages using SLDS or being used in LEX. Where a question relates to Apex invoked as part of a VF page, this tag would also be appropriate.

-1
votes
0answers
15 views

Unknown function $Action.determineIfCaseShouldOpenSubTab Getting Error while writing URLFOR Function for Static URL

I am writing URLFOR Function for static URL in Visual force Pages. Getting Error.
0
votes
0answers
12 views

Error when adding field to custom lead convert page

I am getting this error now that I added Lead Status Reason to my custom lead convert page: "The dependent picklist 'Lead Status Reason' requires its controlling field 'Lead Status' to be present on ...
0
votes
1answer
10 views

Export Event standard Classic button component for Lightning not working

I'm working with a quick action that retrieves Event record information and send an email with an .ics related file as attachment. This is my vfp for .ics file: <apex:page standardController="...
0
votes
1answer
10 views

Custom Visualforce Quick Actions not Visible in Salesforce1 but visible in Desktop

Made a visualforce page and created a Quick Action for it - added it to the Page layout inside Salesforce Mobile and Lightning Experience Actions. Yes I can see it and use it normally in Desktop - ...
1
vote
1answer
13 views

Unable to append account details from URL

I'm new to vf page I have a requirement to assign a vf page for a specific record type. I'm able to do by through a vf page. Now my problem is once I select the record type from vf page. I'm not able ...
0
votes
0answers
10 views

Custom Visualforce Action with Redirect to External Site not Opening in Chrome, Only IE!

In a bit of a pickle right now. In Classic, one of our developers made a Visualforce detail button on the Contact object. The VF page referenced is merely a redirect to an external site, but its ...
1
vote
1answer
29 views

New custom field missing in standard controller?

This should be a simple change. I am modifying code from a previous developer so if there are any suggestions they are very welcome. This is a simple button to call a VF page that will produce a pdf ...
0
votes
1answer
15 views

Apex:inputfile customize

Im trying to display the uploaded image name for the apex:inputfile. I think i need to modify my controller to add the display action,but dont know how to do it,any ideas? <apex:page > <...
0
votes
0answers
14 views

Redirect to custom lead convert page versus the standard

I have a custom button to remove a lead from workflow in order to be converted. This button then redirects to the standard lead convert page. I have created a custom convert page and I replaced the ...
0
votes
0answers
10 views

Rendered causing button to not work

I have the below code which is rendered when the variable Flag is set to true. In the constructor of my class, I set the flag to true by default and only change it to false in the constructor if a ...
0
votes
0answers
13 views

How to access multiple list on visual force page as like single table? [on hold]

My scenarios is , i have three list and this list is all different types. I want to access this three lists on Visual force page in salesforce as look like single table. Please give me solution of ...
0
votes
0answers
14 views

Visualforce pages vs Community pages [on hold]

I'm trying to understand how Visualforce pages and Community pages are being used by customers. We'd like to use Salesforce to create public facing sites where we can dictate the look and feel as ...
-1
votes
1answer
32 views

Using HTML skills in development [on hold]

I have knowledge of HTML / CSS and some basics of JavaScript, where and how can I use this knowledge in developing on the Salesforce platform? I know VisualForce and Lightnin Web Components use HTML. ...
0
votes
0answers
16 views

How to create a workaround of a self- reference building a filter with an apex form wrap in a visual force page

I have got a lot of research and recherche done as this simple where clause doesn't work because of it self-reference. I want to display all leads and opportunities who have the same "datefield x" as ...
0
votes
1answer
23 views

Display * for password in <apex:inputSecret> in VF page

I am using following code to display the password on the VF page: <apex:pageBlockSectionItem helpText="Docusign Password"> <apex:outputLabel value="Password" /> ...
-1
votes
0answers
9 views

How to Integrate twitter tweets in salesforce account object using visualforce [on hold]

Hi Guys i have a requirement to integrate twitter account tweets into my salesforce object like i will be creating one vf page and a button in that so once i click the button then i should be able to ...
0
votes
1answer
22 views

How to concatenate two variables in visualforce

Getting errors when I try to concatenate two variables value in apex:outputText tag. For example, if I have two variables Start_Date__c and End_Date__c, I want to display in page as below ...
0
votes
1answer
12 views

Creating and downloading a text file on a Visualforce page

I've built a visualforce page that has a button that creates and stores a text file as an attachment on a custom object. I'd like for this text file to be available as a download link on the ...
0
votes
0answers
21 views

Dynamic rerendering of output panel

Requirement: A visualpage will have a button, which can be clicked 10 times, each time a new section is created. Each section has a static section and a dynamic section in which Case fields needs to ...
0
votes
0answers
10 views

Standard multiple picklist field Not Showing properly on vf page

On my VF page, I called standard multiple picklist fields like this way <td><apex:inputfield value="{!order.Coat_TIC_PKT__c}" styleClass="testInput"/></td> it's showing properly on ...
0
votes
1answer
25 views

apex:inputField not getting created when created via javascript

Standard controller is already applied as case, just not mentioned here. VF Page : <apex:form> <div id="testAIF"> </div> </apex:form> From ...
0
votes
2answers
30 views

custom setting not displying correct picklist values based on the condtion

i have a custom setting called product and under that i created two fields called and other is string field BD__c. i want to display picklist value based on string matching record. my custom setting ...
0
votes
0answers
18 views

Select Opportunity Product Instead re create them

I have a dynamic picklist (SelectOption) of PricebookEntry Which I build with a SOQL after selecting a product. after selecting few PricebookEntries - I need to create a new Opportunity and insert ...
0
votes
0answers
18 views

Redirected to Classic From Lightning

We have placed VF page in the account detail page, we are using lightning. In VF page we placed a button, if user clicks on button then it takes us to salesforce standard edit page. Issue here is, ...
1
vote
1answer
15 views

Action Function nulling out values unless rerender is specified?

I have the following part in my visualforce page: <apex:form> <apex:actionFunction name="interestInShowConfirmed" action="{!interestInShowConfirmed}" /> <apex:actionFunction ...
1
vote
1answer
22 views

Remove(substring) doesn't remove table rows permanently

I've been searching the net as I could but could not resolve my problem. In my VFPage I have this column with "Cancel" commandLink that should remove assigned row for good from DB. What happens is ...
0
votes
0answers
25 views

Difference in Salesforce Development [closed]

Since I am new to Salesforce, and all the articles are difficult for me (due to difficulties in understanding English) Maybe someone will explain what the difference is and what is it for and how do ...
1
vote
0answers
30 views

VisualForce vs Lightning [closed]

1) What do you think, when Salesforce completely (or almost completely) abandons VisualForce and switches to Lightning? 2) And why do you think that you should not switch from VisualForce to ...
0
votes
1answer
20 views

Change Url Params

I got lost here with an issue when I try to achieve a case which a user can click on a button and change the language of a form in visual force page. I know a way which works but don't support IE ...
0
votes
1answer
26 views

How to call java script function without refreshing page?

When I'm trying to solve witout refresh page (Map should not blink on increasing of list index). I have tried it , but it's not happening without refreshing and i want to solve this problem with java ...
0
votes
1answer
13 views

How to add GTM Codes in the Visualforce Page

To integrate SF Community with Google Tag Manager, GTM provides two code snippets to be installed into 'head' and 'body' tag of the Community site. SF Community allows to install code-snippet into '...
0
votes
1answer
24 views

Mark the map with leaflet.js

I want to make marks on the map with the fields addresses(Shipping and Billing), the fiscal address. it's a custom field for now I do not think I'll converse on the map mark. I understand that it has ...
0
votes
1answer
48 views

Apex:inputfile style

Im trying to give the 'choose file' button the lightning style,I tried to set the header on True,but its not working with that component. Is there any other way to do it? <apex:form id="...
0
votes
1answer
21 views

When creating a csv from a custom controller, the resulting csv is skipping lines. How do I prevent this?

I am trying to make a visualforce page where people can download a csv of a small custom Controller. The resulting csv is placing a blank line between records. Is there a fix for this? <apex:page ...
0
votes
0answers
11 views

Open window in same tab after the custom action from dashboard in Einstein Analytics

I have created a Dashboard with table contains Account Records. I have added the custom action "Account Update"in the lens to call my VF Page .It is opened in the new tab. Can i open the page in same ...
0
votes
0answers
16 views

Anyone tell me how to subscribe/publish data from Kafka

i want to subscribe a push topic that returns some data(Lattitude and Longitude). and these data(LIVE streaming i mean, it draws the direction on the map. while persons is moving from src to dest ...
0
votes
0answers
12 views

Populate Associated Account when Selecting Contact Lookup field on VF Page [closed]

How to populate associated Account Lookup field value when selecting the Contact lookup from VF Page?
1
vote
2answers
40 views

How to iterate and display nested map (map<string,map<map<string,string>,string>>) in vf page?

I am getting the value of map<string,map<map<string,string>,string>> for controller. I need to iterate and display the value in vf page, But I am not getting the output. <apex:...
0
votes
1answer
32 views

Pre-Populating fields on vf page based on ret URL

I have a vf page tied to a force.com site which is being used at different places on my company website like support FAQ page, new account request etc and I want to pre populate the subject field on ...
0
votes
1answer
37 views

How to insert a custom object that inherits from the object Account with custom fields

I want to save the fields BillingAddress, ShippingAddress and a custom field "FiscalAddress" I understand that the API only have BillingAddress and ShippingAddress and I need one more. I want insert ...
0
votes
1answer
24 views

Parsing / Displaying TextBody from EmailMessage

After querying an EmailMessage select id, subject, textbody from EmailMessage I get the following textbody value displayed when rendered to a Visualforce Page: Email reply --------------- ...
0
votes
3answers
19 views

Data is not displaying on VF page but coming in Debug logs

Starting date of current week is not displaying on VF page (blank data), but coming in debug logs. Controller Code: public with sharing class Dummy { public date weekStart {get;set;} public void ...
0
votes
1answer
26 views

make a required field in VF page

I'm trying to make a required field input - But when I put **required=true** in the apex:input component, Its like stuck the next JavaScript-dependent part and it's not working well until I fill it ...
0
votes
1answer
11 views

Get js value and display on visualfoce page

I want to pass the value I got at js to apex. I was able to obtain the record ID obtained on the object details page with visualforce. I want to pass the acquired value to the controller and display ...
1
vote
1answer
22 views

How to pass JS value from apex to inputText in visualforce?

I would like to pass value to from apex. 1.I get the value from javascript. 2.I want to pass the js value to apex. 3.By Apex constructor, I want to get the js value. 4.inputText in Visualforce page ...
-2
votes
0answers
13 views

Two radio button in table wirh ochange input field should appear [duplicate]

Matter detail (Name, type,client name etc) having two radio button on left side Full Payment Partial Payment By default "full payment" radio button is selected if client select "Partial Payment" ...
0
votes
1answer
18 views

If a field in Visualforce pageBlockTable is empty, I can't edit it to add data

I'm creating a Visualforce pageBlockTable for some custom fields on an Opportunity record. It works great when data is entered upon creation of an Opportunity record, but any blank fields in the ...
0
votes
0answers
13 views

On the fly roll-up Report

I'd like to be able to create a report showing a roll-up summary of Campaign Members per Campaign, where different date fields on the Campaign Member are summarized using a common date range. For ...
0
votes
0answers
13 views

How to pass parameters to $Action Global Action dynamically in salesforce

How to Pass parameters to Global Action {!URLFOR($Action.Case.NewCase, $ObjectType.Case, [Related_Opportunity__c = '00618000007ynVjAAI'])
0
votes
0answers
18 views

rerender does not work when the outputPanel id is made unique

<apex:page id="idPageComponent" standardController='Case' extension='testController'> <apex:form id="idForm"> <apex:actionFunction name="testMethod" action="{!testMethodDetails}" ...