Skip to main content

Questions tagged [lms]

The tag has no usage guidance.

1 vote
1 answer
95 views

How to Create an LWC Component to Show a Warning When the Industry Picklist Value Changes on a Salesforce Standard Account Page?

I'm working on a custom Lightning Web Component (LWC) to be added to the standard Salesforce Account page. This component aims to display a warning message as a toast notification whenever the ...
Nick's user avatar
  • 7,074
0 votes
0 answers
13 views

What are the main use case differences of LMS's `releaseMessageContext(messageContext)` & `unsubscribe(subscription)`

Does it mean that using releaseMessageContext(messageContext) on the context messageContext would release the need to manually iterate on all LMS subscriptions? For example: I could register 10 ...
Искрен Станиславов's user avatar
0 votes
0 answers
82 views

How can I implement Enhanced Messaging in an LWC component?

I've read this documentation, but the example right there is for an aura component. Where can I find more info about it? Does anyone know how to implement these events? Where can I put those tags?
Elisa Mangano's user avatar
1 vote
0 answers
186 views

Can I use (and how) LMS to stream events from VF page with WS connection to LWC without clicks in the VF

My VF page is directly embedded into the utility bar. As I have a WebSocket used to stream some events, I would like to find a way to use LMS to stream those events to LWC and Aura components. On my ...
Искрен Станиславов's user avatar
0 votes
1 answer
50 views

Request/Response using LMS in LWC

I need a setup in which Component A initiates a data request to Component B through LMS (Publish). Component B, upon subscription to the request, will execute certain logic and subsequently publish ...
Cb Shivananda's user avatar
0 votes
1 answer
267 views

LMS in Screen flow did not subscribing to message channel

I have faced issue with screen flow and LWC as screen component here is component code: import { LightningElement, wire } from 'lwc'; import {APPLICATION_SCOPE, MessageContext, publish, subscribe, ...
Oleh21's user avatar
  • 1
0 votes
1 answer
294 views

Navigation between tabs using Lightning Message Service

I have a navigation bar contains two tabs Home and Help. If I click on home, Home component should render below navigation bar and If I click on help, help component should render below navigation bar....
saivinay manapuram's user avatar
0 votes
1 answer
1k views

Passing data from one LWC to another LWC while navigating to it via Navigation Mixin using Lightning Messaging service Issue

I have a similar problem I would like to navigate to a different LWC Component via Navigation Mixin and pass some data to this component The first component is a modal and I would like the user to ...
Govind V's user avatar
1 vote
2 answers
1k views

LMS Subscribe Not Working - Message is not received

I have created LMS to pass the payload between 2 LWC. Message payload is published but payload is not getting received on the subscriber component. Publish LWC is located on Opportunity Record Page. ...
Rose 's user avatar
  • 123