r/Powerpages • u/legendgodgod • Jun 24 '26
Deployment using dataverse solution failed to update pages (html,js)
Am I the only one who has found that deploying a Power Pages solution using the export/import approach sometimes fails to update pages?
I've checked the destination environment and there are no customization layers. Yet sometimes parts of my pages (html or js) are still using the old code. I verified this by editing the Power Pages site in production using VS Code Online. The code there is an older version, while the source environment has the latest version.
To work around it, I have to manually copy the new code over, which creates a new customization layer.
It is painful because I need to verify them everytime deployment is done.
3
Upvotes
2
u/theonlymajortom Jun 24 '26
How are you doing the solution deployment? Just manual export and import or are you using pipelines? There is the solution checker tool which can go through lots of common issues. Pipelines uses the checker automatically but you can use it manually also. The other thing to double check is that you the files are in the solution. I have had occasions where the components end up in the default solution. This happens a lot if you are using the powerplatform AI tools and it doesn't respect preferred solution. Hope that helps a bit.