Closed flyfishMT closed 2 years ago
Hello! I rechecked the deployment profile functionality on the latest pac version, it seems to work fine, it is not creating duplicate records and instead updating the existing records, can you please check the website ids of the records you have pasted in a screenshot, it's possible that the two records are for two different sites or the two records have different ids. The deployment profiles work based on the id of the records (in case of site settings it is adx_sitesettingid)
Thanks for the response. I did miss that it was duplicated in sitesetting.yml. Once deleted, it works as expected, my apologies. I do see this guid/variable still referenced in /.portalconfig/
This may be user error, but from all the documentation I have read, the deployment profile values are supposed to OVERRIDE the original value. What I see, is it deploys them both, and whatever uses the value doesn't always choose the deployment profile value. I would expect only the value in the deployment profile to be used. Should I delete the original value from the sitesettings.yml file? I didn't see any documentation say to do that.
/portal/deployment-profiles/dev.deployment.yml
/portal/sitesetting.yml:
Command:
pac paportal upload --path "./portal" -dp dev
Values in Portal Management App:
Ennvironment: WSL2, bash, Ubuntu 20.04.4 LTS Microsoft PowerPlatform CLI Version: 1.14.2+g7205df7