Open SaintsMan76 opened 3 years ago
More behaviour is that the source file is checked out but is never updated or republished.
Opening the edited page shows the page open for editing but in original state.
No error in VSCode
Hello @SaintsMan76 - in your spgo.json file, what is the current value of the publishingScope
property?
SPGo supports three 4 different values for this:
You can read more at the documentation page here
Finally, what happens when you manually publish a file by left-clicking the file and selecting the SPGO > Publish <Major|Minor> Version
option?
Hi Chris i found the issue.
I had to modify a setting on my sharepoint site • Open Sharepoint online management shell • Connect-SPOService -Url "https://xxx-admin.sharepoint.com" -Credential $userCredential • Log in with user with sharepoint admin role should allow MFA support • Run o set-sposite "https://xxx.sharepoint.com/sites/MySite" -denyaddandcustomizepages $false
I was then able publish and update changes. Apologies but I couldn't find this in setup documentation.
Hey folks,
Had the same issue as @SaintsMan76 and was able to fix it by setting DenyAddAndCustomizePages to $false on the site in question.
@roschinsky good catch! Thank you for posting this potential solution!
@SaintsMan76 - is your issue still resolved? I think it would be good for me to add a troubleshooting/faq page to the documentation for issues like this.
@chrishasz: actually @SaintsMan76 brought up that workaround. just wanted to confirm the approach. ;)
Ack! You are correct. So much for my morning reading comprehension.
Note: for support questions, please use stackoverflow and tag the post with #spgo.
I'm submitting a ...
What is the current behavior? I am trying to use the SPGO tool to backup a sharepoint site and move to a different tenant after a spliting off of a part of the company.
SPGO: Populate local workspace works but editing then saving or adding files are not saved to sharepoint. Tried with multiple sites and not working.
If the current behavior is a bug, please
spgo.json
file (You may replace corporate PII with "xxx")What is the expected behavior? Updates to be copied to share point and be visible in site pages.
Please tell us about your environment: