Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Importing a solution fails to update several views

Posted on by 110

I have a test environment in which I have added a field that should replace an existing one in several views.  I have the field set up on all the views.  They are system views, such as All Accounts, that I have customized in PowerApps.  

The original field is a text field, the replacement one is calculated by copying from a field in related entity, if that makes any difference.  The views and forms involved are correct in the Test environment.

When I export from Test and import to Production I don't get errors.

But the views are not updated.  They show the older field, not the one that's in the same location on the view in Test.

Why does this happen and how can I fix it?  

Should I try removing the original field from the tables?  Its not used anywhere in the solution.

All customizations are published and I ran the solution check - no errors.

Any ideas?

Thanks,

Jessica Weissman

  • Importing a solution fails to update several views
    You do understand that they are not the same column/field.  If I understand correctly, you created two fields in different environments giving them the same name -- and they are different data types.  These things are all managed by GUIDs not names.  Did you include the new field in the solution?  Do you see two fields by the same name?  Are you sure you REPLACED the new field into the views?
  • Jessica Weissman Profile Picture
    Jessica Weissman 110 on at
    RE: Importing a solution fails to update several views

    Thank you.  I will look into the layers.  

  • Jessica Weissman Profile Picture
    Jessica Weissman 110 on at
    RE: Importing a solution fails to update several views

    Right.  Our Test environment is misnamed; it is actually the Dev environment.  I will be checking the layers to see what's going on there.

  • Suggested answer
    Krishan kumar Profile Picture
    Krishan kumar 20 on at
    RE: Importing a solution fails to update several views

    Hi Jessica,

    Probably you have unmanaged layer as Active layer in that solution, Remove the unmanaged layer and activate the new one.

    This is valid if you are using Managed Solution.

    https://learn.microsoft.com/en-us/power-apps/maker/data-platform/solution-layers

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: Importing a solution fails to update several views

    Hi Jessica Weissman,

    Try checking the layers of the views in the test and production environments for differences and unmanaged layers. Also as a best practice you should not be exporting from a test environment and importing into a production environment, instead you should export from your development environment and import into production.

  • Jessica Weissman Profile Picture
    Jessica Weissman 110 on at
    RE: Importing a solution fails to update several views

    Any ideas on this?  Should I delete the older field from the Test environment and try exporting and importing again?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans