SharePoint Links





Exception occurred while activating publishing feature

If you are getting the below exception while activating the publishing feature in your site.

Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)

[…]

Set Default Text for RichHtmlField in MOSS 2007

In WCM most of you guys may use RichHtmlField in publishing Layout. To set default text property to RichHtmlField using HTML property to pass your default text.

Example: [PublishingWebControls:RichHtmlField FieldName=”CountrySectionTitle3″ runat=”server” id=”RichHtmlField5″ AllowExternalUrls=”true” AllowFonts=”true” AllowHeadings=”false” AllowHtmlSourceEditing=”false” AllowHyperlinks=”true” AllowImages=”false” AllowLists=”false” AllowReusableContent=”false” AllowTables=”false” AllowTextMarkup=”false” Html=”[html][body][p]–Default Text–[/p][/body][/html]”] [/PublishingWebControls:RichHtmlField]

Note: Sorry Guyz, Still i am not able to post […]