cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ash2
Helper II
Helper II

Referencing the SharePoint field with its ID

Hi All,

 

so i wanted to know if there is a way to reference the SharePoint field ID when your creating formula based on that field. 

 

for example. 

Field display name is "Stage 1 Approve"  but its ID is "Stage1Approve", i wanted to be able to reference  the ID when creating formula not its display name since that might change at a later date.

 

Thank you in advance, enjoy your day. 

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

In your image the Field Name is the Internal Name.  The Column name is the Display name.  You should be able to use CurrentStatus, (note no single quotes since there is no space in the name.).  I just did a test and that is the way it works for me.

image.pngimage.png

Note that I am using the Internal name (FieldName) not the Display Name.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

4 REPLIES 4
Pstork1
Dual Super User III
Dual Super User III

For SharePoint what you should be seeing when selecting fields is the Internal Column name, not the display name.  The internal name never changes.  To check what the actual internal name is go to the column settings and look at the fieldname referenced in the URL.  For example I have a gallery that uses "ApprovalStatus" as the field name.  That is the internal column name.  The Display name is "Approval Status".



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Hi @Pstork1 ,

 

i m not a 100% sure im user the correct terminology, so if im not please correct me and again thank you in advance 🙂 

 

So the internal column name for the below would be "Current Status", correct? 

Currentstatus2.PNG

what i wanted to know is if its possible to reference the Field Name  "CurrentStatus".

 

i wanna be able to reference the Field Name so my below formula would look more like GalleryIncident.Selected.'CurrentStatus'.Value

 

powerapp current status.PNG

 

 

Pstork1
Dual Super User III
Dual Super User III

In your image the Field Name is the Internal Name.  The Column name is the Display name.  You should be able to use CurrentStatus, (note no single quotes since there is no space in the name.).  I just did a test and that is the way it works for me.

image.pngimage.png

Note that I am using the Internal name (FieldName) not the Display Name.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Thank you @Pstork1 , your sir are awesome!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,294)