(Full question statement)
Universal Containers recently transitioned fromClassic to Lightning Experience. One of its business processes requirescertain values from the Opportunity objectto be sent via anHTTP REST calloutto itsexternal order management systemwhen the user presses a custom button on the Opportunity detail page.
Example fields:
Name
Amount
Account
Which two methods should the developer implement to fulfill the business requirement?
Choose 2 answers.
Comprehensive and Detailed Explanation From Exact Extract:
A (Correct):AVisualforce quick actioncan include Apex logic for a callout, and Visualforce is still valid in Lightning Experience.
C (Correct):ALightning Web Component (or Aura component)exposed as aquick actioncan perform callouts via Apex when the user clicks a button. This supports a more modern UI experience.
Incorrect options:
B:@future(callout=true) works but cannot be triggeredsynchronously by a button press. It's for background/automated processes.
D:Remote Actionis legacy functionality used with Visualforce/Aura and doesn't suit modern Lightning and button-driven synchronous actions.
This is part ofUser Interface (25%)andProcess Automation and Logic (30%), involvingintegration techniques and callouts.
Shantay
3 days agoMargurite
8 days agoStephaine
13 days agoDorinda
18 days agoLorrine
23 days agoAyesha
29 days agoAnna
1 month agoLanie
1 month agoRyan
1 month agoBlossom
2 months agoCarmen
2 months agoVallie
2 months agoYaeko
2 months agoTammi
2 months agoFausto
4 months agoBilly
4 months agoSlyvia
4 months ago