I have LWC Component and I need to open the utility page on the connectedCallback of the page:
Somewhat like this:
However, I am not sure how to use component.find there?
Can you please help?
According to Spring ’19 …
Bring modern, blazing-fast Lightning web components (LWC) into the utility bar by adding the
lightning__UtilityBartarget to your LWC‘s meta configuration. LWC utilities don’t yet support APIs or being used as background utility items.
However… You might be able to go for a hybrid solution where you use an Aura Component in your utility bar that includes your LWC component and communicate with it (I haven’t tried it myself)
This way, your Aura component would act as a proxy and fire / listen to the events you need from that api