cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ed_Cheung
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
LRVinNC
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
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
LRVinNC
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

 

LRVinNC
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?

LRVinNC
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (49,035)