New answers tagged visualforce
0
votes
Navigate to a URL Addressable LWC from a Visualforce page
The old-school VF solution would be to use an apex controller/extension that returns a PageReference object for the page you want to navigate to.
https://developer.salesforce.com/docs/atlas.en-us....
0
votes
Edit the "New Contact" page
I have just recently found a working, work around alternative. I recommend setting field or tab visibility filters from the contact record page ie on record ID (only generated after saving) therefore ...
0
votes
What is the best practice to let guest user update record?
Have you tried maybe executing the update asynchronously ? say maybe in future apex , or pass the data to a queueable job (through a DTO class) which I believe executes in System mode rather than ...
0
votes
Accepted
Help with aura component that works in standard org but not works in partner portal
I solved my problem. Apparently this was happening due to a series of access permissions to the vf page, aura component and apex classes that the user did not have, in addition to the fact that I was ...
0
votes
Unable to hide/unhide second field based on picklist inputfield value
The event attribute should be onchange instead of onchnage. Aslo, Make sure the reRender attribute correctly targets the component that needs to be updated.
VF Page:
<apex:outputPanel id="...
0
votes
Apex action function method is not getting called, only the page is getting refreshed/rendered
It looks like the page is refreshing before the callContollerMethod action function is called. This can happen if the form is being submitted when the button is clicked. To prevent this, you can use ...
1
vote
Getting Unknown method error in visualforce page, even though the method present in controller
Your code hasn't compiled, because you're missing a parentheses in the if statement:
public Boolean getGeneralInsurance(){
// ⬇️ Missing )
If(case.customer__c == 'yes')...
0
votes
How to test Salesforce Sites Error Pages
According to this article, to preview the pages you can simply navigate to:
Setup > Sites > Name of your Site
From the Site Details page, you can simply select 'Preview' to see the page you have ...
Top 50 recent answers are included
Related Tags
visualforce × 16698apex × 7300
javascript × 1618
controller × 778
visualforce-component × 764
community × 460
lightning-aura-components × 455
lightning × 436
jquery × 415
soql × 405
pdf × 392
dynamic-visualforce × 345
css × 328
controller-extension × 323
force.com-sites × 296
email-template × 292
html × 277
rerender × 276
salesforce1-app × 263
custom-button × 238
custom-object × 235
trigger × 193
page-layout × 193
pageblocktable × 192
custom-controller × 191