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

Site Design Templates are not available #4103

Closed
ravick4u opened this issue Jun 6, 2019 — with docs.microsoft.com · 7 comments
Closed

Site Design Templates are not available #4103

ravick4u opened this issue Jun 6, 2019 — with docs.microsoft.com · 7 comments
Labels
area:site-design Category: Site Designs/Site Scripts status:answered Answer to a question. type:question Question... if answered, will be tagged as such.

Comments

Copy link

ravick4u commented Jun 6, 2019

I created site design with -WebTemplate value "1" and its not available under drop down to choose from.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@msft-github-bot
Copy link
Collaborator

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@msft-github-bot msft-github-bot added the Needs: Triage 🔍 Awaiting categorization and initial review. label Jun 6, 2019
@KEMiCZA
Copy link
Contributor

KEMiCZA commented Jun 11, 2019

@ravick4u value "1" is not associated with any existing current template, which is why you're not seeing it in the UI. Use one of the following values:

  • 64: Team Site
  • 68: Communication Site

Kind regards

@andrewconnell andrewconnell added area:site-design Category: Site Designs/Site Scripts status:answered Answer to a question. type:question Question... if answered, will be tagged as such. and removed Needs: Triage 🔍 Awaiting categorization and initial review. labels Jun 11, 2019
Copy link
Author

ravick4u commented Jun 12, 2019

Not sure why @KEMiCZA mentioned that its not possible. This document says that if group less team site can be created with template 1.

If you have disabled modern Group creation (or restricted to a subset of users) and wish to still allow your users to apply site designs to the "group-less" modern Team site template, publish your site designs using the -WebTemplate value "1".

@KEMiCZA
Copy link
Contributor

KEMiCZA commented Jun 12, 2019

@ravick4u
I've created two site designs:

  • Groupless Team Site "TEST Groupless", with WebTemplate 1
  • Team Site "TEST Teamsite", with WebTemplate 64
    await sp.siteDesigns.createSiteDesign({
        Title: "TEST Groupless",
        WebTemplate: "1"
    });

    await sp.siteDesigns.createSiteDesign({
        Title: "TEST TeamSite",
        WebTemplate: "64"
    });

I've also created a groupless teamsite STS#3 on site collection "/sites/modern-site"
On this site collection I can choose from both site designs:
2019-06-12_14-19-57

On the main /_layouts/15/sharepoint.aspx page, where you can create a new Team Site, I can only select the "TEST TeamSite" site design:
2019-06-12_14-23-25

Do you have the same findings? I think this works as designed, please correct me if I'm wrong.

Kind regards

@ravick4u
Copy link
Author

Yes its the same behavior I see. But how can I create a new site without group?

@melitoSP
Copy link
Contributor

@ravick4u On SharePoint start page (previously referred to as SharePoint home page), for site designs we respect the WebTemplate. Therefore if you have a site design with WebTemplate = 64, it should only show for group connected sites. If your site creation experience is for non-group connected team sites, only site designs with WebTemplate = 1 would show.

@msft-github-bot
Copy link
Collaborator

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

@SharePoint SharePoint locked as resolved and limited conversation to collaborators Jan 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area:site-design Category: Site Designs/Site Scripts status:answered Answer to a question. type:question Question... if answered, will be tagged as such.
Projects
None yet
Development

No branches or pull requests

5 participants