Skip to content

Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Problems
  • Triggers
  • Application specific solutions
    • Excel
    • Forms
    • Planner
    • Outlook
    • SharePoint
    • Teams
  • Resources
Menu

What is SharePoint column internal name and where to find it

Posted on September 30, 2020April 14, 2021 by Tom

“I was told to use internal name of a SharePoint column in a Power Automate filter, but where do I find it?”


Every column in SharePoint has 2 names, internal name assigned by SharePoint and display name defined by you. While the display name is what you see in the views and in the forms, and which you can change anytime, internal name is non-changeable. To change internal name you’d have to delete the column and create it again.

Where to find column internal name

Short version: if you just need to get the internal name, you can find it via List settings -> Click on the column name -> It’s at the end of the URL on the Edit column page, after ‘Field=’.

And now the long version.

Internal name format

Internal name is assigned when you create a new column. During the creation you define the column name, where you can use almost any characters. But on the background, SharePoint needs clear identifier of the column, without any fancy characters, in URL format. That’s a format usable as part of a URL, no spaces, with limitation for special characters. Let’s take an example, creation of a new column called ‘Tom’s lovely column’.

Column created from modern list view

One of the options to create a new column is directly from the modern list view. If you scroll to the right side (and if you have the required permissions), there’s a column .

This column’s internal name will be ‘Tomslovelycolumn’, clear from the spaces and the ‘ character.

That means, every time you need to reference this column using code, you should use this name.

Filter example:
Tomslovelycolumn eq 'Good'

You can see that also Power Automate is using this name on the background, behind the fancy dynamic content.

Column created from list settings

To make things more complicated, the internal name is not always in such a nice format. You can create a new column also from List settings -> Create column.

The internal name isn’t as pretty as it was before. All the spaces are replaced by _x0020_, single quote is replaced by _x0027_, and any other special character will be replaced by code as well.

But still this is the column name you have to use.

Filter example:
Tom_x0027_s_x0020_lovely_x0020_c eq 'Good'

And which also Power Automate is using.

Summary

As you can see, internal names can be simple or terrible, depending on how the column was created. It’s not a problem to copy/paste even the most unreadable internal name and use it in a filter, condition, or any other piece of code, as long as you know where to find it.

But it’s still in my list of most common filtering problems and it’s much easier to create column with a simple internal name. Either use the possibility to create new columns directly from the modern list, or create columns in 2 steps via the List settings:

  1. Use simple column name when creating the column, it’ll assign simple internal name.
  2. After column is created, edit the column name. It’ll keep the simple internal name while you can have a complex display name.

Do you struggle with the various expressions, conditions, filters, or HTTP requests available in Power Automate?

I send one email per week with a summary of the new solutions, designed to help even non IT people to automate some of their repetitive tasks.

All subscribers have also access to resources like a SharePoint Filter Query cheat sheet or Date expressions cheat sheet.

Zero spam, unsubscribe anytime.

1 thought on “What is SharePoint column internal name and where to find it”

  1. Pingback: How to Encode SharePoint Column Display Names to Internal names

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Now available:

The Ultimate Power Automate expressions cheat sheet
Equip yourself with the tool to translate your thoughts into Power Automate expressions!

Do you struggle with the various expressions, conditions, filters, or HTTP requests available in Power Automate?

I send one email per week with a summary of the new solutions, designed to help even non IT people to automate some of their repetitive tasks.

All subscribers have also access to resources like a SharePoint Filter Query cheat sheet or Date expressions cheat sheet.

Zero spam, unsubscribe anytime.

Hello and welcome!

My name is Tom and I'm a business process automation consultant and Microsoft MVP living in the Czech Republic. I’ve been working with Microsoft technologies for almost 10 years, currently using mainly Power Automate, SharePoint, Teams, and the other M365 tools.

I believe that everyone can automate part of their work with the Power Automate platform. You can achieve a lot by "clicking" the flows in the designer, but you can achieve much more if you add a bit of coding knowledge. And that's what this blog is about.

To make the step from no-code Power Automate flows to low-code flows: using basic coding knowledge to build more complex yet more efficient flows to automate more of your daily tasks.

  • Format results of date calculation in SharePoint columnJune 29, 2022
  • Why is your Power Automate flow creating duplicatesJune 26, 2022
  • How to create a unique identifier in your Power Automate flowJune 22, 2022
  • How to assign custom SharePoint permission level with Power AutomateJune 19, 2022
  • Remove permissions from a specific SharePoint user with Power AutomateJune 15, 2022

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

© 2022 Let's POWER Automate | Powered by Superbs Personal Blog theme