Skip to main content
ashokmoorthy
Inspiring
May 28, 2024
3. Existing Functionality/Native Skill

MW4Web mobile friendly

  • May 28, 2024
  • 7 replies
  • 48 views

HI Team,

We need a provision to see MW4Web in mobile friendly manner. We have hosted MW4Web in IT Direct and many SharePoint pages. But today this is not mobile friendly.  Can we make MW4Web works best in mobile as well? 

7 replies

dluckadoo
Employee
May 28, 2024

@ashokmoorthy given most chat applications have a mobile client, can you please expand on the use case here? Is this request specifically for optimization for those users accessing the service portal via their phone, and who might run into webchat there?

Dray
ashokmoorthy
Inspiring
May 29, 2024

We deployed MW4Web in HR applications page as well. When we open the bot in the mobile version of this HR application, the bot is not mobile- friendly.

ashokmoorthy
Inspiring
May 29, 2024

@salah.kaddumi  - Pls add your inputs if any.

salah.kaddumi
Known Participant
May 29, 2024

Basically we need need to be able to render our Chatbot that uses the Moveworks for Web capability on our internal portals. When those portals are accessed via Mobile, the bot does not show up.

@ashokmoorthy given most chat applications have a mobile client, can you please expand on the use case here? Is this request specifically for optimization for those users accessing the service portal via their phone, and who might run into webchat there?

 

rkolady
Community Manager
June 6, 2024

Hi @salah.kaddumi , @ashokmoorthy,

Just wanted to check on what your needs are here. To clarify, you’re looking to make the existing M4W bot show up when your users access the internal portal on their phones, as it currently does not appear at all?

This should be fixable by updating the snippet that is loading M4W on your portal. Depending on what your snippet is, you can add `enableMobile: true` between the `serverUrl` and `styles` in your code snippet. Here’s an example of what the full snippet may look like:

<div id="webchat">
<script>
var script = document.createElement('script');
script.type = "text/javascript";
script.onload = function () {
window.mwwebchat.openMWWebChat(
'',
'<bot-id>',
{
serverUrl: '<serverUrl>',
enableMobile: true,
styles: '<optional>'
},
);
};
script.src = '<scriptUrl>';
document.getElementById('webchat').appendChild(script);
</script>
</div>

 

Let me know if this makes sense, or if you have any other questions!

kyril.remillard
Community Manager
June 14, 2024
1. New3. Existing Functionality/Native Skill
ashokmoorthy
Inspiring
June 24, 2024

Basically in the HR application is web based application/page and there is where we enabled the bot. “enableMobile: true” will render the bot as Mobile friendly or typical web bot?