44 lines
1.2 KiB
Markdown
44 lines
1.2 KiB
Markdown
# Custom Branding
|
|
|
|
Custom Branding ist ein SPFx-1.4.1-Application-Customizer fuer SharePoint Server Subscription Edition. Die Solution laedt zentral konfigurierte Stylesheets und kann strukturierte Inhalte in den oberen und unteren SharePoint-Placeholder rendern.
|
|
|
|
## Version
|
|
|
|
`1.0.4.0`
|
|
|
|
## Konfiguration
|
|
|
|
Die Konfiguration wird in den `ClientSideComponentProperties` der aktiven UserCustomAction gespeichert und zentral ueber PortalSettings gepflegt:
|
|
|
|
```json
|
|
{
|
|
"cssfiles": [],
|
|
"placeholdertop": {
|
|
"elements": []
|
|
},
|
|
"placeholderbottom": {
|
|
"elements": []
|
|
}
|
|
}
|
|
```
|
|
|
|
## Build
|
|
|
|
Die Legacy-SPFx-Toolchain benoetigt Node.js 8.17.0:
|
|
|
|
```powershell
|
|
npm install
|
|
npm run package
|
|
```
|
|
|
|
Das Paket wird unter `sharepoint/solution/custom-branding.sppkg` erzeugt.
|
|
|
|
## Installation
|
|
|
|
1. `custom-branding.sppkg` in den App Catalog laden beziehungsweise ersetzen.
|
|
2. Die App im Root Web der Site Collection installieren oder aktualisieren.
|
|
3. Beim Aktivieren wird der Custom Branding Application Customizer automatisch web-scoped registriert.
|
|
4. PortalSettings mit `Strg+F5` neu laden und den Tab **Custom Branding** konfigurieren.
|
|
|
|
Das Skript `deployment/add-custombranding.ps1` bleibt fuer automatisierte Rollouts oder eine ausdruecklich site-scoped Registrierung verfuegbar.
|