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 B2B Commerce for Developers Accredited Professional (AP-202) Exam - Topic 4 Question 84 Discussion

Actual exam question for Salesforce's B2B Commerce for Developers Accredited Professional (AP-202) exam
Question #: 84
Topic #: 4
[All B2B Commerce for Developers Accredited Professional (AP-202) Questions]

Which category can receive signaling from a Lightning Message Channel?

Show Suggested Answer Hide Answer
Suggested Answer: C

A Lightning Message Channel can receive signaling from any component on a page (anywhere on it). A Lightning Message Channel is a service that allows components to communicate with each other across different Salesforce UI technologies, such as Aura, LWC, Visualforce, and Lightning web apps. A component can subscribe to a message channel and receive events that are published by another component on the same or different page. The message channel acts as a mediator that delivers the events to the subscribers. A Lightning Message Channel does not receive signaling only from descendants (i.e., children), only from direct siblings, or only from ancestors (i.e., parents), as these are limitations of event-based communication. Salesforce Reference: [Lightning Web Components Developer Guide: Communicate Across Salesforce UI Technologies], [Lightning Web Components Developer Guide: Communicate with Events]


Contribute your Thoughts:

0/2000 characters
Mitzie
10 days ago
C) page is definitely the most inclusive. I support that answer!
upvoted 0 times
...
Laticia
15 days ago
I’m leaning towards B) only direct siblings. It’s more structured.
upvoted 0 times
...
Jolanda
20 days ago
I feel like C) is the best choice. It allows broader communication.
upvoted 0 times
...
Freeman
25 days ago
But what about A) only descendents? That could be a valid option too.
upvoted 0 times
...
Ivory
1 month ago
I think it's C) page. It makes sense for any part of the page to receive signals.
upvoted 0 times
...
Malinda
1 month ago
C sounds right, but I’m surprised it’s not just for direct connections!
upvoted 0 times
...
Brynn
2 months ago
I thought it was only for descendents, like A.
upvoted 0 times
...
Percy
2 months ago
Wait, are you sure about that? I thought it was just for siblings.
upvoted 0 times
...
Joanna
2 months ago
Totally agree with C! Makes the most sense.
upvoted 0 times
...
Anisha
2 months ago
I think it's C) page (anywhere on it).
upvoted 0 times
...
Ethan
3 months ago
I'm going with A. Descendants (i.e. children) are the only ones who can receive the lightning-fast messages.
upvoted 0 times
...
Eric
3 months ago
B seems like the logical choice. Direct siblings are the only ones who can hear the secret Lightning Message Channel.
upvoted 0 times
...
Marylyn
3 months ago
Hmm, I'm not sure. Is it possible to receive signaling from a Lightning Message Channel while taking a lightning bolt to the face? Asking for a friend.
upvoted 0 times
...
Aide
3 months ago
D is the correct answer. Only ancestors (i.e. parents) can receive signaling from a Lightning Message Channel.
upvoted 0 times
...
Jessenia
3 months ago
I feel like it’s either A or C, but I can’t recall the specifics about how the channels work.
upvoted 0 times
...
Rana
3 months ago
I practiced a similar question where it mentioned only children could receive signals. I wonder if that applies here too.
upvoted 0 times
...
Glenn
4 months ago
I remember something about siblings and ancestors, but I’m not sure if they can receive signals. This is tricky!
upvoted 0 times
...
Aretha
4 months ago
I think the Lightning Message Channel can signal to any component on the page, so I’m leaning towards option C.
upvoted 0 times
...
Hillary
4 months ago
This seems like the kind of question where I need to visualize how the Lightning Message Channel works. Time to sketch it out.
upvoted 0 times
...
Alayna
4 months ago
I think the answer is C. The page can receive signaling from a Lightning Message Channel.
upvoted 0 times
...
Stephaine
4 months ago
I'm a little confused by the wording of the question. Can the channel send signals to multiple categories or just one?
upvoted 0 times
...
Tyra
5 months ago
I'm pretty sure the answer is C, but I want to make sure I'm not missing something. Gotta read the question closely.
upvoted 0 times
...
Freeman
5 months ago
I agree, C) page seems right. Flexibility is key in messaging.
upvoted 0 times
...
Justine
5 months ago
Okay, I think I know this one. Let me double-check the material on Lightning Message Channels.
upvoted 0 times
...
Rima
5 months ago
Hmm, this one seems tricky. I'll need to think through the different options carefully.
upvoted 0 times
Gail
5 days ago
I think it might be C. Signaling can happen anywhere on the page.
upvoted 0 times
...
...

Save Cancel