Recently we were asked to disable the Open Room creation in Persistent Chat. The purpose was to only allow users to create Private or Closed Rooms from the website.
After some research we didn’t find any setting/policy that could disable or remove that option.
Internal Website- C:\Program Files\Microsoft Lync Server 2013\Web Components\PersistentChat\Int\RM\JScripts
External Website – C:\Program Files\Microsoft Lync Server 2013\Web Components\PersistentChat\Ext\RM\JScripts
We need to change the RoomForm.js file. In this file look for the function MainForm.prototype.cleanUpRoomPage:
The radio button is radOpen, so we simply disable it. For this we need to add the following line:
this.radOpen.disabled = true;
Note: You need to change it in all relevant servers and also in both Internal and External Websites.
Now reload the page and the Open radio button should be grayed out:
Note: This will also change the form for the creation and editing of a Room.