随笔分类 - SharePoint_Dev
摘要:CAS(Code Access Security)自定义代码访问安全性Sandboxed solution 沙箱解决方案
阅读全文
摘要:请假系统门户设计
阅读全文
摘要:一、需求分析文档二、请假系统无代码解决方案2.1 数据框架设计2.2 权限设计2.3 表单设计2.4 工作流设计2.5 门户主页设计三、请假系统第三方解决方案(Nintex)四、请假系统代码解决方案五、用户手册
阅读全文
摘要:文档库SOP:上传用户操作手册等系统相关文档。员工信息列表EmployeeInfo:用来存储员工基本信息、直属领导和假卡信息。请假申请列表LeaveRequest:申请人Requester填写请假信息和记录参与审批人员的审批意见。任务列表Task:SharePoint系统在发布工作流模板的时候自动生...
阅读全文
摘要:使用SharePoint Designer 2010进行设计。主要使用的Actions如下图所示。关于权限,考虑到严谨的权限设计,所以所有参与人员均为Read权限。关于请假天数的计算,请假天数的最小单位为0.5天。主要的测试用例如下所示(如有遗漏请大家指正):4/13/2014 9:AM 4/13/...
阅读全文
摘要:jQuery1.6.4.js +jQuery UI 1.8.16.js只有这个版本在IE8下的兼容性视图+Quirks(文本模式),dialog可以正常显示。
阅读全文
摘要:list field对应的caml定义如下 Satisfactory Unsatisfactory – but no assistance is needed Unsatisfactory – I need assistance Satisfactory Unsatisfactory – but no assistance is needed Unsatisfactory – I need assistance ...
阅读全文
摘要:SPQuery viewQuery = new SPQuery();SPView customView = list.Views.Add("Simple", viewFields, defaultView.Query, defaultView.RowLimit, defaultView.Paged, true);view.Query = "<Where><Eq><FieldRef Name=\"AssignedTo\" /><Value Type=\"Integer\"><
阅读全文
摘要:在MOSS 2007的list中,我们使用自定义页面的方式来使用附件控件功能,发现对于附件名称的合法性效验功能丢失了。方法1:<script src="/_layouts/STYLES/jquery-1.4.4.min.js" type="text/javascript"></script>function ValidateData() { var isValid = true; $("input[name^='fileupload']").each(function() { if ($(thi
阅读全文
摘要:在IE6中,在当前的页面URL中添加命令:&displaymode=design,即可对页面进行编辑设计。在IE7、8下面通过右上角的"Edit Page"即可进行编辑。
阅读全文
摘要:[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")function ExportQuickLaunchNavigation( [Microsoft.SharePoint.SPWeb] $web){ $xml = [xml] "<QuickLaunch/>" foreach ($navigationNode in $web.Navigation.QuickLaunch) { AddNavigationElement $navigationNode $
阅读全文
摘要:开发背景:使用VS2008开发SharePoint2007的webparts问题描述:使用Feature部署webpart后,手动激活和反激活的时候,系统报错并无法执行。解决办法:由于这个Feature执行的时候,部署了3个webpart,我们需要使用Process Monitor工具来查看是那个webpart出了问题。Process Monitor是微软提供的系统调试工具集合,可以从这里下载www.sysinteranls.com或者http://www.cnblogs.com/mybook/archive/2012/11/06/2757597.html下载。手工执行Feature时,Pro
阅读全文
摘要:手工方式:前提分别在site collection和Site Feature中启用Feature:Office SharePoint Server Publishing。比如两个feature都启用。由于此Feature创建了Pages library。如果此Feature没有启用,你在设置欢迎页面的时候,将会收到如下报错信息:The site is not valid. The 'Pages' document library is missing.如果相关的Feature没有启用,你将不能看到以上画面,你可以通过固定的页面地址来进行访问。比如:http://Mingle/s
阅读全文
摘要:第一步:使用SPM2007来查看默认的list中的title列的定义。View Code <Field ID="{bc91a437-52e7-49e1-8c4e-4698904b2b6d}" ReadOnly="TRUE" Type="Computed" Name="LinkTitleNoMenu" DisplayName="Title" Dir="" DisplayNameSrcField="Title" AuthoringInfo="(
阅读全文
摘要:If you are using the Lists.asmx web service the hyper link column must be in the format of "link, description". For example http:\\www.whatever.com, nice site. The user column must be in the format of ID;#Domain\UserName. So you will need to construct this. You can get this information cal
阅读全文
摘要:问题描述:我在自定义表单CNewForm.aspx中添加了webpart,但是在新建Item的时候,点击“Attach File”,系统提示This form was customized not working with attachement.我使用IE Developer调试发现Form.js中的UploadAttachment方法中发现线索:部分元素没有定义。后来根据微软官方的文章http://support.microsoft.com/kb/953271/en-us,进行修改后,保存附件和Fields的值都正常。但是执行SaveButton.SaveItem方法出错:SPExcept
阅读全文
摘要:处理办法:设置将被设置为默认的webpart中显示的view的属性BaseViewId=”0”,其他view此属性的值依次设置为BaseViewId=”1”,BaseViewId=”2”......
阅读全文
摘要:http://sharepointmagazine.net/articles/customizing-the-user-experience-of-sharepoint-lists-custom-list-forms-and-caml-views-part-3-of-6
阅读全文