Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce DEX-450 Exam - Topic 8 Question 124 Discussion

Universal Containers recently transitioned from Classic to Lightning Experience.One of its business processes requires certain values from the Opportunity object to be sent via an HTTP REST callout to its external order management system when the user presses a custom button on the Opportunity detail page. Example values are as follows:* Name*Amount* AccountWhich two methods should the developer implement to fulfill the business requirement?Choose 2 answers
A) Create a custom Visualforce quick action that performs the HTTP REST callout, and use a Visualforce quick action to expose the component on the Opportunity detail page. and C) Create a Lightning component quick action that performs the HTTP REST callout, and use a Lightning Action to expose the component on the Opportunity detail page.
B) Create a Remote Action on the Opportunity object that executes an Apex immediate action to perform the HTTP REST callout whenever the Opportunity is updated.
D) Create an after update trigger on the Opportunity object that calls a helper method using @future (Callout=true) to perform the HTTP REST callout.

Salesforce DEX-450 Exam - Topic 8 Question 124 Discussion

Actual exam question for Salesforce's DEX-450 exam
Question #: 124
Topic #: 8
[All DEX-450 Questions]

Universal Containers recently transitioned from Classic to Lightning Experience.

One of its business processes requires certain values from the Opportunity object to be sent via an HTTP REST callout to its external order management system when the user presses a custom button on the Opportunity detail page. Example values are as follows:

* Name

*Amount

* Account

Which two methods should the developer implement to fulfill the business requirement?

Choose 2 answers

Show Suggested Answer Hide Answer
Suggested Answer: A, C

Contribute your Thoughts:

0/2000 characters
Lajuana
4 days ago
Wait, can we really do callouts in triggers? Sounds risky!
upvoted 0 times
...
Lenna
9 days ago
I think A could work too, but it feels a bit outdated.
upvoted 0 times
...
Cheryl
14 days ago
C is definitely the way to go for Lightning!
upvoted 0 times
...
Stefany
19 days ago
B seems odd to me. Why would you do a callout on update?
upvoted 0 times
...
Weldon
24 days ago
Totally agree with C, much cleaner approach!
upvoted 0 times
...
Ines
2 months ago
Wait, can we really use a trigger for callouts? Sounds risky!
upvoted 0 times
...
Enola
2 months ago
I think A could work too, but it feels a bit outdated.
upvoted 0 times
...
Stevie
3 months ago
Option C is the way to go! Lightning components are perfect for this.
upvoted 0 times
...
Edgar
3 months ago
D seems like a bad idea, triggers should be avoided for callouts.
upvoted 0 times
...
Haley
3 months ago
Totally agree with C, it's more modern and efficient.
upvoted 0 times
...
Isreal
3 months ago
Wait, can you really do callouts in triggers? Sounds risky!
upvoted 0 times
...
Laurena
3 months ago
I think A could work too, but not as smooth.
upvoted 0 times
...
Belen
4 months ago
C is definitely the way to go for Lightning!
upvoted 0 times
...
Hillary
4 months ago
I’m leaning towards C as well, but I’m a bit confused about how to expose the Lightning Action properly on the detail page.
upvoted 0 times
...
Dalene
4 months ago
I practiced a similar question, and I think D is not ideal because triggers can be tricky with callouts.
upvoted 0 times
...
Wenona
4 months ago
I'm not entirely sure, but I feel like A could work since Visualforce is still usable in Lightning, right?
upvoted 0 times
...
Fatima
4 months ago
I remember we discussed using Lightning components for new features in Lightning Experience, so I think C might be a good option.
upvoted 0 times
...

Save Cancel