客户端应用程序的SharePoint推送通知 [英] SharePoint Push Notifications For Client Applications

查看:91
本文介绍了客户端应用程序的SharePoint推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Outlook AddIn,它将共享点结构显示为PST(站点,库,文件夹),如果选择了一个文件夹,它会在Outlook电子邮件窗格中显示该文件夹的内容。



我试图避免定期更新此结构的分享点,但更愿意将更新推送给我。 例如



1.用户添加网站A



2.我的Outlook AddIn构建一个像PST一样的树基于该站点内容的结构并显示该站点中的每个库,文件夹



3.我可以浏览PST站点节点以查看其子站点,库,文件夹



4.我可以导航到这些内容以查看Outlook收件箱窗格中的内容(文件)



为了更新这些内容,我必须经常提取更新并刷新PST和内容。 这会导致许多非常复杂的问题并影响性能。 此外,在触发此拉动之前,数据不会更新。



我想要实现的是每次文件,文件夹,库,元数据等都会收到通知更改(添加,删除,修改)并推送修改后的信息,以便我可以使用它更有效地更新Outlook中的结构。 这减少了网络
的流量和时间来进行更新,并提高了我的AddIn的性能。 它还确保用户始终更新数据而不会使性能滞后或需要手动刷新或等待拉取时间间隔以获得拉取更新。  



SharePoint版本2010及以上版本


Outlook版本2010及以上版本


因此,应用程序会添加到Outlook中,而不是在服务器上运行



应用程序在同一网络上运行



应用程序在SharePoint上具有与当前相同的权限用户使用应用程序



- d。

解决方案

Hello _db _,


您现在似乎正在使用share point api主动从网站提取数据,但您希望网站在网站有任何更新后通知您,对吗?


据我所知,share point api不提供内置函数/属性来执行此操作。如果频繁提取数据导致问题,作为解决方法,您可以增加时间间隔以获得更好的性能。


最好的问候,


Terry


I am working on an Outlook AddIn which displays sharepoint structure as PST (site, libraries, folders) and if a folder is selected, it displays content of that folder in Outlook email pane.

I am trying to avoid pulling sharepoint on regular intervals for updates to this structure but would rather like to get the updates pushed to me.  For example

1. user adds site A

2. my Outlook AddIn builds a tree like PST structure based on content of that site and shows every library, folder in that site

3. I can navigate through the PST site node to see its subsites, libraries, folders

4. I can navigate to these to see content (files) in it in the Outlook inbox pane

In order to update these, I have to frequently pull for updates and refresh the PST and content in it.  This leads to number of very complex issues and affects performance.  In addition, data is not updated until this pull is triggered.

What I want to achieve is to get notified every time a file, folder, library, metadata etc has changed (Added, Deleted, Modified) and pushed modified information so I can use it to update my structure in outlook more efficiently.  This reduces networking traffic and time to do an update and improves performance of my AddIn.  It also ensures that user has always updated data without lagging performance or need to manually refresh or wait for pull time interval to get pull update.  

SharePoint versions 2010 and higher

Outlook version 2010 and higher

So, app is add in to outlook, not running on server

App is running on same network

App has same permissions on SharePoint as the current user using the app


-- d.

解决方案

Hello _db_,

It seems that you are now using share point api to proactively pull data from site but you want the site notify you once the site has any update, right?

As far as I know, share point api does not provide a built-in function/property to do this. If frequently pulling data leads issues, as workaround, you could increase time interval for better performance.

Best Regards,

Terry


这篇关于客户端应用程序的SharePoint推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