Saturday 5 July 2014

Create Custom List Property in SharePoint List Setting

Introduction
In this article we create a Custom List property in a SharePoint List in List Settings under the "General Settings" Category.

Use the following procedure to create the sample.
1. Execute Visual Studio 2010; in SharePoint  2010 select "List Definition" and name it "NewTestDef".

Create List Definition

 2. Open Element.xml for editing the List Name.

Open Element xml
Edit last name

3. Open another "Element.xml" under NewTestDef and add a "Custom Action".

Add Custom Action

4. Deploy the solutions and then check.

Deploy the Solutions

Solution Explorer

Cs.Code
protected void Button2_Click(object sender, EventArgs e)
{
      page.ClientScript.RegisterStartupScript(owner.GetType(),
      "ShowMessage"string.Format("<script type='text/javascript'>alert(‘Hello..!’)</script>");
}
 
Summary 

In this article I would like to add a custom link to a SharePoint list settings page. 

No comments:

Post a Comment

SharePoint 2013 - Uploading Multiple Attachments To The New Item On List Using JSOM And REST API

  Introduction In this article, we will explore how we can attach multiple attachments to the new item on list using JSOM and REST API. Ther...