cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Error about share point list when I change the column name (Power app Form)

I built a form(connected to a share point list) on power app. The list has a column call "catalog", and I edit it to "Categories". Then it show a runtime error "Catalog: Field 'Catalog' is required."

 

I tried to refresh the connection and remove the connection and add it back, it still not work.

 

Anything I missed to do when change the column name?

There is the layout of my form and the "Onselect" code.

Ed_Cheung_1-1609291208933.png

 

Thanks,

Edward  

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Don't open the page for the field.  Just hover over the column name in the list of columns.  For example, there is a column named 'Child's Name' in the list below.  However, the internal name omits both the apostrophe and the space.  When I hover over Child's Name (highlighted in the list), once the full name is shown where highlighted at the bottom, I see the actual internal name which appears after Field =.List.jpg

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Super User
Super User

Unfortunately not directly. What has worked best for me has been deleting and re-adding the column with the correct name.  If the column is already populated that requires a bit more work. If only a few rows you can create the new column and edit the data manually to copy it to the new column before deleting the old. If there is a lot of data I have written a flow to copy data from the old to new column. 

 

 

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

5 REPLIES 5
Super User
Super User

Changing the display name of a column may not change the actual internal column name that you need to use in PowerApps.  Have you verified the true column name by  viewing list settings for the list in question in SharePoint and clicking on the column in question?  The internal column name will display at the bottom of the screen.  

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

@LRVinNC 

The print is that what you talking of the internal column name? the bottom of my column setting page, only has the "Column Formatting" field.

Ed_Cheung_0-1609304295976.png

 

Super User
Super User

Don't open the page for the field.  Just hover over the column name in the list of columns.  For example, there is a column named 'Child's Name' in the list below.  However, the internal name omits both the apostrophe and the space.  When I hover over Child's Name (highlighted in the list), once the full name is shown where highlighted at the bottom, I see the actual internal name which appears after Field =.List.jpg

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

@LRVinNC 
I see, thanks so much. The field = Catalog. So any action that I can change the field name to Categories?

Super User
Super User

Unfortunately not directly. What has worked best for me has been deleting and re-adding the column with the correct name.  If the column is already populated that requires a bit more work. If only a few rows you can create the new column and edit the data manually to copy it to the new column before deleting the old. If there is a lot of data I have written a flow to copy data from the old to new column. 

 

 

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (74,839)