Naming standards for our SharePoint columns Internal names

john john 931 Reputation points
2021-09-10T18:01:10.203+00:00

I am working on a new SharePoint site, and we want to create many site columns, so can i know what are the naming standards for site columns' Internal Names inside SharePoint, for example i have those display names:-

1) Car Number
2) Registration Name
3) Date Covered By Customer

so what the internal names for those site columns need to be? if we take the 3rd column as an example should it be defined as DateCoveredByCustomer OR Datecoveredbycustomer OR datecoveredbycustomer or another option?? as based on my test internal names for SharePoint sites column are case sensitive.. any advice? thanks

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,601 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 41,771 Reputation points Microsoft Vendor
    2021-09-13T07:14:15.803+00:00

    @john john

    According to this Microsoft article,

    Internal names are set once at the point of creation; you cannot change them later. Additionally, Internal names encode special characters in your display name including spaces not in the same way as URLs, they use a combination of underscores and x0 numbers to represent the character, for example:

    e.g x0020 for " " or x003a for ":"

    For example, "HR Department" would encode to "HR_x0020_Department". While this isn't necessarily essential for the end-user to know, it is essential to bear in mind when working with CAML or making API calls, as most often these are used to reference fields.

    Per my test, these three columns should be defined as Car_x0020_Number, Registration_x0020_Name, Date_x0020_Covered_x0020_By_x0020_Customer.

    Yes, internal name for SharePoint column is case sensitive.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.