摘要: SharePoint 2010 Themes and Resources for Upgrading a Custom Master Page 阅读全文
posted @ 2012-03-09 15:47 johLife 阅读(290) 评论(0) 推荐(0) 编辑
摘要: http://technet.microsoft.com/en-us/library/cc261956(office.12).aspx 阅读全文
posted @ 2012-01-10 14:28 johLife 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 最近遇到一个问题,客户在Sharepoint上的数据丢失,需要恢复,平时未进行过备份,后来想了想,可以通过数据库的备份进行还原。在网上找了很多资料,发现这篇文章挺好的。http://server.51cto.com/moss-server-migration-110887.htm按照上面说的操作还原成功,记录过程如下:步骤:1、将备份的Wss_Content开头的数据库还原到测试机上;2、在测试环境新建一个应用程序;3、在内容数据库中添加该数据库;其中,遇到了问题,在添加内容数据库的时候报错,ID重复,于是又查找资料,发现ID重复只能通过命令行的方式进行添加内容数据库;http://blog. 阅读全文
posted @ 2012-01-10 14:18 johLife 阅读(528) 评论(0) 推荐(0) 编辑
摘要: http://blogs.officezealot.com/jrblog/archive/2008/11/18/starting-sharepoint-designer-workflows-and-access-denied.aspxI recently created a sharepoint designer workflow and only site collection administrators could start it. Other users, even those that had full control on a site could not start it an 阅读全文
posted @ 2011-12-14 12:49 johLife 阅读(199) 评论(0) 推荐(0) 编辑
摘要: XSLT 是图灵完成的(Turing complete)。也就是说,如果有足够的内存,那么 XSLT 可以完成其他任何图灵完成语言(如 C++)所能完成的计算。对于属性更传统的语言的程序员来说,这可能有点奇怪。毕竟 XSLT 缺少对很多算法来说极其重要的特性,其中包括循环和可变的变量。注意:XSLT 所谓的变量在其他多数语言中称为常量。它们更像是代数变量而不是传统的编程变量。函数式编程上述的遗漏并非疏忽所致。XSLT 是一种函数式语言而不是过程性语言。在 C 或 Pascal 这样的过程性语言中,程序被定义成一系列的步骤,这些步骤按照规定的顺序执行,并在最后一步产生最终结果。在函数式语言中,程 阅读全文
posted @ 2011-09-29 10:48 johLife 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 如果需要在点击Edit page后出现exit edit mode,在Master page增加如下代码:<%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src="~/_controltemplates/DesignModeConsole.ascx" %><asp:ContentPlaceHolder ID="WSSDesignConsole" runat="server"><wssuc:Desi 阅读全文
posted @ 2011-09-15 14:53 johLife 阅读(356) 评论(0) 推荐(0) 编辑
摘要: Below are the values for conditional formattingexample usage : <xsl:if test=”ddwrt:IfHasRights(“REPLACE THIS WITH BELOW VALUE”)”><img alt=”" border=”0″ src=”http://www.cnblogs.com/PublishingImages/btn_AddActionItem.jpg” width=”191″ height=”37″ /></xsl:if>ViewListItems – 1AddLi 阅读全文
posted @ 2011-09-02 09:41 johLife 阅读(358) 评论(0) 推荐(0) 编辑
摘要: MOSS2007 文档库 查看是否为新的文件图标 new<xsl:if test="ddwrt:IfNew(string(@Created))"> <IMG SRC="/_layouts/2052/images/new.gif" alt="新建" /></xsl:if> 阅读全文
posted @ 2011-08-16 11:00 johLife 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 获取文档类型图标<img border="0" alt="" src="/_layouts/images/{ddwrt:MapToIcon(string(@File_x0020_Type), string(@File_x0020_Type))}" /> 阅读全文
posted @ 2011-08-16 10:59 johLife 阅读(280) 评论(1) 推荐(0) 编辑
摘要: The init.js and core.js JavaScript filesin the layouts directory of SharePoint2007 contain alot of helpful JavaScript functions. Here is a brief list ofsome of the most helpful classes, functions and variablesavailable.If you are looking for SharePoint 2010, check out the extensive ECMAScript Class 阅读全文
posted @ 2011-07-04 16:37 johLife 阅读(831) 评论(0) 推荐(0) 编辑
摘要: URL编码转换,escape() encodeURI() encodeURIComponent()escape() 方法:采用ISOLatin字符集对指定的字符串进行编码。所有的空格符、标点符号、特殊字符以及其他非ASCII字符都将被转化成%xx格式的字符编码(xx等于该字符在字符集表里面的编码的16进制数字)。比如,空格符对应的编码是%20。unescape方法与此相反。不会被此方法编码的字符:@ * / +英文解释:MSDN JScript Reference: Theescape method returns a string value (in Unicode format) that 阅读全文
posted @ 2011-06-15 10:00 johLife 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: 在convert to xslt view 后报错,Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.后来看到如下解决方案:http://social.msd 阅读全文
posted @ 2011-06-14 12:25 johLife 阅读(235) 评论(0) 推荐(0) 编辑
摘要: A countdown for taskslistsAugust 25, 2008 in Calculated Columns, Data View Web Part, html/scripts, SharePoint 2007, Tips and tricks | by Christophe A common request for tasks lists is to display the number of days left until the due date. Generally speaking, there’s a need among business users to in 阅读全文
posted @ 2011-06-01 13:29 johLife 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.endusersharepoint.com/2008/12/18/kpis-for-the-masses-a-dashboard-based-upon-a-date-time-field/MOSS基于日期时间的KPI显示In my the first two articles of this series, Visual Indicators for the Masses and Embed KPIs as a List View, I discussed ways to create simple KPIs in WSS. This article will 阅读全文
posted @ 2011-06-01 13:22 johLife 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 如果在自定义页面利用xslt显示List的某一个Item的附件,只需要以下两步即可:1.在页面头部加入以下代码:<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>2.在需要显示附件的地方加入以下代码:<Sh 阅读全文
posted @ 2011-04-29 17:28 johLife 阅读(236) 评论(0) 推荐(0) 编辑