Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

VF page not loading when I updated the API version

Our project is updating all the Pages/Components which are below API version 30 and as part of which I have updated the SOAP API version of an existing VF page from 29.0 to 56.0. But while testing I ...
sfdcTod's user avatar
0 votes
1 answer
36 views

Visualforce component not triggering getters

I have a task to create a email template which uses a visualforce component with some tables of data on Leads. The email did not show the tables properly so I put the VF component on a VF page to ...
Răzvan Busuioc's user avatar
0 votes
1 answer
29 views

Property type misidentification in VisualForce Page

I'm deploying all the code from a 1stGen Package to a new Scratch org, to improve our development/testing/release process. There were a few deploy errors but I've fixed all but two types. This is one ...
cyberspy's user avatar
  • 210
0 votes
0 answers
25 views

Prettier, in VS Code, failing to format SOME VF Pages

I'm using Prettier, along with the plugin prettier-plugin-apex in VS Code, to format Salesforce classes and Visual Force pages etc. It works (formats my docs on Save) most of the time, but now some, ...
cyberspy's user avatar
  • 210
0 votes
0 answers
42 views

Image is rotating to left in Visualforce Page using RenderAs="pdf"

I'm facing an issue: I'm creating a PDF and using the image stored in the files object. I'm creating a Visualforce page with RenderAs="pdf". The image is appearing, but it's rotating to the ...
Aditya Narwade's user avatar
1 vote
1 answer
28 views

How to wait for a VisualForce script to execute when calling it from an Apex method via PageReference?

