2 votes

how to call an apex method automatically when a vf page loads ie, how to achieve <aura:handler> or connectedCallback() in vf?

You can call the apex method on load via apex:page's action attribute: The action method invoked when this page is requested by the server. Use expression language to reference an action method. For ...
user avatar
  • 17.7k
2 votes

Is possible to use a Visualforce email template whose content can be freely edit?

This can be done using this Appexchange package (from Salesforce Labs). You can make a flow that pre-populates this component with a VF email template, make edits, then send the email. You will need ...
user avatar
1 vote

Aggregate result not working in soql query

AggregateResult objects are treated like sObject objects; you can't access any of the fields directly with the dot-notation, but instead you need to use the dynamic notation. <td> <apex:...
user avatar
  • 433k
1 vote

InputField inside of a repeat not updating or saving changes

OK I got it, the problem was that I was using a variable within my repeat. Instead o using the variable, I just used the var of the repeat and it works now. the documentation of apex:variable says: ...
user avatar
  • 23

Only top scored, non community-wiki answers of a minimum length are eligible