摘要: Currently, I am facing some issue to read list item by ID from pages (Page Viewer Web Part).Error:No item exists at.. It may have been deleted or renamed by another user.See screenshot below:It seems like there are some confusion on page, sharepoint default ID and Item ID...I'm not 100% sure.If 阅读全文
posted @ 2012-12-07 16:48 醉清风 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 安装了MOSS2007后,所有与SharePoint相关的文件都放在本地目录C:\Program Files\Common Files\Microsoft Shared\web server extensions\12下面。下面介绍一些主要的文件目录。1、 ISAPI目录此目录下面存放的是SharePoint自带的Web Services,我们也可以自定义Web Services封装在SharePoint里面。自定义Web Services方法见:Writing Custom Web Services for SharePoint Products and Technologies。2、 Re 阅读全文
posted @ 2011-03-25 17:09 醉清风 阅读(534) 评论(0) 推荐(0) 编辑
摘要: As many of you know, event receivers are a great way to hook into various SharePoint events. These can apply to Feature events such as FeatureActivated, List events such as FieldAdded, and many others. The most common set of receivers used, however, are part of SPItemEventReceiver which let you wire 阅读全文
posted @ 2011-03-25 16:00 醉清风 阅读(245) 评论(0) 推荐(0) 编辑
摘要: try { //we need the privileges to execute the moveto command SPSecurity.RunWithElevatedPrivileges(delegate() { //connect to the site collection using (SPSite mySite = new SPSite("http://server")) { //... 阅读全文
posted @ 2010-10-08 10:28 醉清风 阅读(376) 评论(0) 推荐(0) 编辑
摘要: sharepoint 网站匿名访问开启,列表也开启了匿名访问,访问列表时提示用户输入他们的凭据访问要解决此问题,使用在 Stadm.exe 的命令行工具来禁用锁定功能。 要这样做,请按下列步骤操作: 单击 开始 ,单击 运行 ,在 打开 的框中键入 cmd ,然后单击 确定 。 在命令提示符下键入以下行。 每行之后按 Enter 键。cd / d %commonprogramfiles%\Micr... 阅读全文
posted @ 2009-02-27 09:35 醉清风 阅读(411) 评论(0) 推荐(0) 编辑
摘要: document.onkeydown = function(){/*(ctrlKey == true && keyCode == 82) Ctrl+R ---刷新(keyCode == 116) F5 ---刷新(ctrlKey == true && keyCode == 116) Ctrl+F5 ---强制刷新*/ //win... 阅读全文
posted @ 2009-02-26 17:51 醉清风 阅读(1072) 评论(2) 推荐(0) 编辑
摘要: 禁止用户浏览页面的时候使用右键,只需要在页面中加一段javascript 也可以在body里面加 ,如下 oncontextmenu="return false" 禁止右键 onselectstart="return false" 禁止页面的内容被复制 ondragstart 禁止鼠标在网页上拖动. 将网页不能被另存为代码如下 IE地址栏前换成自己的图标 可以在收藏夹中显... 阅读全文
posted @ 2009-02-25 12:47 醉清风 阅读(304) 评论(0) 推荐(0) 编辑