How to add a custom action to a SharePoint list actions menu for a specific list or content typeIf you have ever tried adding a SharePoint custom action to the actions menu and tried using "List" or "ContentType" as the "RegistrationType" and then
http://msdn.microsoft.com/zh-cn/library/dd547590.aspx在 Visual Studio 中,可以建立“Web 應用程式項目”或“網站項目”。每種類型各有優缺點,必須瞭解它們之間的差異,才能選擇最佳類型。建立項目之前,選擇合適的項目類型十分重要,原因是從一種項目類型轉換到另一種項目類型並不容易。說明在某些情況下無法進行選擇。例如,如果要建立一個 ASP.NET MVC 應用程式,您必須使用 Web
CustomAction Basics in SharePoint CustomActions allow you to provide an easy way for an end user to perform some sort of action on or with a specific list item that is not available in a standard SharePoint installation.Let’s go through a simple
SharePoint - Register an assembly as a safe control in the Web.config file In order for you to use your own custom assembly with your web parts and other little bits, you will need to add your safe control to the web.config file. However, you need
[contains(@Title,$pwid) and (($start = '') or (ddwrt:FormatDateTime(@Date,1033,'yyyyMMdd') >= $start)) and (($end = '') or (ddwrt:FormatDateTime(@Date,1033,'yyyyMMdd') < $end))] =====================================================Displaying
SPFieldType 為一個欄位指定資料類型,主要是在我們建立列的時候,才能使用到。AllDayEventSpecifies an all day event. Corresponds to the SPFieldAllDayEvent class and to the AllDayEvent field type that is specified on the Field element. Value = 29. AttachmentsSpecifies attachments.
SharePoint Discussion Board Common Operations through Code1) Take instance of your site collection and web:SPSite currentSite = SPContext.Current.Site;SPWeb currentRootWeb = currentSite.RootWeb;2) Suppose we have the name of discussion list -
Custom Actions - Simple Steps to Add Your Touch to Site ActionsWSS 3.0 and MOSS 2007 now have a supported extensibility mechanism allowing developers to easily add items to existing menus. Custom Actions - most easily installed as a feature means
/* 滑鼠拖動 */var oDrag = "";var ox,oy,nx,ny,dy,dx;function drag(e,o){ var e = e ? e : event; var m = document.all ? 1 : 0; if(e.button == m) { if (o.parentNode) { oDrag = o.parentNode; } else{oDrag = o;} ox = e.clientX; oy =
You may come across the need when working with lists and list items in SharePoint, to allow a default value for a field to be passed via a URL parameter. Before we get started, please note that you will need access to Microsoft Office SharePoint
BreakRoleInheritance and AllowUnsafeUpdatesPosted at 2008-11-13 10:21 by Wictor Wilén in SharePoint with 1 comments. I have just struggled a while with a SharePoint Web Part that constantly threw an error, see below. This Web Part is creating a
Customization of SharePoint list menu item – Part 1 add Custom Action ItemPosted by chrissyz on June 6, 2009It has been a while since last time I blogged. And I do feel bad about being ignorant of my blog for such a long time. So this time I am
SharePoint Config database logs are one thing to keep an eye on since they do have a tendency to grow. If you don’t perform a full farmbackup usually the log doesn’t get emptied and it just keeps bloating.If you’re running SQL Server Express with