I'm trying to log the file name when attaching the file in skype for business by using Lync Client SDK 2013.
I used the ContentSharingModality's ModalityStateChanged and ContentAdded event.
My problem is that this ContentSharingModality's event only raised successfully on a online meeting
but this cannot raised when normal IM,Audio/Video Call.
Could you advice the best solve of my problem?
Thank you.
Content sharing is a feature of the conference server so it's only available in meeting conversations. It's not available in one-to-one conversations.
As soon as you add content in the Lync Client UI your conversation is auto-upgraded to a meeting conversation. If your using the Lync Client SDK you have to upgrade the conversation in code before you can start to use the ContentSharingModality or you have to detect the conversation being converted to a meeting conversation before you can use the ContentSharingModality.
Related
I created a code in Bot-frame composer and published in azure Bot. We have used SSO(single sign-on) in the azure bot. Created a manifest file and published in app studio in MS teams. I am getting the messages twice when I open the chat for the first time. What is the solution to resolve it.
For this issue there are two different approaches to solve.
Check whether you are using webhooks or not. If you are using webhooks, check whether you are having multiple webhooks with same ID, which could send double messages.
This can be some weird approach. Sometimes, microsoft authentication issue will raise and if you are still having issue after checking webhooks, kindly contact the customer support of Microsoft and ask them to reset the app secret key and re-deploy the application.
There is another reason behind this, because of the previous login issues stored in SDK can cause the duplicate messages.
https://github.com/microsoft/botframework-sdk/issues/4387
https://github.com/microsoft/botframework-sdk/issues/5798
Check the above links for reference.
I'm working on an application (server-side) that requires syncing calendar events.
The application is intended to work with both Google Calendar and Microsoft Exchange calendar services. I already have the Google calendar syncing in place thanks to their use of web-hook notifications when a resource changes, but I'm having trouble figuring out what method to use with Microsoft's service.
All I've been able to find when searching for a Microsoft solution has been related to EWS. Does the Office 365 calendar API provide any sort of notification mechanism? Am I missing some link/relation between O365 and EWS?
Thanks!
We are working on offering webhooks and sync for Office 365 Mail, Calendar and Contact REST APIs, especially for Calendar. Stay tuned.
[UPDATE] You can use Exchange Web Services in the interim. Take a look at SyncFolderItems, SyncFolderHierarchy, and Notifications. In the Notifications doc, you need to look at the info for Push Notifications.
If you are using O365, you will likely want Streaming Notifications as opposed to Push Notifications.
I wish to make a web based IM system for a website with Lync server, it must have audio and video capabilities though. Is this possible? I understand you cannot do it with the UCWA Web API for Lync, but can you use Silverlight and the Lync SDK to achieve this? Or must all computers that use audio video have the lync client installed?
Currently the only way to do this is for all computers to have the Lync client installed.
UCWA currently only does IM and Presence. Voice and Video IS coming to UCWA and is expected this year. (announced at Lync Conference 2014 keynote)
The Silverlight controls require Lync on the machine - they won't work without it.
I want to make external emoticons(I got images, like jpeg, png, whatever I want to import),
and I want to import to Microsoft Lync application.
I heard that there is a Lync SDK for developing Lync application, but I don't know it can be used what I want to make.
Does anybody have any idea use external emoticons in my chat on Lync?
You could definitely create a lync client using the lync SDK and replace certain placeholders like :mynewemoticon: with an image.
You'd have to Listen to the conversation events and do the replace on the Conversation's MessageReceived events.
Transferring images through the existing lync requires setting up a sort of tcp file transfer and is not really what you're after.
You can't modify the existing Lync client to do this - none of the SDKs are designed to let you modify the client in this way.
As Chris has already said, if you really want to achieve this then you'd have to write your own Lync client...which you can do using the Lync Client SDK and UI Suppression Mode. But, you'd then be responsible for writing all parts of the client: signing in, sending and receiving messages, handling calls, conferences, etc.
I need to get information from Microsoft Outlooks calendar to show it on calendar application which I made with Silverlight.
I can get all needed information with Silverlight 4 but in trusted mode and my application must be installed on users computer and work as Desctop application.
But I need for my application to work on browser.
Is it possible or the only way is using it as Desctop application?
Thanks.
No, you can't. The best that you can do is to create a web service to communicate with Silverlight and then an Outlook add-in to communicate with that web service.
I did it with WebDav server. I published my calndar to WebDav server. Calendar is on .ics format so I can read all information from it as with other files and then parse it.
My WCF service is on the same computer in which is WebDav so I can get all needed information with Silverlight. I decided to use this version because in this case user have no need to install .Net freamework on his computer. I also found that user can publish his calendar from internet so this version do what I need.
#Otaku thanks for your answer, it was very nice solution and it is the best version for people who can't(or don't want) use WebDav.
Here is how to publish it.
EDIT: In this case calendar opens as readonly because it located on server and cannot be synchronized with existing calendar without add-in, so #Otaku's answer is right.
My version can be used if you don't need synchronization.