摘要:
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 阅读全文
摘要:
Add-PsSnapin Microsoft.SharePoint.PowerShellAdd-PsSnapin Microsoft.SharePoint.PowerShell运行一下就好了 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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.... 阅读全文
摘要:
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 阅读全文
摘要:
After Security Update KB2756920 problems in Sharepoint 2010详细请参考http://social.technet.microsoft.com/Forums/en-GB/sharepointadminprevious/thread/903d0e22-6419-48c5-8669-a1191c841b76 阅读全文