Introduction

This article explains how to create Multicolumn Custom Field Types in SharePoint. Suppose we have a scenario like in our list there is a column Address that has the fields Country, State, City, ZipCode, Street Address and so on. So one solution is to create multiple fields in a SharePoint list for each field or we can create a custom multicolumn field that handles all fields as a single logical unit.

How

Now suppose our custom field name is MyAddressField that has the following fields:

  1. Street Address Line
  2. City
  3. State
  4. Country
  5. Zip Code

The following are the steps that are required to create a Multicolumn Custom Field Type:

Finally the Project Structure will look like this:

Share3.jpg

Now deploy the solution and in your SharePoint site try to add a new column. You will then see there is a custom field named "MyAddressField". Add this column, you can find the multicolumn field when you try to insert a new record into your list.