随笔分类 -  SharePoint 2010

摘要:Invalid argument on Line 7353 in sp.ui.rte.debug.js This is still a problem after the December 2010 CU. *** PROCEED WITH THE FOLLOWING AT YOUR OWN RISK *** If you need an interim fix then we need... 阅读全文
posted @ 2011-09-02 09:36 dtlcq 阅读(822) 评论(0) 推荐(0)
摘要:MOSS 2010的IIS调试附加因为开发机器用的是win7,没试过win2008的附加调式。 Step1、Run cmd Step2、cd ../.. --->cd windows --->cd system32 -->cd inetsrv Step3、appcmd list wp 阅读全文
posted @ 2011-08-03 16:42 dtlcq 阅读(321) 评论(0) 推荐(0)
摘要:<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="ListTemplates" Url="_catalogs/lt" RootWebOnly="TRUE"> <File Path="ListTemplates\ListN... 阅读全文
posted @ 2011-08-01 18:26 dtlcq 阅读(138) 评论(0) 推荐(0)
摘要:可以结合XML来进行自动添加1、添加 User PropertiesUrl:http://msdn.microsoft.com/zh-cn/library/ms519896.aspx //Code example adds a new property called Marital Status. using (SPSite site = new SPSite("http://servername")) { SPServiceContext context = SPServiceContext.GetContext(site); UserProfileConfigManag 阅读全文
posted @ 2011-08-01 18:17 dtlcq 阅读(323) 评论(0) 推荐(0)
摘要:用了很久的moss,在默认安装时是英文版本的,导致了网站里很多地方是英文,再加上我某些地方添加了中文内容,感觉不伦不类,于是就想怎么才能把网站转换为中文版本的,后来发现微软为我们提供了语言包,下载地址如下:SharePoint Fundation 语言包下载:http://www.microsoft.com/downloads/details.aspx?familyid=646E311A-AAF3-4D30-B03C-2F3C70D19A22&displaylang=zh-cn语言包下载:http://www.microsoft.com/downloads/en/details.asp 阅读全文
posted @ 2011-06-21 17:07 dtlcq 阅读(397) 评论(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-06-21 10:29 dtlcq 阅读(392) 评论(0) 推荐(0)
摘要:Step1:用Designer 2010打开要修改的站点 Step2:打开要修改的List、View、Page Step3:在List WebPart中,选中要修改的数据栏 Step4:在选中的数据项中,右击 Step5:弹出来的菜单中 选择Formate Item as—>Hyperlink to—>New Item From Step6:此时数据项变成了超链接了,再次右击数据项,选择Forma... 阅读全文
posted @ 2011-06-09 18:23 dtlcq 阅读(306) 评论(0) 推荐(0)
摘要:Step1:进入List Step2:选择要去除Checkbox的视图 Step3:点击修改视图 Step4:在视图修改页面找到“Tabular View” Step5:把 All individual item checkboxes 不处于选中状态 阅读全文
posted @ 2011-06-09 18:00 dtlcq 阅读(364) 评论(0) 推荐(0)
摘要:通常如果我们想在sharepoint配置邮件帐户,但又不想用域邮件配置,如我们想用gmail或其他第三方邮件系统来配置sharepoint邮件帐户,我们可以按下面步骤来配置。(当然以下这种配置也支持sharepoint服务器没有在域控制器上的情况)1 创建gmail账户,启动pop3在gmail设置,如图2 安装smtp服务。记得启动service中的对应服务项3 打开iis(如果是windows server 2008,则需要打开iis6),右键SMTP Virtual Server,选择accss(如下图左),再选中Relay...(如下图右)。 4 选中delivery,然后选择outb 阅读全文
posted @ 2011-06-09 10:47 dtlcq 阅读(256) 评论(0) 推荐(0)
摘要:首先是生产环境要建好网站集然后Windows PowerShell用敲命令的方法:下面有的地方是从MSDN里拷贝过来的在“开始”菜单上单击“所有程序”。单击“Microsoft SharePoint 2010 产品” 右击“以管理员身份运行”。单击“SharePoint 2010 Management Shell”。在 Windows PowerShell 命令提示符(即 PS C:\>)处,键入以下命令,然后按 Enter:Backup-SPSite -Identity <Site collection name> -Path <backup file> [-F 阅读全文
posted @ 2011-05-27 16:31 dtlcq 阅读(441) 评论(0) 推荐(0)
摘要:在Windows 7上安装MOSS 2010, 明明安装了IIS, 运行wizard的时候却还是遇到错误说IIS没装. 上网搜索一下, 发现原来是IIS6的Role Service没有安装, 安装IIS 6 management compatibility下的所有组件后, 就可以运行SharePoint的向导了.参考资料 阅读全文
posted @ 2011-05-27 14:30 dtlcq 阅读(187) 评论(0) 推荐(0)
摘要:右击“SharePoint 2010 management shell” 以管理员身份运行 Add-SPSolution -LiteralPath "C:\…..wsp" 阅读全文
posted @ 2011-05-25 11:32 dtlcq 阅读(184) 评论(0) 推荐(0)
摘要:今天在调用excel.Application.Workbooks.Add(Missing.Value)时遇到如下错误: Exception: Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD)) 这是Excel自身的一个bug,当本地系统环境被设置成非英文的,... 阅读全文
posted @ 2011-04-21 16:13 dtlcq 阅读(1019) 评论(0) 推荐(0)
摘要:在sharepoint 2010中对list提供了“对话框”操作模式,即不需要离开当前页面就能操作数据。如果list的字段太多了“对话框”,就不太好用了~~~以下是list“对话框”的关闭: list-->List Settings--> Advanced Settings -->Dialogs 阅读全文
posted @ 2011-04-20 11:09 dtlcq 阅读(169) 评论(0) 推荐(0)
摘要:此编程任务说明如何在 Microsoft Visual Studio 2010 中创建一个用于显示网站集中的列表数的控制台应用程序。用户必须是执行控制台应用程序的计算机上的管理员,才能在 Microsoft SharePoint Foundation 上下文中运行该应用程序。在 Visual Studio 中创建控制台应用程序在 Microsoft Visual Studio 中的“文件”菜单上,指向“新建”,然后单击“项目”。在“新建项目”对话框中,在“已安装的模板”框中选择一种语言,然后选择“控制台应用程序”模板。在“名称”框中键入应用程序的名称,在“位置”框中键入指向要创建应用程序的位置 阅读全文
posted @ 2011-04-19 11:22 dtlcq 阅读(282) 评论(0) 推荐(0)
摘要:The dialog platform was introduced in SharePoint 2010 as a way to keep users in context when working with items in lists and document libraries. At its basics, the dialog platform is an HTML IFrame that is loaded on top of a page. The dialog can contain any Web page stored on the Web front end or an 阅读全文
posted @ 2011-04-19 11:13 dtlcq 阅读(483) 评论(0) 推荐(0)