SiteCollection - IsPublic attribute not accepting parameters
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
Hi there,
maybe this is more a question. Is there any way to pass a parameter into a template to indicate the privacy of the SiteCollection or the Team?


The schema is only allowing a boolean for the case of the SiteCollection, and It would be nice to be able to send a parameter to use the same XML file for public or private sites.
Any other suggestion? Right now as a workaround, we are loading the hierarchy and changing the value before applying the template, but to be able to send a parameter would be a good improvement.
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the SiteCollection IsPublic value is defined in the provisioning schema and how template parameters are handled for SiteCollection and Team settings. Compare this with the reported hierarchy-loading workaround; done should allow one XML template to select public or private sites through a parameter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100