Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [visualforce]

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.

visualforce
0 votes
0 answers
11 views

VisualForce Page data not displayed after uploading to "Notes and Attachments"

As the below given, there is a quick action in Account page, which enters Contact details and on saving, it redirects to the Contact page where a pdf is attached in the 'Notes and Attachments' of ...
Suvankar Roy Chowdhury's user avatar
0 votes
0 answers
21 views

Make field dependency change value in visualforce page

I currently have an issue where any changes I made on the controlling field (Stage field), the dependent field (Reason for Closure) is not changing on the visualforce page. This part is were I change ...
Sigpanda's user avatar
0 votes
0 answers
25 views

Sending email from Visualforce apex controller

I'm having trouble trying to send out an email from a visualforce page controller. Not exposed through a site but rather in the UI. Here's some sample code: Contact contact = [SELECT Id, Email FROM ...
GCL's user avatar
  • 45
0 votes
1 answer
103 views

Prettier failing with "Request textDocument/rangeFormatting failed with message: js_source_text is not defined"

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
  • 1,073
0 votes
0 answers
29 views

Salesforce - Calling multiple actionFunction from Visualforce component and passing value to toast

Please help me here. Here is my code for reference, since the actionFunction returns only Pagereference or Void, how can I return the value of function to the next function. <apex:component ...
user2986018's user avatar
0 votes
1 answer
28 views

VisualForce Markup to open salesforce report using its name

I am new to learning apex code and have a scenario where we need to open a salesforce tabular report using the report's name. I have created VF tab, visualforce page and kept the tab in homepage ...
bibar's user avatar
  • 1
0 votes
0 answers
81 views

Why the Visual Force page request is called twice when used window.open JS from LWC?

The community users can render the VF page as a PDF and record this action in the custom object as a log record when they click the button to generate the PDF from the LWC on the community page (...
kimer's user avatar
  • 1
0 votes
0 answers
92 views

Display visualforce page of a managed package on the Force.com site

I have a visualforce component from a managed package. I created a visualforce page with that component and want to display it on force.com site. But it shows 'Insufficient permissions: secure query ...
Dhairya Koshti's user avatar
0 votes
0 answers
22 views

Automate Visualforce PDF to corresponding G Drive Folder

For every Load (shipment) my company does, the customer must be invoiced. To generate this invoice we have created a Visualforce Page that renders as a PDF. I have a shared Google Drive Folder named &...
Anthony Fecarotta's user avatar
0 votes
0 answers
77 views

Integrate CKEditor5 Document type with Salesforce Visualforce page

I have been trying different ways to use the CKEditor5 inside a Salesforce Visualforce page. The Editor loads ok, but the document style doesn't come up in the expected format. Also, when I type ...
Shiran's user avatar
  • 1
0 votes
0 answers
58 views

Save successful Authorize.net payment details in Salesforce

I am Implementing the Authorize.net Redirect method within Salesforce. A button on a visualforce page redirect the users to the Authorize.net hosted Payment Form. Hosted Form After a successful ...
Vipin Gusain's user avatar
0 votes
0 answers
50 views

Why does the url not change on my visual force page

I am redirecting to a vf page from my LWC async navigateToVFPage() { this[NavigationMixin.GenerateUrl]({ type: 'standard__webPage', attributes: { url: '/apex/...
deepak's user avatar
  • 3
0 votes
1 answer
303 views

Unknown property referenced error in Visualforce

I am trying to use a global variable in Visualforce in the developer console while writing a Visualforce Page. I get the following error: Unknown property 'User.FirstName' referenced in UserStatus. ...
Al Zenk's user avatar
  • 21
0 votes
0 answers
55 views

Auto download a pdf rendered in Visualforce

In my org I have a VF page which when renders produce a PDF page. The VF is executed on clicking a custom button. The PDF is opening in a separte window. The code is as follows: <apex:page ...
deep4code's user avatar
0 votes
0 answers
58 views

Salesforce Visualforce for Hosted Payment Page

I have a question on hosted payment pages and Salesforce. Many providers (SnapPay in our instance) allow a Hosted Payment Page for taking secure PCI compliant payments. My goal in Salesforce is to ...
Joshuavd's user avatar

15 30 50 per page
1
2 3 4 5
95