question

johnjohn-0472 avatar image
0 Votes"
johnjohn-0472 asked EmilyDu-MSFT commented

Naming standards for our SharePoint columns Internal names

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

office-sharepoint-online
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

EmilyDu-MSFT avatar image
0 Votes"
EmilyDu-MSFT answered EmilyDu-MSFT commented

@johnjohn-0472

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.



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@johnjohn-0472

I’m checking how the things are going on about this issue. Whether the answer helps you?

If there is any problem with this issue, feel free to let me know.

0 Votes 0 ·