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 ...
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 ...
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:...
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:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
visualforce × 16437apex × 7158
javascript × 1615
controller × 762
visualforce-component × 747
community × 447
lightning-aura-components × 442
lightning × 429
jquery × 414
soql × 395
pdf × 375
dynamic-visualforce × 339
css × 319
controller-extension × 316
email-template × 286
force.com-sites × 283
rerender × 268
html × 267
salesforce1-app × 263
custom-button × 237
custom-object × 226
pageblocktable × 192
page-layout × 190
trigger × 188
javascript-remoting × 187