Sunday, November 4, 2012

How to point to a custom 404 error Web page in SharePoint 2007 and 2010

Change SharePoint Page Title

Change SharePoint Page Title

Add the follwing content place holder in the top of your code if not exist
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
Add Title here

</asp:Content>
You can get title dynamic by add any of this tags into "PlaceHolderPageTitle"

<SharePoint:ListProperty Property="Title" runat="server"/>

<SharePoint:ListItemProperty Property="Title" runat="server"/>

<SharePoint:ProjectProperty Property="Title" runat="server"/>

<SharePoint:ListFormPageTitle runat="server"/>

Friday, November 2, 2012

Error when you delete a solution in Stsadm

Sometimes you face a Job schedule error once you try to delete solution in stsadm

stsadm -o enumdeployments

extract the id of the job then execute the command:

stsadm -o canceldeployment -id e68fbd7b-9442-4efe-b0ee-67023b172740

stsadm -o deletesolution -name HighLightMOSS.wsp