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

New command: Create site script from an existing list #713

Closed
waldekmastykarz opened this issue Dec 17, 2018 · 3 comments
Closed

New command: Create site script from an existing list #713

waldekmastykarz opened this issue Dec 17, 2018 · 3 comments

Comments

@waldekmastykarz
Copy link
Member

waldekmastykarz commented Dec 17, 2018

Creates site script from an existing list

command: spo list sitescript get -u|--webUrl <webUrl> -i|--id [id] -t|--title [title]

  • webUrl: The URL of the site where the list is located
  • id: The ID of the list for which to generate site script. Specify id or title but not both
  • title: The Title of the list for which to generate site script. Specify id or title but not both

For more information see: https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/get-spositescriptfromlist?view=sharepoint-ps

@ypcode
Copy link
Contributor

ypcode commented Dec 17, 2018

Hi @waldekmastykarz ,
I already have a good start for that feature in Site Designs Studio.
I can take care of this one :)

However, one question: does it have to handle built-in list template and extract the delta only?
It is how I started in my code, but I didn't find a reference documentation with all builtin list templates and, overall, their associated fields. To have it fully feature this document would be really useful,

@waldekmastykarz
Copy link
Member Author

I think there is a server-side API available for it nowadays (see the referenced PoSh cmdlet) so ideally we'd use the same for consistency.

@ypcode
Copy link
Contributor

ypcode commented Dec 17, 2018

Ok that would be a different approach then :D but I can take it, that will interest me for the future of Site Designs Studio as well :)

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

No branches or pull requests

2 participants