PnP Site Script (JSON) - createSPList subaction for addFile - I can't get this to work...Please Help #2987
Unanswered
wniemiGHUb
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am hoping someone can help resolve this Site Script issue:
I am creating SharePoint Online Site Scripts to add to Site Designs. I am able to create a document library with folders and provision a new site with the Site Design which provisions a new document library. When I attempt to use the addFile subaction, so that I can include a file within my provisioned document library, no file is ever created within the new Document Library instance. I have tried both a simple Excel File and a Word Document to no prevail. Anyone have experience with the addFile subaction?
Here is an example of my Site Script (JSON) - which everything works except for the addFile entry (tenant URL in sourceUrl masked out by 'x'):
Beta Was this translation helpful? Give feedback.
All reactions