web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

Omnichannel hide custom chat button by operating hours

(0) ShareShare
ReportReport
Posted on by 10

Dear all

we  hide the standard lcw chat button usining the parameter data-hide-chat-button="true" and replace it with another custom.

We need to hide the custom button, as the standard does, depending on the operating hours set in the chat widget.

How can I do? Are there web services to call to get the opening status?

Thanks 

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi partner,

    So you have set custom chat widget as following link?

    Customize live chat widgets for mobile apps | Microsoft Docs

    Regards,

    Leah Ju

  • alberto.gatti@hudi.it Profile Picture
    10 on at

    We didn't realize a mobile app, but simply use the standard  widget code snippet into a web site.

    <script id="Microsoft_Omnichannel_LCWidget" src="<valid-src>" data-app-id="<valid-app-id>" data-org-id="<valid-org-id>" data-org-url="<valid-org-url>" data-hide-chat-button="true"></script>

    Then we use window.addEventListener  to manage the event available from SDK (lcw:ready, lcw:error, ...) but we don't know how to hide our custom button depending on the operating hours

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 25

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 23 Most Valuable Professional

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans