sp-dev-site-scripts
sp-dev-site-scripts copied to clipboard
setRegionalSettings - Action Failed
Category
- [ ] Question
- [X ] Bug
- [ ] Enhancement
Expected or Desired Behavior
Using SiteScripts and verb "setRegionalSettings" user should be able to set newly created site Regional Settings. { "verb": "setRegionalSettings", "timeZone": 6, /* UTC + 1 / "locale": 1060, / Slovenian / "sortOrder": 34, / Slovenian */ "hourFormat": "24" },
Observed Behavior
When creating new site using SiteTemplate I get "Action Failed" for Regional Settings and sites Regional Settings are not set correctly. I tried some other settings (for Croatian which is avaialable in https://github.com/SharePoint/sp-dev-site-scripts/tree/master/samples/site-apply-regional-settings) and it worked OK).
Steps to Reproduce
Create SiteTemplate by steps provided by Microsoft and try to set regionalSettings.
Hey everyone, if I set the value "timeZone": 1 the got the problem here.