随笔分类 - SharePoint
摘要:解决方法:http://kitmenke.com/blog/2010/12/11/customizing-editform-aspx-in-a-publishing-site/SPD打开该List在EditForm.aspx上右键,点击“根据现有网页创建”新网页中 添加黄色部分<asp:ContentContentPlaceHolderId="PlaceHolderLeftNavBar"runat="server"/><asp:ContentContentPlaceHolderId="SPNavigation"run
        阅读全文
                
                    posted @ 2012-06-21 15:01  
邑尘
    
                
            
摘要:转自http://www.cnblogs.com/janet/archive/2010/06/29/1767934.htmlMoss中的单点登陆方案是在MOSS系统中,将需要进行单点登陆整合的系统的帐号和密码通过加密保存在MOSS中,在登陆时通过中间页面将帐号和密码解密出来,再POST到其他系统完成登陆,当然如果子系统有更好的登陆接口将更加安全可靠;这种方案实现了单点登陆中的帐号映射问题,但并没有帮助用户实现跳转等功能,要求开发人员对各个系统自行处理登陆,并不算是一个真正的完整的单点登陆解决方案,但在企业内部系统整合时也存在一定的优势,即简单,子系统基本不用进行改动,如果单独开发单点登陆系统的
        阅读全文
                
                    posted @ 2012-05-24 10:34  
邑尘
    
                
            
摘要:http://www.cnblogs.com/by1455/archive/2010/06/09/1754839.html转自http://www.cnblogs.com/janet/archive/2010/05/30/1747420.htmlMoss2010的BCS相对于2007的BDC在功能有很大程度的提升,可以很方便的集成现有系统的业务数据到MOSS平台,实现业务数据的增删改查功能;并且提供了多种方式,简单的数据表读写、.Net编程实现方式、WCF方式等。先体验一下最简单的实现方式,准备SqlServer数据库,建一数据库表Customer,录入一些测试数据,如下:用SharePoin
        阅读全文
                
                    posted @ 2012-05-24 10:27  
邑尘
    
                
            
摘要:List<Guid> featIDs = new List<Guid>(); var dd = from i in SPFarm.Local.FeatureDefinitions where i != null && i.RootDirectory.Contains("NanmuThemes") select i; //NanmuThemes //290836a1-823f-4b34-9268-6727546e5dab //stsadm.exe -o uninstallfeature -id <feature_giud> 
        阅读全文
                
                    posted @ 2012-02-24 09:34  
邑尘
    
                
            
摘要:注意:使用哈希表中的值的时候尽量使用properties.AfterProperties[properties.ListItem.Fields["Closed Reasons"].InternalName]这种形式,否则容易没有值。转自http://www.cnblogs.com/icedog/archive/2010/12/07/1899589.htmlEventHandler给我们在MOSS中开发带来了很大的自由度,很方便地就捕获到在数据操作时的事件,插入相应的业务代码,实现我们的业务逻辑。在使用了好长一段时间EventHandler后,忽然想归纳一下我这段时间在使用E
        阅读全文
                
                    posted @ 2011-11-07 16:05  
邑尘
    
                
            
