Forum Discussion
Brent Ellis
Jul 21, 2017Silver Contributor
Change "Classification" of Communication Site?
How/where can we change the "Classification" of a Communication Site after it is created?
kath patterson
Oct 31, 2017Iron Contributor
this GitHub issue may be of interest. https://github.com/SharePoint/sp-dev-docs/issues/859
they also have used the group (I think that is what the exhange stuff is) as a workaround for team sites but as you say its no good for comms sites. Looks like the edit problem is an oversight and hopefully Vesa will pursue this one.
classification is available on the site object in CSOM and also on the pageContext in Typescript for SPFx so we can use it to drive extensions which is good.
this.context.pageContext.site.classification
//csom testing site class property is available in Core v19
ctx.Load(spsite, s => s.Classification);
ctx.ExecuteQuery();
hopefully the update route will be tidied up so that PnP Core can handle the edits transparently in future.
kath patterson
Nov 08, 2017Iron Contributor
update issues being addressed in PnP Core see SIG Nov 2nd video.
Comms site edits now all good from Site object. Have tried this myself and is fine.
Modern team sites have this little problem that a value is attached to both the site and the backing group. The group value overrides. To change the group means some messing about in Graph. Core is being extended to encapsulate this. Hopefully next release.
Comms site edits now all good from Site object. Have tried this myself and is fine.
Modern team sites have this little problem that a value is attached to both the site and the backing group. The group value overrides. To change the group means some messing about in Graph. Core is being extended to encapsulate this. Hopefully next release.