Posts

Showing posts from July, 2011
My new blog present here.

Featured Post

Insights into Sitecore Search: A Definitive Introduction

A key component of digital experience management is effective information retrieval. A simplified approach is required for websites, applications, and platforms containing a lot of material so that consumers can easily get the data they require. This need is met by Sitecore, a well-known name in the field of digital experience platforms (DXPs), which provides powerful and comprehensive search functionality. We will travel into the realm of Sitecore Search in this article, learning about its capabilities, architecture , and the enormous value it offers both developers and end users. Introduction to Sitecore Search    A headless content discovery platform powered by AI , Sitecore Search enables you to build predictive and custom search experiences across various content sources. To extract and ...

Highlight the link(href Tag/HTML link Tag) on click:

Highlight the link(href Tag/HTML link Tag) on click: With the help of style sheet(CSS), we can highlight the link after click. Write below mentioned styles in STYLE tag before HEAD Tag of page: a:link {font-size: 11px;color:green;text-decoration: none} /* unvisited link */ a:visited {font-size: 11px;orange:orange;text-decoration: none} /* visited link */ a:hover {font-size: 11px;text-decoration: underline;color:#FF00FF;} /* mouse over link */ a:active {font-size: 11px;color:orange;text-decoration: none} /* selected link */ Write below mentioned HTML in BODY Tag of page: Amit Kumar1 Amit Kumar2 Amit Kumar3

How to get Publishing Page Meta Data (Column Value) in Sharepoint

Requirement: The requirement is to identify status (Draft/Approved/Checkout/Pending/Published) of page in Pages library and also fetch the metadata of page using SharePoint Ojbect Model in Publishing Web. Resolution: With the help of PublishingWeb class (Microsoft.SharePoint.Publishing), we can access different components of Published Web site like Pages document library, Published site navigation bar and etc. The PublishingWeb class provides publishing behavior for an SPWeb instance that supports publishing. This class cannot be inherited. Namespace: Microsoft.SharePoint.Publishing Assembly: Microsoft.SharePoint.Publishing (in microsoft.sharepoint.publishing.dll) In this example we will identify status (Draft/Approved/Checkout/Pending/Published) of page and access metadata of Pages from Pages Library in Publishing Web: using System; using System.Collections.Generic; using System.Text; using Microsoft.Office.Server; using Microsoft.Office.Server.Administration; using Microsoft.Office....