摘要:一.自定义文档库/列表库中项目的右键关联菜单 原始菜单如下图所示: 下面开始我们本次的工作历程: 首先,找到C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12TEMPLATELAYOUTS这个目录下的2052目录(这个默认是中文版本的路径,英文版本的MOSS是1033目录),其中有个core.js的JS文件,MS已经给我们预留了自定义的接口来实现我们自己的菜单定义了 添加以下两个JS的函数代码:funtion AddListMenuItems(m,ctx){if(typeof(Custom_AddLis...
        阅读全文
                
                    posted @ 2011-09-16 13:51  
邑尘
    
                
            
摘要:我们经常发现MOSS中自带的一些母板并不能很好的实现我们的需求,所以有些时候就需要自定义一些母板。这里定义了最简母板和一个只有头部的母板。Simple2带有头部使用SPD在_catalogs/masterpage/ 下新建文件,将代码复制进去并check in 并且Approve文件。之后点击文件右键点击“根据母板页新建”,新建页面保存至相应地点。/Files/ceci/SimpleMaster.rar
        阅读全文
                
                    posted @ 2011-05-17 11:12  
邑尘
    
                
            
摘要:SharePoint Forums 是为WSS2.0开发的一个论坛组件,在MOSS2007和2010上一样可以使用。每个站点会生成自己的论坛数据源,子站点也一样。所以开启变体的网站,会出现2个论坛,所以不适用于我们的情况。使用方法:1. Recover individual files from installer programThe individual files must be recovered from the .msi file. There are several way to do this. I used the free utility Windows Installer
        阅读全文
                
                    posted @ 2011-05-06 14:23  
邑尘
    
                
            
摘要:SPS中计算值公式函数简介 Conditional formulas You can use the following formulas to test the condition of a statement and return a Yes or No value, to test an alternate value such as OK or Not OK, or to return a blank or dash to represent a null value.Determine whether a number is greater than or less than ano
        阅读全文
                
                    posted @ 2011-02-18 15:56  
邑尘
    
                
            
摘要:删除掉C:\Inetpub\wwwroot\wss\VirtualDirectories\88\App_Browsers中的_vti_cnf文件夹,让其重新生成。
        阅读全文
                
                    posted @ 2010-11-17 11:01  
邑尘
    
                
            
摘要:SPFieldMultiChoice chInjury = (SPFieldMultiChoice)m_listItem.Fields["Injury"];string valueInjury = chInjury.GetFieldValueAsText(m_listItem["Injury"]);lbInjury.Text = valueInjury.Replace(", ", "<br/...
        阅读全文
                
                    posted @ 2010-09-27 14:33  
邑尘
    
                
            
摘要:转自http://blog.163.com/szmax_limin/blog/static/581828612007112425248753/MOSS自帶欄位有很多如單行文本框,多行文本框,日期時間,下拉列表等等,但往往這些欄位不能滿足我們的需要(如MOSS的下拉列表只顯示邦定到當前網站的列表,但我們需要邦定到其它網站的列表),那麼我們該怎麼辦呢?這就需要使用自定欄位來實現了. SPFieldTe...
        阅读全文
                
                    posted @ 2010-09-16 15:19  
邑尘
    
                
            
摘要:Web.config的配置<httpModules>中添加<add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader" /><assemblies>中添加<add assembly="CuteWebUI.AjaxUploader, Versio...
        阅读全文
                
                    posted @ 2010-09-15 15:26  
邑尘
    
                
            
摘要:保存Web的地址http://SITE/WEB/_layouts/savetmpl.aspxfile.URL Documents/33/CustomerR/Document.txtproperties.WebUrl http://SITE/WEBproperties.RelativeWebUrl /ProjectManagementweb.urlhttp://SITE/WEBlist.RootFolder.urllists/projectfileCheckedFolder.ServerRelativeUrl /SCMCenter/customer/1.txtDocument的地址 web.ur
        阅读全文
                
                    posted @ 2010-08-25 08:29  
邑尘
    
                
            
摘要:重启下Sharepoint的Time服务即可。主要是计划任务和Time服务导致这个问题。更多请参考http://suguk.org/forums/thread/7951.aspx和
        阅读全文
                
                    posted @ 2010-08-20 11:19  
邑尘
    
                
            
摘要:这个是我在国外的一个网站找打的,原文地址,Maximum File Size for Crawling具体的修改办法如下:   Maximum File Size for CrawlingBy default, Search Servicescan crawl and filter a file with a size of up to 16 megabytes (MB). It will alw...
        阅读全文
                
                    posted @ 2010-06-14 08:27  
邑尘
    
                
            
摘要:In this article we will see how to implement client side validation in SharePoint list with out using SharePoint designer.For this follow the below steps找到需要有效性验证的页面,如NewForm.aspx或者EditForm.aspx在URL后面...
        阅读全文
                
                    posted @ 2010-05-06 11:49  
邑尘
    
                
            
摘要:自定义一个字段,该字段用Icon图片形式来显示各个Item的状态,效果如图所示:由于该字段是根据List中的一个Status字段来展示的,所以字段的代码如下:字段代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<FieldType="Com...
        阅读全文
                
                    posted @ 2010-04-09 12:03  
邑尘
    
                
            
摘要:enume Microsoft.SharePoint.PAGETYPEEx. SPList.Forms[PAGETYPE.PAGE_DISPLAYFORM]获取编辑页面;Class Microsoft.SharePoint.Utilities.SPEncode,编码类;Class Microsoft.SharePoint.SPBuiltInFieldId,SharePoint内部字段GUID,ex...
        阅读全文
                
                    posted @ 2010-01-22 11:27  
邑尘
    
                
            
摘要:if (!workflow.IsLocked)
                    {
                        task[SPBuiltInFieldId.WorkflowVersion] = 1;
                        task.SystemUpdate();
                        break;
                    }
        阅读全文
                
                    posted @ 2010-01-22 09:27  
邑尘
    
                
            
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号