cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Adding Field to Existing Entity

I have a data integration project that pulls data from SQL. I have ran the project and everything goes smoothly, but how do I update an entity? Say I missed a field when originally creating the entity and I want to go back into the data integration project and add that field. When I do this and get to the entity mapping section, the new field is not there. The field is available in the edit queries section, but not in the map entities section. I have gotten around this by just creating a new entity, but that is not a great solution as it breaks any connection I have to any apps or entities that are using the original entity. I have to then go back and fix all the connections. I assume there has to be a way to add a field to the existing entity, but I can't find anything on it.

 

Thanks 

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @Anonymous ,

 

Have you added this field in edit queries section? You need to first add the entity in queries so that it could be shown in the last mapping step.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-monli-msft ,

 

Thank you for the response. Yes, I do add it in the query section and it is available in the view, however, when I click next, the new field is not available in the mapping section on the existing entity. If I create a whole new entity, it is availabele, but cannot add to existing. 

 

Here is some sample data from an excel spreadsheet. In the edit query window. I am going to remove the columns total and items and create my test entity.

2019-07-24_8-28-14.png

 Removed columns below

2019-07-24_8-33-54.png

 

I map the entity screen with no total or items and then create entity.

Here is the entity, no items or total.

2019-07-24_9-03-37.png

 

Now the requirements change and we do need the items and total. I go back to my data integration project and add the fields to the query by simply removing the applied step where I initially removed the column.

2019-07-24_9-07-27.png

 

I then move on to map the fields to my entity, but the fields are not there.

2019-07-24_9-09-47.png

 

However, if I create a new entity, they appear.

2019-07-24_9-11-31.png

 

Problem is, all the apps and flows that reference that old entity will break. I would have to go to each one of those projects and change to the new entity, which is not an ideal solution. I hope this makes sense and that I am just missing something. Thanks again for the help.

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!

Users online (2,116)