Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remotefolder is not created, when only using one #7

Closed
ulrichbojko opened this issue Sep 3, 2017 · 2 comments
Closed

remotefolder is not created, when only using one #7

ulrichbojko opened this issue Sep 3, 2017 · 2 comments
Labels

Comments

@ulrichbojko
Copy link

If i setup the SPGo.json like this:
{
"sourceDirectory": "src",
"workspaceRoot": "c:\CodeProjects\myproject\",
"sharePointSiteUrl": "https://domain.sharepoint.com",
"publishingScope": "SaveOnly",
"remoteFolders": [
"/SiteAssets/"
]
}

The result will be that SPGo downloads the content of the SiteAssets folder into the "src" folder. Then upload or publishing will not work.

The same goes if you add 2 folders:
"remoteFolders": [
"/SiteAssets/",
"/Style%20Library/"
]

The last folder will download into the "src" folder.

@sg-chrishasz sg-chrishasz self-assigned this Sep 6, 2017
@sg-chrishasz
Copy link
Contributor

sg-chrishasz commented Sep 6, 2017

Hey @ulrichbojko, I think I know what the issue is: Can you manually create the local file structure and see if that resolves your issue? I know this isn't ideal, but SPGo does not effectively retrieve files from the root site collection of a SharePoint site in build 0.10.0.

I'm going to remove the "workspaceRoot" node, as it does not really serve any value (VSCode already vends the current workspace path, and coupling the workspace URL to your local environment will break team/source integration). I'll push this new build by EoW.

Thanks for using SPGo!

@ulrichbojko
Copy link
Author

ulrichbojko commented Sep 6, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants