pnp / sp-dev-site-scripts

Repository for sample SharePoint site designs and site scripts
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview
MIT License
162 stars 68 forks source link

setRegionalSettings - Action Failed #22

Open salesky opened 5 years ago

salesky commented 5 years ago

Category

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.

rheid commented 5 years ago

Hey everyone, if I set the value "timeZone": 1 the got the problem here. screen-2019-02-05-64255