Lync Integration with sharepoint hosted apps - Lync API 2013 - sharepoint

I want to integrate lync presence,user profile picture and chat functionality with my sharepoint hosted apps. I have spent hours in searching the way to achieve this however no luck. I would appreciate any help in this regards.

I assume you tried adding the Lync client SDK to your project? It's available as a free download, here:
Microsoft Lync 2013 SDK
If you tried this and are having problems, please provide the details.

Check this: Sharepoint 2013 Lync Presence Using jQuery
You can show lync presence and profile picture using this jquery plugin. Also using contact card user can initiate the chat.

Even though you can render the presence in a SharePoint hosted app, it will not work regarding the presence indicator. Lync checks and modifies the html in the browser, thus changing the presence indicator color by changing of the classes on the html.
Lync will NOT check presence indicators in iframes, so the presence of a person, shown in a iframe, will not be set.

Related

How to create links to MS Teams tabs which can be used from within MSTeams on a page

In a MSTeams channel I have a tab which has a sharepoint page added to it. If it is important the sharepoint page resides within the same sharepoint site set up automatically by MS Teams for this team.
I want to use a sharepoint Quick Links web part to provide a link to another MSTeams channel tab.
Currently I am copying the link to the tab within the MSTeam desktop app. In the sharepoint Quick Link I am then pasting the link in the "From Another Link" choice of the Quick Link link.
This works if you click on these links within the Desktop App and if you use the Web Online version, however it does not work if you use the iOS MS Teams app.
Is there another way to link to channel tabs? There is this question and answer but this only applies to the web online application.
I see on the MS UserVoice that there is still no way to change the landing page when clicking on a channel. Am I correct? Here is the link to the UserVoice
I've been researching into this a bit but I can't find a good answer - I feel like Deeplinking should support this somehow, but I haven't got a clear answer. It's possible (but I've not tested it), that you can use standard Deep Link syntax, but use the App Id and Entity Id that you'd get from the Graph Api (e.g. here).
Another possibility is just to use an app that's more geared towards this, like Quicklinks (disclosure: I work on this app).

Render/edit MS Office docs in browser with SharePoint or WOPI

I have a Rails application I want to do CRUD operation on user's documents online but I want to render MS Office (OpenXML-based) docs in the browser. I have heard about WOPI/SharePoint. How can I integrate it with my web app?
What you're looking for is indeed called WOPI. To be precise, you want to integrate Office Online Server (WOPI client) with your application (WOPI host). This is how SharePoint's integration works as well (SharePoint plays the role of a WOPI host here).
You need to implement the following flow:
Translated to your app - your Rails app will generate URLs pointing to the WOPI client and providing it with information about the MS Office files, authentication information, etc. Then, the WOPI client reaches for those files to your Rails app which will also need to implement the REST endpoints defined by MS-WOPI protocol (mainly CheckFileInfo, GetFile, and PutFile actions).
If you just want to provide view for the documents, that are publicily available, you could use office live viewer, or google docs viewer. You need to basically provide an URL to your document to those services.
I have found this site that has demos for online viewers currently available, you could check it out: https://xtai-umd.github.io/docs-viewer-demo/
SharePoint also has something called WopiFrame.aspx page (or WopiFrame2.aspx), that allows you to show documents like the site above, but with authentication. Please note that this will work only for the documents that are stored in the SharePoint (in the particular SharePoint where you use that WopiFrame.aspx, that is).
If you are developing SPFx web part, this is the way to go I think. Since in this case both are running in the context of SharePoint site, you don't really need to think much about security, it's all taken care of.
I mean, implementing your own WOPI server is not easy at all, and in addition to that you'll need Office Web Apps server, either installed on-premise in your organization, or the Microsoft's online one. To be able to use Microsoft's one you need to be a member of Cloud Storage program, as far as I know.
I would not recommend implementing custom WOPI server unless it is really needed for whatever reason (in my case, it was quite specific security requirements)

SharePoint 2013 Dynamic Data on all pages

If I have a requirement of displaying the a content on all the pages inside a header, Whats the best way to do that in an SharePoint 2013?
I am working on a master page that will be using the design manager and there is possibility of using the same master page in the SharePoint online too. The reason why I want to know what is the best way, when I use this same master page in SharePoint online I would like avoid redoing that entire coding for getting a dynamic data from the web service.
Several ways that I have been planning is below
- User control method
- Web part method, but requires server side coding which I doubt can used in online version
This is a complete dynamic data that will be retrieved by a web service and no internal SharePoint data be used.
Thanks for reading
Deepak
If its possible to consume web-service using jQuery/Ajax call you can go with that
Or else if you want to use c#, might need to go with provider hosted app feature (sharepoint 2013)
You can create a Visual Web Part for SharePoint 2013 Online.
Your web part will be contained in a Sandbox Solution which you will develop locally. Once development is complete you will upload the Solution Package created by Visual Studio to SharePoint Online.
https://sharepoint.stackexchange.com/questions/80164/create-visual-webpart-for-sharepoint-online
http://sharepoint-community.net/profiles/blogs/sharepoint-online-2013-web-part-deployment

How to develop a custom control for Infopath 2010 browser forms

I have a requirement to develop a custom control for use in InfoPath 2010 web browser forms, I've looked in all the usual sources (MSDN, InfoPathDevelopers Centre, SO etc.) but I haven't been able to find any reference or tutorials on how to do this.
Most of the documentation I have been able to find has been InfoPath 2007 specific and uses Active X for custom controls, a practice which is no longer supported.
In this particular case, the requirement is to add Captcha to whichever forms require it, but I'm expecting similar requests in the future.
Does anyone know of any resources for InfoPath 2010 custom control development, or even if this is supported?
Many thanks
Tim
As far as I can make out this feature is no longer supported, it was previously possible using Active X (so not usable outside of IE) but now that support has been discontinued.

Sharepoint Instant Messaging

Is there a webpart that can easily be dropped into our Sharepoint that shows all company users online and with the ability to instant message them. Currently everyone is using various IM clients and would like to see something integrated within our intranet: sharepoint
https://sharepointmessenger.codeplex.com/ I have been developing this. It might help you out.

Resources