上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页
摘要: 7/6/2012How to log to the SharePoint ULS Logs(Clean Debugging and Error Logging broken down into steps)By: Philip Stathis原文地址 http://www.thesharepointblog.net/Lists/Posts/Post.aspx?ID=122This article is meant to introduce a simple error logging routine that can really simplify your debugging when ne 阅读全文
posted @ 2013-01-24 14:17 山之子 阅读(232) 评论(0) 推荐(0) 编辑
摘要: Add-PsSnapin Microsoft.SharePoint.PowerShellAdd-PsSnapin Microsoft.SharePoint.PowerShell运行一下就好了 阅读全文
posted @ 2013-01-23 20:00 山之子 阅读(282) 评论(0) 推荐(0) 编辑
摘要: How to debug a Custom Timer Job in Visual Studio?Set Breakpoints in your code especially the Execute() method. Click on "Attach to Process..." from the menu bar as shown below:Check the box at the bottom "Show Processes from All Users".Select OWSTIMER.EXE Click the Attach button 阅读全文
posted @ 2013-01-23 11:55 山之子 阅读(121) 评论(0) 推荐(0) 编辑
摘要: ProblemThis article deals with SharePoint Custom Timer jobs. It outlines when to create Custom Timer Jobs, how to create a Custom Timer Job, how to debug it in Visual Studio and how to deploy it.SolutionWhen to Create Custom Timer Job?1) If you have a task which has to be done at a scheduled time on 阅读全文
posted @ 2013-01-23 11:53 山之子 阅读(390) 评论(0) 推荐(0) 编辑
摘要: ProblemIn SharePoint 2010, one of the most frequent enhancement requests that come from clients is to add a custom property to property restrictions in the (Out of The Box) advance search box.By default, properties like Author, Description, Name and others are provided in property restrictions. But 阅读全文
posted @ 2013-01-21 17:30 山之子 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 1) Paste “thisXDocument.PrintOut()” under the code of Print button you placed.2) Give full trust to your form and sign it.3) Now publish the form either to sharepoint or localdirectory.4) Open the published form and click that Print button .5) A dialog will be displayed asking you to save that file 阅读全文
posted @ 2013-01-14 15:10 山之子 阅读(180) 评论(0) 推荐(0) 编辑
摘要: For anyone that is interested, I figured it out:using System;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Data.SqlClient;using System.Data;using System.Collections.Specialized;using System.Collections;using Microsoft.SharePoint;namespace C 阅读全文
posted @ 2013-01-11 17:56 山之子 阅读(162) 评论(0) 推荐(0) 编辑
摘要: static SPFolder GetParentFolder(SPListItem itemToFind) { string FolderURL = itemToFind.Url.Remove(itemToFind.Url.LastIndexOf('/')); SPFolder myfolder = itemToFind.Web.GetFolder(FolderURL); try { if (myfolder != myfolder.Item.ParentList.RootFolder) return itemToFind.Web.... 阅读全文
posted @ 2013-01-11 09:46 山之子 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Searching External Data in SharePoint 2010 Using Business Connectivity ServicesEric White - Independant ConsultantEric White - Independant Cons...EricWhite.com40,365 Points 7 3 4Recent AchievementsProfile Complete Forums Answerer I First Answer ConfirmedView Profile27 Apr 2010 9:28 PMComments 18[Blo 阅读全文
posted @ 2013-01-10 17:53 山之子 阅读(425) 评论(0) 推荐(0) 编辑
摘要: After Security Update KB2756920 problems in Sharepoint 2010详细请参考http://social.technet.microsoft.com/Forums/en-GB/sharepointadminprevious/thread/903d0e22-6419-48c5-8669-a1191c841b76 阅读全文
posted @ 2013-01-10 10:34 山之子 阅读(133) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页