利用工作流给Windows SharePoint Service 3.0添加Skype通知功能
2007-01-11 15:59
477 查看
wss3是个被阉割过的免费版本。便宜没好货,自己DIY
因为公司里面用的是skype, 自带的email通知功能时效性不好,msn通知没看出来怎么用。
只好自己研究怎样用skype发送通知。
最好的方案是象发送Email通知一样在操作菜单里面去订阅。在SPUser.Alerts里面存的所有订阅。
比较遗憾的是没有找到wss是怎样发送通知的,没办法照葫芦画瓢。
在一步一步学习SharePoint(http://www.eallies.com/)42~45节里面提到了自定义WorkFlow的Action,然后利用SharePoint Designer去调用,构造workflow, 这样往skype, qq,msn...发都可以DIY.
Skype的API比较傻,不论skype4com还是skype4java都要通过消息机制调用桌面skype。而sharepoint是服务,有说有高手可以做到,偶是没招的。只好写了一个基于socket的接力程序,俺们公司有java的skype机器人程序,所以附件里面是java版本的。
因为是socket通讯,在wss和skype接力程序不是一台电脑的时候要注意防火墙问题。。。
每个用户要维护自己的Skype账号信息,偶自己构造了一个Skype类型的Field,用户只要输入了账号字符串,显示为链接,skype:xxx和skype:xxx?call,带上一个call的小图片。看网页的人只要一点,直接打开skype窗口。SharePoint的Field概念比较搞,构造的是Skype类型,List里面要自己添加Skype字段,类型是Skype,做开发的话要注意一些。
想通知网站所有用户的时候要选择BUILTIN\users账号。也可以通知某个用户或者组,组内用户会被自动查找出来。
TODO: 查找出nt组的用户出来。
另外,论坛不要设定修改时启动工作流,因为贴子被回复的时候,主帖的回复数量会被修改。用户会收到两个通知。
具体安装方法参见release/readme.txt. 下载:http://files.cnblogs.com/steeven/Skype4wss3.zip (含源码,比较烂,见谅)
因为公司里面用的是skype, 自带的email通知功能时效性不好,msn通知没看出来怎么用。
只好自己研究怎样用skype发送通知。
最好的方案是象发送Email通知一样在操作菜单里面去订阅。在SPUser.Alerts里面存的所有订阅。
比较遗憾的是没有找到wss是怎样发送通知的,没办法照葫芦画瓢。
在一步一步学习SharePoint(http://www.eallies.com/)42~45节里面提到了自定义WorkFlow的Action,然后利用SharePoint Designer去调用,构造workflow, 这样往skype, qq,msn...发都可以DIY.
Skype的API比较傻,不论skype4com还是skype4java都要通过消息机制调用桌面skype。而sharepoint是服务,有说有高手可以做到,偶是没招的。只好写了一个基于socket的接力程序,俺们公司有java的skype机器人程序,所以附件里面是java版本的。
因为是socket通讯,在wss和skype接力程序不是一台电脑的时候要注意防火墙问题。。。
每个用户要维护自己的Skype账号信息,偶自己构造了一个Skype类型的Field,用户只要输入了账号字符串,显示为链接,skype:xxx和skype:xxx?call,带上一个call的小图片。看网页的人只要一点,直接打开skype窗口。SharePoint的Field概念比较搞,构造的是Skype类型,List里面要自己添加Skype字段,类型是Skype,做开发的话要注意一些。
想通知网站所有用户的时候要选择BUILTIN\users账号。也可以通知某个用户或者组,组内用户会被自动查找出来。
TODO: 查找出nt组的用户出来。
另外,论坛不要设定修改时启动工作流,因为贴子被回复的时候,主帖的回复数量会被修改。用户会收到两个通知。
具体安装方法参见release/readme.txt. 下载:http://files.cnblogs.com/steeven/Skype4wss3.zip (含源码,比较烂,见谅)
相关文章推荐
- Windows SharePoint Service 工作流介绍
- 翻译(二)SharePoint 2007管理入门:Windows SharePoint Service 3.0 and Microsoft Office SharePoint Server 2007
- How to change service accounts and service account passwords in SharePoint Server 2007 and in Windows SharePoint Services 3.0
- Windows SharePoint Service 3.0自定义列表字段的接口
- How to change service accounts and service account passwords in SharePoint Server 2007 and in Windows SharePoint Services 3.0
- How to change service accounts and service account passwords in SharePoint Server 2007 and in Windows SharePoint Services 3.0(Se
- Windows SharePoint Service 3.0的某个Web Application无搜索结果
- Windows SharePoint Service 3.0删除
- 利用Visual Studio 2005 Extensions for Windows SharePoint Services 3.0开发,部署时发现的一个怪现象
- windows sharepoint service 3.0 wss3 URL 映射问题,差点把网站废掉
- 翻译(一)SharePoint 2007管理入门:Windows SharePoint Service 3.0 and Microsoft Office SharePoint Server 2007
- Wss3入门(1):一步一步使用Windows SharePoint Service 3.0搭建Blog网站
- Beginning SharePoint 2007 Administration: Windows SharePoint Services 3.0 and Microsoft Office Share
- Windows Server 2008上安装 Windows SharePoint Services 3.0
- SharePoint 轻量化工作流之Hr招聘系统之 利用SharePoint Designer 规划工作流程!
- 安装windows sharepoint services 3.0 模版过程及需要注意的问题
- Visual Studio 2005 extensions for Windows SharePoint Services 3.0 试用
- Windows SharePoint Services 3.0内容迁移:导出内容
- WSSv3 Technical Articles_使用ASP.NET 2.0 Web Parts和Windows SharePoint Services 3.0
- Windows SharePoint Services 3.0 应用程序模板