I have an Apex controller MyController which calls a VisualForce page via PageReference. Here is my controller: public with sharing class MyController { @AuraEnabled public String param1 { get;...
ViqMontana's user avatar
0 votes
1 answer
30 views

Changing the layout of the standard button for the custom object

there is a change owner button standardized by salesforce. They want to add another checkbox on the layout of this button. How can I add this field to the layout of this button? Note that It shouldn't ...
Saber's user avatar
  • 11
1 vote
1 answer
36 views

Show record list after inputFile in visualforce

I have a problem with inputFile and commandButton in visualforce when to try updating list value during upload CSV file. My problem is list value inside PageReference method is not shown and instead ...
Ichwan Sholihin's user avatar
0 votes
0 answers
34 views

Extra Page When Printing Web Pages in Lightning Experience

When printing web pages in Lightning Experience, there is always an extra page. This is true for any Record pages, App Pages from Lightning Component or Lightning Page Tabs. Adding css in Lightning ...
Sid Fortunato's user avatar
1 vote
1 answer
55 views

renderAS="pdf" not converting to hebrew language

im using renderAS="pdf" in my vf page, when it converts to pdf file it does work fine for english text, but the pdf is not converting to hebrew language. Is there a way to do it ? using ...
DeveloperNew's user avatar
0 votes
1 answer
29 views

VisualForce apex markup code to open salesforce report using its name

I am having scenario where salesforce tabular report needs to be opened using the report's name(and not id) through VF Markup. I have tried the following in VisualForce Markup and a new page opens but ...
bibar's user avatar
  • 13
-1 votes
0 answers
27 views

Google Ads in Lightning Web Component in Experience cloud site

I am trying to add google ads in Salesforce experience site via a custom component. for that I have wrapped a vf page in LWC. when I preview the vf page with link https://----c.sandbox.vf.force.com/...
Pksahani's user avatar
0 votes
0 answers
29 views

List button with Visualforce page on related list

I am trying to build a custom solution wherein I have a custom list button to be shown on related list of OpportunityLineItem. The list button is on standard object OpportunityLineItemSchedule which ...
Deepak Agarwal's user avatar
0 votes
1 answer
41 views

No ApexPage named CommunitiesLanding digital experience deployment

I am trying to deploy digital experience metadata. Default index page is CommunitiesLanding (which is default sf visualforce page). I am getting error Error: In field: indexPage - no ApexPage named ...
Alivarq's user avatar
-1 votes
1 answer
44 views

Redirect from Salesforce to Visualforce Page in Community without logging in

My team is currently working to move a Visualforce page to a Digital Experience as for technical security reasons, we need this to run under our white-labeled domain. We're having a tough time though ...
E.Hirsch's user avatar
0 votes
0 answers
28 views

Error with Google map API

I have an aurra component with an embed VF in IFRAME. The VF is displaying map using the google map API, I have some fonctionality in it, and it is working very well. When I try to access to the ...
Raphael D's user avatar
  • 616
0 votes
1 answer
30 views

VisualForce page doesn't display list record from controller

I have a controller to store list from custom object, it shows policy that registered in Contact or not from csv file. But when I store this list in VisualForce, thats not shown anything record. Its ...
Ichwan Sholihin's user avatar
1 vote
2 answers
36 views

visualforce test class ApexPages List has no rows for assignment to SObject

Despite having all records properly created, this test class is still throwing an error "List has no rows for assignment to SObject" in the line UpdateRecordWithLocationController controller ...
Bernardo Lira's user avatar
1 vote
0 answers
28 views

visual force page deployment using change set

I am trying to deploy the visual force page using the change set and getting the error "
Bhavik Patel's user avatar
1 vote
1 answer
32 views

Escape HTML content in selectOptions

Need to Escape the html character from Selectlistoption without modifying backend logic We have 4 level apex repeats , I have added a repeat as part of this question <apex:repeat value="{!acc....
SFDC Learner's user avatar
  • 2,344
1 vote
1 answer
29 views

Passing visualforce page variable to component in hierachy

I have 2 visualforce pages and a component 2visualforce pages deatils are below TestVfp, testPage2 Component testComponent In TestVfp, Fetching logoutRedirectURL from testController Apex Class &...
SFDC Learner's user avatar
  • 2,344
1 vote
1 answer
70 views

Guest User is generating and inserting Blank PDF through VF Page

Facing an issue when generating a PDF through the VF page from a Guest User but for the same code from the System Admin Profile, it's getting generated and inserted successfully.For the guest user, ...
SHUBHAM GUPTA's user avatar
1 vote
0 answers
56 views

Close a CPQ custom action popup that has an embeded LWC

I have a CPQ custom action on the Quote Line Editor, this opens a VF page which embeds an LWC. My setup is the same as this: https://www.sfdcpoint.com/salesforce/use-lightning-web-components-in-...
jbard's user avatar
  • 11
1 vote
1 answer
32 views

Accessing excel within visualforce page

I have created a static resource(Name = Excel_Macro_Report) where I uploaded excel macro file with cache control as public. Then I created visualforce page with the following Visualforce Markup: <...
bibar's user avatar
  • 13
0 votes
0 answers
13 views

Community Navigation LWC in flow component not working

I am building flow component in lwc that communicate with visualforce page. This flow is used in experience cloud and in some conditions I want to direct the user to home page. but the navigation is ...
Y.M.'s user avatar
  • 1
0 votes
0 answers
19 views

In a Salesforce visual force page i want header image followed by content on every page , but in my case image is overlapping content from page 2?

I am having a visual force page where in i want a header image followed by content , but i want content after the header image with the current code everything was fine in first page but from page 2 ...
Lone Warriour's user avatar
0 votes
0 answers
26 views

Need to display a validation error in related list custom button

I have a new contact custom URL button in Account related list contact section. But we do have a requirement that user click on that new contact in account related list if account's Phone field empty ...
Buhuni's user avatar
  • 9
1 vote
0 answers
28 views

Email action in flow send Visualforce Email template Issue

I have a record trigger flow that should send an email when a campaign is created. The email template is a Visual force. I keep on getting this error when trying it. Error element Blast_Email_Alert (...
Marie-Eve Germain-Tardieu's user avatar
0 votes
0 answers
43 views

Reflected XSS vulnerability in checkmarx

The CheckMarx security scanner says that the below line is a Reflected XSS vulnerability. zip = apexpages.currentpage().getparameters().get('gnfzipcode').escapeHtml4(); The above code is from an Apex ...
Aditya Negi's user avatar
0 votes
1 answer
25 views

Display spinner in Visual force page with onclick confirmation dialog

I want to display the spinner when I click on merge button and after clicking yes on the confirmation dialog but the spinner isn't working with onclick confirmation dialog. Here is a snippet of my ...
Abdelrahman zaki's user avatar
0 votes
0 answers
20 views

Including Quote PDF in another visualforce page

Some background; we are on Salesforce Salescloud and don't have CPQ & Billing. We want to add a document at the bottom of our Quote PDF. I found merging PDFs in Salesforce is not an option ...
Diesel__100's user avatar
0 votes
1 answer
40 views

How to highlight fields when a validation error is fired?

I have an apex validation that fires when a field is empty.My requirement is highlight two fields that needs to filled, when the validation is fired. How to do that ?Could someone help? Thanks!
sarah's user avatar
  • 13
0 votes
1 answer
76 views

Using Session_Id in Manage Package?

We have a managed package that connects with an external system. As a manual step, we ask users to manually create an auth provider and named credentials. As part of the new release using ConnectApi ...
Ragul's user avatar
  • 541
0 votes
1 answer
47 views

Unknown property Error on VisualForce Page

I got an error in my vf page. Unknown property 'namespace.boardUtil.boardObject.Name' Here is the code <apex:page readOnly="true" controller="PDFController" ...
Harshit kandpal's user avatar
0 votes
0 answers
42 views

Disable button after reRender

I have a button on the visual force page and I want to disable it for 3 minutes and enable it again after 3 minutes. I can not do this because of reRender parameter. How can I do that? <apex:...
Hakan Cenk Kalınoğlu's user avatar
1 vote
0 answers
46 views

What causes this WARN level message when using apex actionPoller and can we avoid it?

I'm using an actionPoller to sync state between LWC & VF. <apex:actionPoller action="{!resend}" id="resend" interval="5" oncomplete="sendState(request,...
Искрен Станиславов's user avatar
1 vote
1 answer
63 views

Printing Email Messages (via Visualforce)

How can I print email messages via Visualforce?
Liam Heppenstall's user avatar
0 votes
0 answers
92 views

Pass Map from Batch Apex to VisualForce email template and iterate on it

I have a Batch Job called ContractExpirationNotificationJob and it identifies expiring contracts and sends the owners a list of expiring contract records by email. Currently, I am using a method ...
selman's user avatar
  • 25
0 votes
0 answers
69 views

WYSIWYG editor for LWC?

I am looking for WYSIWYG editor to read and edit from salesforce. I have an external system that uses WYSIWYG editor, whereas in Salesforce we are using HTML editor. Can anyone suggest the best way to ...
Ragul's user avatar
  • 541
0 votes
0 answers
30 views

Lightning Flow for Guest Users on force.com Site

I am trying to run my Lightning Flow on force.com site for guest users using VF page and Lightning app as described below. However, flow is not rendered and throws an error invalid session. VFpage: &...
Ajay 's user avatar
  • 1,589
0 votes
0 answers
29 views

Autodesk Viewer3D Third Party library, can I make it work with LWC?

I'm trying to create an Autodesk 3D Viewer inside Salesforce using LWC. I have replicated the same code inside a VisualForce Page and it works perfectly. Reading the documentation I have to load this ...
Corpex's user avatar
  • 101
0 votes
0 answers
23 views

Getting Invalid field ReplyToken__c for SObject Case: Markup while using tooling api to create an apexpage

here is the curl and response I am getting while trying to create an apex page curl --location 'MY_DOMAIN/services/data/v54.0/tooling/sobjects/ApexPage' --header 'Content-Type: application/json' --...
Karan Khadka's user avatar
1 vote
0 answers
53 views

Unmanaged VF page throws an error: Method not visible: [UnmanagedCtrl].getSample()

Problem - We have unmanaged apex page and unmanaged apex controller. Apex page includes managed package VF component in it. Apex class looks like this: public class UnmanagedCtrl{ public String ...
Nakul Kadam's user avatar
-1 votes
1 answer
38 views

Salesforce Report on Profiles, Record Types and Page Layouts

I am an admin and have a request for a report that shows, Profiles, record types and Page Layout assignments. This does not appear to be a report I can pull directly from Salesforce. Any ideas? Thanks ...
Themission's user avatar
0 votes
0 answers
54 views

VisualForce EmailTemplate With unrelated Custom object Data Needs to be sent as email

I have struck in a particular scenario where i need to showcase a data table of unrelated records in the email template. Initially i have created the Email Template. On click of a button in LWc im ...
pavan kumar's user avatar
0 votes
1 answer
35 views

How to call Visualforce Component (wallmart.vfc) inside aura component

I there any way that we can call the Visualforce component inside the Aura component? I tried the below code its not working, Can anyone help me on this? <!-- MyAuraComponent.cmp --> <aura:...
SK2889's user avatar
  • 919
0 votes
0 answers
50 views

div not working as block element in renderAs Pdf in VF page?

I am generating a pdf using renderAs pdf in VF page. In the page the <div> is not working as it should(block) , It is overlapping with its parent div .Here is the pdf: Here is the VF page code: ...
Sahil Gupta's user avatar
1 vote
0 answers
44 views

Inconsistent File not Found behavior in Experience Builder site

note: at time of posting, image uploading is not working. I will try to add images later if possible. We have built an Experience Builder site with the "Build Your Own" template. The ...
Jason Clark's user avatar
  • 11.9k
1 vote
0 answers
135 views

Can I use (and how) LMS to stream events from VF page with WS connection to LWC without clicks in the VF

My VF page is directly embedded into the utility bar. As I have a WebSocket used to stream some events, I would like to find a way to use LMS to stream those events to LWC and Aura components. On my ...
Искрен Станиславов's user avatar
2 votes
1 answer
151 views

Issue with force.com site VF page

Need help for a force.com site requirement. A visualforce page is hosted on force.com site. Using StandardController with extensions in VF page for a custom object. Whenever a new custom object record ...
SF Developer's user avatar

1
2 3 4 5
334