cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RvdHeijden
Post Partisan
Post Partisan

Changing a Column type in SP and now Powerapps wont get the new columntype

I've got (kind of) a stupid question.

 

I've mad a column in SP, a Yes/No field, and then added that in PowerApps and it worked fine. But now I need to change that Yes/No column to a choice column based on Yes, No and N/A but somehow PowerApps just keeps adding the Bolean columntype instead of the choice column

 

Ive tried deleting the column in PowerApps (couple of times) and refreshing the tabel in Powerapps but with no result.

Is there a way to refresh or something or do i need to completely delete the table and add it again because that would suck 🙂

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User
Dual Super User

When you say "refreshing the table" does that mean refreshing the data source itself?  You need to use the context menu in the list of data sources to refresh the schema of the SharePoint list.

image.png



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

7 REPLIES 7
Pstork1
Dual Super User
Dual Super User

When you say "refreshing the table" does that mean refreshing the data source itself?  You need to use the context menu in the list of data sources to refresh the schema of the SharePoint list.

image.png



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

@RvdHeijden 

When you say "refreshing the tabel in Powerapps", do you mean that you selected the SharePoint list in the data panel and clicked the 'Refresh' option that's available beneath the '...'  menu? That process would normally fix this issue.

@Pstork1 that is what I mean and I've already tried that option a couple of times but the result for that column remains Bolean instead of a Choice column. 

In SP the column already changed obviously but PowerApps keeps adding the old columntype

@timl that is what I meant but it won't change the columntype

That should fix it.  If that doesn't you may have to remove the entire connection and re-add it to the app.



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

@Pstork1 and @timl yesterday it didn't work but when I tried the same thing this morning it did change the columntype, so I'm guessing it takes more then a little while for it to work.

 

Anyways the problem is fixed now

I suspect its the difference between changing a column and adding a column.  When adding a column there is no delay.  But it may take time for changing a column to get picked up because there is no new column, just a change in schema.



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

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,853)