Monthly Archives: May 2013

How Long is Lync Persistent Chat Data Kept?

How long is Lync Persistent Chat data kept?  Until you delete it.  You can be forgiven for being confused by the default chat history setting in the Persistent Chat Configuration section of the Lync Control Panel, I know I was.  However, default chat history is defined as “the number of chat messages that will be processed for each room upon first request” and it should be noted that “Persistent Chat Server will cache these messages in memory, so if you increase this number, more messages will be cached. You can always access historical content by search.”.  This is all per: http://technet.microsoft.com/library(OCS.15)/ms.lync.lscp.PersistentChatConfig.aspx.  As stated, it’s important to note: “Persistent Chat Server will cache these messages in memory, so if you increase this number, more messages will be cached. You can always access historical content by search.”.

PCHistory

So, they’re still there, waiting for you.  But now how do you delete them?  That’s what the PowerShell command Clear-CsPersistentChatRoom is for.  To remove content before this time last year for example, run:

Clear-CsPersistentChatRoom -Identity “pchat.domain.com\chatroom” -EndDate “5/19/2012”

Hopefully you found this helpful, please let me know if it did!

Terrible Hack: Forcing the Lync Web App Through Meeting Invites Every Time

So you may or may not be aware that adding “?sl=1” to the end of the meeting URL in a Lync Meeting invite will force the client to use the web app.  This can be nice if you’re chatting with firms that you’re concerned may not have federation set up properly, or if you just want to confirm a consistent experience.  You can find the details on how to configure that up at the end of this Microsoft article: http://office.microsoft.com/en-us/join-a-lync-meeting-from-lync-web-app-HA102828539.aspx

Now, what if you want to set this as the Lync meeting invite default?  How do you customize it?  Well, you can’t.  This is where this terrible hack comes in.  If you’re like the majority of deployments, you’re configured to use the same dedicated meeting space each time.  This means that your Conference ID and web link don’t change.  What I suggest, and seems to work reasonably well, is to modify the invite to look the way you want, get the phone numbers in the right order, add that ?sl=1 link, give a little extra information.  Then, cut and paste the meeting into a new Outlook signature called “Lync Web Only Meeting” or whatever works for you.  Now if you want to create a custom Lync meeting invite, just create a regular new meeting and insert your signature.