Can someone explain the difference between SP web parts and extensions?
I’m in the process of revamping our company’s SharePoint; we have multiple sites, each of which has its own documents, sub pages etc. I’ve been given a design for the site, and mostly it’s achievable with the built-in functionality (just regular text etc) but a couple of parts will require Web Parts to be built, so I’ve been learning that and it seems fine so far.
However, there are a few things that might not be manageable that way, so I’ve been looking into Extensions and Templates as well, and I’m not totally clear on how they all fit together.
Specifically, what’s the difference between a Web Part and an Extension? Why would I choose one over the other? Is there a specific case where a Web Part wouldn’t do what I needed it to do, and I’d need to create an Extension? Or vice versa?
I’m also not clear on Templates and how those fit in.
For instance, I need to do the following, if possible:
> Make every site ‘Dark Mode’ by default; i.e. a dark background (preferably in a colour that I can select, because the ‘brand black’ is slightly ‘off black’).
> Add a different background for alternative sections (i.e. section 1 has the default black/off-black, then section 2 has a slightly lighter black, then section 3 has the default again and so on).
> Change the look of the menu at the top of the page (basically changing to the brand colours instead of the default purple); this should be applied to every page if possible (not the end of the world if I have to do it manually).
> Style the list of documents.
> Remove the spacing between sections.
>When a new page is created, it should have the above styles applied automatically (if possible – or at least have these styles available to select).
I know HTML/CSS and JS/React, so coding the web parts etc hasn’t been a problem; I’m just confused about how Templates fit in and on whether I can use Extensions for any of it. I’ve read the documentation, but it hasn’t really made things clearer!
I’m in the process of revamping our company’s SharePoint; we have multiple sites, each of which has its own documents, sub pages etc. I’ve been given a design for the site, and mostly it’s achievable with the built-in functionality (just regular text etc) but a couple of parts will require Web Parts to be built, so I’ve been learning that and it seems fine so far. However, there are a few things that might not be manageable that way, so I’ve been looking into Extensions and Templates as well, and I’m not totally clear on how they all fit together. Specifically, what’s the difference between a Web Part and an Extension? Why would I choose one over the other? Is there a specific case where a Web Part wouldn’t do what I needed it to do, and I’d need to create an Extension? Or vice versa? I’m also not clear on Templates and how those fit in. For instance, I need to do the following, if possible: > Make every site ‘Dark Mode’ by default; i.e. a dark background (preferably in a colour that I can select, because the ‘brand black’ is slightly ‘off black’). > Add a different background for alternative sections (i.e. section 1 has the default black/off-black, then section 2 has a slightly lighter black, then section 3 has the default again and so on). > Change the look of the menu at the top of the page (basically changing to the brand colours instead of the default purple); this should be applied to every page if possible (not the end of the world if I have to do it manually). > Style the list of documents. > Remove the spacing between sections. >When a new page is created, it should have the above styles applied automatically (if possible – or at least have these styles available to select). I know HTML/CSS and JS/React, so coding the web parts etc hasn’t been a problem; I’m just confused about how Templates fit in and on whether I can use Extensions for any of it. I’ve read the documentation, but it hasn’t really made things clearer! Read More