Configure file sharing / photo sharing

Introduction

Upload an image or a file from the webchat application to the agent. A button will be visible in the webchat application to upload files or images. The files are stored in an upload folder in the WebChatservice. The agent will get a link to download the file.

 

Prerequisites

 

Steps to configure File sharing

To enable the file sharing option, go to the file sfbwebchatplus/xml/settings.xml in the root of the WebChat application. Search for <filesharing>. Change the value of <enabled> to true. Clear your browser cache to see the result.

<filesharing >

<enabled>true</enabled >

</filesharing >

 

 

Steps to configure Photo sharing

To enable the photo sharing option, go to the file sfbwebchatplus/xml/settings.xml in the root of the WebChat application. Search for <photosharing>. Change the value of <enabled> to true. Clear your browser cache to see the result.

<photoharing>

<enabled>true</enabled >

</photoharing>

 

 

Note:

In version V 6.0.19175.1 and higher, all extensions are blocked by default, and only the allowed extensions configured in the AppSettings.config file are allowed.

<add key="AllowedFileExtensions" value="docx,txt,png"/>

<add key="AllowedPhotoExtensions" value="png,jpg,jpeg,gif,bmp"/>

 

Other versions lower than V 6.0.19175.1, you can configure allowed and blocked extensions in the settings.xml file.

<photosharing>

--

<allowedextensions>png,jpg,jpeg,gif,bmp</allowedextensions>

<blockedextensions></blockedextensions>

--

</photosharing>

<filesharing>

--

<allowedextensions>png,jpg,jpeg,gif,bmp</allowedextensions>

<blockedextensions>exe,bin,pif,msi,msp,com,scr,hta,cpl,msc,jar,bat,cmd,vb,vbs,vbe,js,jse,ws,wsf,wsc,wsh,ps1,ps1xml,ps2,ps2xml,psc1,psc2,msh,msh1,msh2,mshxml,msh2xml,scf,inf,reg</blockedextensions>

--

</filesharing>