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

New answers tagged

0 votes

Visualforce component not triggering getters

When you have both a variable with a getter and setter, plus method(s) that starts with get and/or set, the variable takes priority. For example: public List<item> coldLeads { get; set; } ...
sfdcfox's user avatar
  • 493k
2 votes
Accepted

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

When you call PageReference.getContent() like this, it only loads the emitted HTML from Visualforce. You're not in a browser environment, so Apex can't run the JavaScript. You've already outlined two ...
sfdcfox's user avatar
  • 493k
0 votes

Changing the layout of the standard button for the custom object

There is no way to Override this features in salesforce Lighting. Reference Article: 1)https://ideas.salesforce.com/s/idea/a0B8W00000GdWdWUAV/allow-change-owner-button-to-be-overriden 2)https://...
YRS's user avatar
  • 1
0 votes

Is there a way to report on attachments?

Sharing my bit of knowledge in 2024: Salesforce still partially supports reporting on notes and attachments/files. Reference: https://help.salesforce.com/s/articleView?id=000383957&type=1 You can ...
Asadullah Shaikh's user avatar
1 vote
Accepted

Show record list after inputFile in visualforce

pageRef.setRedirect(true) forces the page to lose its view state. To retain your view state, do not redirect. Note: if you don't need to redirect, you can use the void data type to indicate that the ...
sfdcfox's user avatar
  • 493k
1 vote

renderAS="pdf" not converting to hebrew language

See if this Salesforce document helps as it has some limitations around Right-to-Left Language https://help.salesforce.com/s/articleView?id=sf.faq_getstart_rtl.htm&type=5 specifically - the doc ...
Gurmeet singh's user avatar
0 votes

VisualForce apex markup code to open salesforce report using its name

You can't run Apex code directly in a Visualforce page. You'd need to create a controller class first. public class ReportWindowController { public String getRecordId() { return [SELECT Id FROM ...
sfdcfox's user avatar
  • 493k
0 votes

Redirect from Salesforce to Visualforce Page in Community without logging in

Turns out I just didn't have good search skills last week. There's literally a help page showing how to do this: https://help.salesforce.com/s/articleView?id=sf.networks_navigate.htm&type=5
E.Hirsch's user avatar
0 votes

get Visualforce URL with Custom Domains turned on

The modern answer to that is to build the VF URL literally and not wait for a redirect, otherwise you might encounter System.VisualforceException: org.apache.commons.httpclient.RedirectException: ...
Al Cher's user avatar
  • 261
0 votes
Accepted

No ApexPage named CommunitiesLanding digital experience deployment

The UI takes care of everything for you, but if you're using the API, you need to include those extra components. In other words, you'll need to deploy the Visualforce page and its controller as well.
sfdcfox's user avatar
  • 493k

Top 50 recent answers are included