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 Exam B2B Commerce Developer Topic 6 Question 72 Discussion

Actual exam question for Salesforce's B2B Commerce Developer exam
Question #: 72
Topic #: 6
[All B2B Commerce Developer Questions]

An administrator has just provided a developer with a new org and username. Which two sets of steps can the developer use to authorize the org and begin deploying Lightning web components?

What should a developer do to expose a public property in a Lightning web component?

Show Suggested Answer Hide Answer
Suggested Answer: C

To make an integration available for selection in Salesforce B2B Commerce, a developer must create a RegisteredExternalService record. This can be accomplished using tools like Workbench, which allow for direct interaction with Salesforce's backend database. By registering the external service, the integration becomes selectable within the B2B Commerce setup, allowing it to be associated with specific stores or contexts. Salesforce documentation on integrating external services with B2B Commerce provides step-by-step instructions on registering these services to enable seamless integration and functionality within the platform.


Contribute your Thoughts:

Lewis
1 months ago
Decorating with @property? That's not even a real Aura/LWC decorator. This exam is testing our knowledge, not our ability to make up new syntax!
upvoted 0 times
...
Barrie
1 months ago
I'm gonna go with D. Seems like the obvious choice to make a property public. Maybe I should've tried that first before wasting time on the other options.
upvoted 0 times
...
Britt
2 months ago
Hah, decorating the field with @track? That's for internal state, not public properties. Rookie mistake!
upvoted 0 times
Dorthy
2 days ago
User 2: No, @api is the correct way to expose a public property in a Lightning web component.
upvoted 0 times
...
Jarod
3 days ago
User 1: I think the developer should decorate the field with @api.
upvoted 0 times
...
Viki
8 days ago
User 3: Definitely not @track, that's for internal state
upvoted 0 times
...
Lai
11 days ago
User 2: Lai is right, @property is used to expose public properties
upvoted 0 times
...
Margurite
15 days ago
User 1: A) Decorate the field with @property
upvoted 0 times
...
...
Arminda
2 months ago
I tried option C earlier and it didn't work. Guess I need to read the docs more carefully next time.
upvoted 0 times
...
Floyd
2 months ago
Option D is the correct answer. The @api decorator exposes the field as a public property in the Lightning web component.
upvoted 0 times
Barrett
12 days ago
D) Decorate the field with @api
upvoted 0 times
...
Odette
14 days ago
C) Decorate the field with @public
upvoted 0 times
...
Leila
1 months ago
B) Decorate the field with @track
upvoted 0 times
...
Mertie
1 months ago
A) Decorate the field with @property
upvoted 0 times
...
...
Jolanda
2 months ago
I'm not sure, but I think @track is also a valid option for exposing a public property.
upvoted 0 times
...
Sharen
2 months ago
I agree with Glory, @api is the correct way to expose a public property.
upvoted 0 times
...
Glory
3 months ago
I think the developer should decorate the field with @api.
upvoted 0 times
...

Save Cancel