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
Resident Rockstar
Resident Rockstar

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
Resident Rockstar
Resident Rockstar

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
Resident Rockstar
Resident Rockstar

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
Resident Rockstar
Resident Rockstar

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.

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

LRVinNC
Resident Rockstar
Resident Rockstar

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.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,547)