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.
16,708 questions
0
votes
0
answers
5
views
The link you followed isn’t valid. This page requires a CSRF confirmation token. Report this error to your Salesforce administrator
After installing the latest Adobe sign I have run into this problem. The link you followed isn’t valid. This page requires a CSRF confirmation token. This happens when I try to submit a doc for ...
0
votes
0
answers
11
views
How should I pass JSON string to a child VF component attribute from a parent VF email template?
I trying to pass a JSON string to a child VF component attribute from a parent VF email template.
Child VF Component - HAB_RelatedListCmp
<apex:component access="global" controller="...
-1
votes
0
answers
17
views
Visualforce <apex:commandButton> Redirecting Instead of Re-rendering on Discount Section Update
I’m facing a frustrating issue with a Visualforce page that worked earlier but started redirecting or reloading the full page when I click a "Discount" button, instead of re-rendering the ...
0
votes
0
answers
50
views
rendering vf page as pdf where i am using css "word-wrap: break-word;", if input data having no whitespace
created in Visualforce page and rendered as a PDF. There are columns where long texts (with no whitespaces) can exist. to make these texts to wrap so that it doesn't overflow to the next column. I ...
-1
votes
0
answers
21
views
How can i retrieve a static value set by the websites backend in LWC pre chat custom component
In other words if the website passes the customer type and i want to use the customer type in order to filter a dropdown list how do i pass the value from the messagin vf page to the custom pre chat ...
0
votes
1
answer
54
views
Using picklist merge fields in VF Email Templates
I have created a simple VF Email Template, which includes one picklist merge field. The merge field has been translated to German in the translation workbench. I am setting the language of the ...
0
votes
0
answers
45
views
Problem generating visual force page parameters on the fly
I have a main class and a subclass that is a list inside of the main class -
public class PDFVendorQuote {
public String workOrderId { get; set; }
public String workOrderNumber { get; set; }
...
0
votes
1
answer
54
views
Not able to access controller variable in visual force page
I am not sure what I am doing wrong here.
Here is my controller class which acts as a controller class for the visual force page and also has an invocable method -
public without sharing class ...
1
vote
1
answer
45
views
Broken Visualforce Buttons
I have a problem with visualforce command buttons. The buttons are not hard-coded, they are defined by the controller and the page then iterates through them and renders the buttons. Here is a simple ...
0
votes
1
answer
35
views
Problem with accessing sobject records using current page parameters in visual force
Here is the SOQL to get the records -
Apex Class -
List<Vendor_Quote_Line_Item__c> vendorQuoteLineItems = [SELECT Id,
Product_Name__r.ProductCode,
Product_Name__r.Name, ...
-1
votes
1
answer
48
views
I need to display currency format in the subject of VisualForce Email template
I want to display a currency field in the currency format. It is displaying as a number now.
For example, if the amount is 150000, i want it to display as $150,000.
I'm using VisualForce Email ...
0
votes
0
answers
37
views
Images stored as SF Files are not rendered in PDF Report
In our project we used both aura component and visualforce page resided inside a Lightning Page to create pdf report. Aura component fetches required data, configured template and uses Handlebar.js to ...
2
votes
1
answer
35
views
Error with StandardSetController.getSelected() due to Encrypted Name Field in Production
I'm currently using a Visualforce page to get selected record IDs from a list view (via a custom list button) and pass them to an Aura component. To retrieve the selected records, I’m using ...
1
vote
0
answers
34
views
VF page-launched screen flow displays required field error twice
I am invoking a screen flow from a Visualforce (VF) page. However, I have encountered an issue where, for the screen component, whenever I set the component's "Required" attribute to true in ...
0
votes
0
answers
55
views
Need help adding images to WORD/Google Docs generator using VisualForce
I have the current problem: I am trying to include a image (using the Documents structure, I tried the 3 methods listed here ) to my VisualForce Page, so that I can generate a WORD/.DOCS file with it. ...