Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

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

(0) ShareShare
ReportReport
Posted on by 306

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.

  • Verified answer
    a33ik Profile Picture
    3,304 Most Valuable Professional on at
    Re: Best practice for distributing data change script with model-driven app solution

    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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 89 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 72 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

Overall leaderboard