web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Best practice for dist...
Power Apps
Answered

Best practice for distributing data change script with model-driven app solution

(0) ShareShare
ReportReport
Posted on by 311

We have a model-driven app that we distribute to clients in a managed solution.  Occasionally, there is a dataverse change made, like a new field added, that requires a sql script to populate or modify some data values.  We would want each client to run the script in SQL4CDS when they upgrade to the new solution version.  What is the best practice for distributing the sql script and getting the client to run it?  Is there a better way than to share the sql script along with the solution zip and adding a note to release documentation?  Should the sql script be included in the web resources perhaps?

 

Thanks for your input.

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Hello,

    You can include SQL query to the solution as a part of the solution using one of webresources available but I don't see the practical need in it. I would say it's better to create some kind of KB on your website and include those queries there with detailed instructions on how to run queries using SQL4CDS.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard