Коммит
8e34cd4b0f
|
@ -0,0 +1,34 @@
|
|||
# Module 1 - Modern SharePoint Sites
|
||||
|
||||
A SharePoint communication site is a great place to share information with others. You can share news, reports, statuses, and other information in a visually compelling format.
|
||||
|
||||
In this module, you will learn about the modern SharePoint sites (team sites and communication sites). You will explore customizing the site with content, pages, and the modern web parts. You will also see how admins can control the site creation experiences and put governance controls in place.
|
||||
|
||||
## Presentation Content
|
||||
|
||||
Public link to [Slide Deck for Mobile 1](Presentations/Module1.pptx)
|
||||
|
||||
## Additional Resources
|
||||
|
||||
- [What is a SharePoint Communication Site](https://support.office.com/en-us/article/What-is-a-SharePoint-communication-site-94a33429-e580-45c3-a090-5512a8070732?ui=en-US&rs=en-US&ad=US)
|
||||
- [Create Connected SharePoint Online Team Sites in Seconds](https://www.microsoft.com/en-us/microsoft-365/blog/2016/11/08/create-connected-sharepoint-online-team-sites-in-seconds/)
|
||||
- [Manage Site Creation in SharePoint Online](https://support.office.com/en-us/article/manage-site-creation-in-sharepoint-online-e72844a3-0171-47c9-befb-e98b23e2dcf9?ui=en-US&rs=en-US&ad=US)
|
||||
- [8 tips to get started with SharePoint Communication Sites](https://www.computerworld.com/article/3205245/enterprise-applications/8-tips-to-get-started-with-sharepoint-communication-sites.html)
|
||||
- [Enforcing a naming policy for O365 Groups in Azure Active Directory](https://docs.microsoft.com/en-us/azure/active-directory/groups-naming-policy)
|
||||
- [SharePoint "modern" sites classification](https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-site-classification)
|
||||
|
||||
## Hands-On Activities
|
||||
|
||||
- [Create a Communication Site](https://support.office.com/en-us/article/create-a-communication-site-in-sharepoint-online-7fb44b20-a72f-4d2c-9173-fc8f59ba50eb)
|
||||
- [Customize Your Site](https://support.office.com/en-us/article/customize-your-sharepoint-site-320b43e5-b047-4fda-8381-f61e8ac7f59b)
|
||||
- [Add a Page to your Site](https://support.office.com/en-us/article/add-a-page-to-a-site-b3d46deb-27a6-4b1e-87b8-df851e503dec)
|
||||
- [Add or Remove columns on a Page](https://support.office.com/en-us/article/Add-or-remove-columns-on-a-page-fc491eb4-f733-4825-8fe2-e1ed80bd0899)
|
||||
- [Using Web Parts on Modern Pages](https://support.office.com/en-us/article/using-web-parts-on-sharepoint-online-pages-336e8e92-3e2d-4298-ae01-d404bbe751e0?ui=en-US&rs=en-US&ad=US)
|
||||
- [Use the Hero Web Part](https://support.office.com/en-us/article/use-the-hero-web-part-d57f449b-19a0-4b0d-8ce3-be5866430645)
|
||||
- [Use the News web part](https://support.office.com/en-us/article/Use-the-News-web-part-on-a-SharePoint-page-c2dcee50-f5d7-434b-8cb9-a7feefd9f165?ui=en-US&rs=en-US&ad=US)
|
||||
- [Use the Image Gallery Web Part](https://support.office.com/en-us/article/Use-the-Image-Gallery-web-part-bbcbe560-14a7-4369-8ef5-3255845e3bfd)
|
||||
- [Use the Events web part](https://support.office.com/en-us/article/Use-the-Events-web-part-5fe4da93-5fa9-4695-b1ee-b0ae4c981909)
|
||||
- [Show People Profiles on your Page with the People Web Part](https://support.office.com/en-us/article/Show-people-profiles-on-your-page-with-the-People-web-part-7e52c5f6-2d72-48fa-a9d3-d2750765fa05)
|
||||
- [Use the Quick Links Web Part](https://support.office.com/en-us/article/Use-the-Quick-Links-web-part-e1df7561-209d-4362-96d4-469f85ab2a82)
|
||||
- [Customize the Navigation on your SharePoint Site (top menu communication site)](https://support.office.com/en-us/article/Customize-the-navigation-on-your-SharePoint-site-3CD61AE7-A9ED-4E1E-BF6D-4655F0BF25CA?ui=en-US&rs=en-US&ad=US)
|
||||
- [Use the Connector Web Part (use a Team Site)](https://support.office.com/en-us/article/Use-the-Connector-web-part-db0756aa-f78f-4b74-8b19-be5dca0420e1#bkmk_connectorswebpart)
|
|
@ -0,0 +1,23 @@
|
|||
# Module 2 - Site Themes and Branding
|
||||
|
||||
Most intranet deployments involve some sort of requirement for the appearance of the sites and pages to be consistent with your company's brand.
|
||||
|
||||
In this module, you will learn about how to theme the Office 365 experience including the top nav bar and logo. You will explore site specific controls like site logos, navigation, and the provided site themes. Lastly, you will use the Theme Generator tool to develop your own custom theme and through PowerShell deploy it to the tenant.
|
||||
|
||||
## Presentation Content
|
||||
|
||||
Public link to [Slide Deck for Module 2](Presentations/Module2.pptx)
|
||||
|
||||
## Additional Resources
|
||||
|
||||
- [Modernize site branding](https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-branding)
|
||||
- [JSON Schema Reference for Site Theming](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-json-schema)
|
||||
- [SharePoint Site Theming](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
|
||||
- [Theme Generator Tool](https://developer.microsoft.com/en-us/fabric#/styles/themegenerator)
|
||||
- [How to Create a Multi-colored Theme for Modern SharePoint Online Site](https://laurakokkarinen.com/how-to-create-a-multicolored-theme-for-a-modern-sharepoint-online-site/)
|
||||
|
||||
## Hands-On Activities
|
||||
|
||||
- [Customize the Office 365 theme for your organization](https://support.office.com/en-us/article/Customize-the-Office-365-theme-for-your-organization-8275DA91-7A48-4591-94AB-3123A3F79530)
|
||||
- [Change the look of your site with OOB Themes](https://support.office.com/en-us/article/change-the-look-of-your-sharepoint-site-06bbadc3-6b04-4a60-9d14-894f6a170818) (skip classic section. But investigate site logo and navigation sections)
|
||||
- [Working with Custom Themes with PowerShell](http://blog.pixelmill.com/3348/changing-colors-modern-site/) (stop when you get to Custom Classic Themes)
|
|
@ -0,0 +1,22 @@
|
|||
# Module 3 - Site Designs and Site Scripts
|
||||
|
||||
When people in your organization create new SharePoint sites, you often need to ensure some level of consistency. For example, you may need proper branding and theming applied to each new site. You may also have detailed site provisioning scripts, such as using the PnP provisioning engine, that need to be applied each time a new site is created. Use site designs and site scripts to automate provisioning new or existing modern SharePoint sites that use your own custom configurations.
|
||||
|
||||
In this module, you will create a site script and register it to be used with a site design.
|
||||
|
||||
## Presentation Content
|
||||
|
||||
Public link to [Slide Deck for Module 3](Presentations/Module3.pptx)
|
||||
|
||||
## Additional Resources
|
||||
|
||||
- [PnP Provisioning Engine](https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/introducing-the-pnp-provisioning-engine)
|
||||
- [Site Design and Site Script Overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
|
||||
- [Site Design Scoping](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-scoping)
|
||||
- [Site Design JSON Schema](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema)
|
||||
- [Calling the PnP provisioning engine from a site scrips](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-pnp-provisioning)
|
||||
|
||||
## Hands-On Activities
|
||||
|
||||
- [Getting started creating site designs and site scripts](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/get-started-create-site-design) (customer tracking example)
|
||||
- [Using the PnP Provisioning Engine](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-pnp-provisioning) (advanced users only with access to Azure. Don't recommend using the provided SharePoint Framework Extension as it requires even more work to setup, but if you want to simply have your PnP engine make a smaller change)
|
|
@ -0,0 +1,28 @@
|
|||
# Module 4 - Hub Sites
|
||||
|
||||
SharePoint hub sites help you meet the needs of your organization by connecting and organizing sites based on project, department, division, region, etc. making it easier to:
|
||||
|
||||
- discover related content such as news and other site activities,
|
||||
- apply common navigation and branding across associated sites,
|
||||
- search across all associated sites.
|
||||
|
||||
In this module, you will create a hub site and associate another site with it. You will also explore some of the benefits of this relationship such as navigation, news, search, and branding.
|
||||
|
||||
## Presentation Content
|
||||
|
||||
Public link to [Slide Deck for Module 4](Presentations/Module4.pptx)
|
||||
|
||||
## Additional Resources
|
||||
|
||||
- [What is a Hub Site?](https://support.office.com/en-us/article/what-is-a-sharepoint-hub-site-fe26ae84-14b7-45b6-a6d1-948b3966427f?ui=en-US&rs=en-US&ad=US)
|
||||
- [6 tips for SharePoint Hub Sites](https://www.computerworld.com/article/3280102/enterprise-applications/6-tips-for-planning-sharepoint-hub-sites.html)
|
||||
- [PowerShell commands for Hub Sites](https://docs.microsoft.com/en-us/sharepoint/dev/features/hub-site/hub-site-powershell)
|
||||
- [Organize your intranet with Hub Sites](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/Organize-your-intranet-with-SharePoint-hub-sites/ba-p/174081)
|
||||
|
||||
## Hands-On Activities
|
||||
|
||||
- Create two modern team sites - one to be the hub and one to be an associated site
|
||||
- Use the following [guide](https://support.office.com/en-us/article/create-a-hub-site-in-sharepoint-online-92bea781-15d8-4bda-805c-e441e2191ff3) to register the hub site (no need to restrict permissions)
|
||||
- [Setup your hub site](https://support.office.com/en-us/article/set-up-your-sharepoint-hub-site-e2daed64-658c-4462-aeaf-7d1a92eba098) specifying a logo, theme, and web parts
|
||||
- Add some documents to your non-hub site and create a few news pages
|
||||
- [Associate your site with the hub](https://support.office.com/en-us/article/associate-a-sharepoint-site-with-a-hub-site-ae0009fd-af04-4d3d-917d-88edb43efc05) (remember to give Search enough time to index before content starts appearing)
|
|
@ -0,0 +1,38 @@
|
|||
# Module 5 - Intro to the SharePoint Framework
|
||||
|
||||
The SharePoint Framework (SPFx) is a page and web part model that provides full support for client-side SharePoint development, easy integration with SharePoint data, and support for open source tooling. With the SharePoint Framework, you can use modern web technologies and tools in your preferred development environment to build productive experiences and apps that are responsive and mobile-ready from day one. The SharePoint Framework works for SharePoint Online and soon also for on-premises (SharePoint 2016 Feature Pack 2).
|
||||
|
||||
Key features of the SharePoint Framework include the following:
|
||||
|
||||
- It runs in the context of the current user and connection in the browser. There are no iFrames for the customization (JavaScript is embedded directly to the page).
|
||||
- The controls are rendered in the normal page DOM.
|
||||
- The controls are responsive and accessible by nature.
|
||||
- It enables the developer to access the lifecycle in addition to render, load, serialize and deserialize, configuration changes, and more.
|
||||
- It is framework-agnostic. You can use any JavaScript framework that you like: React, Handlebars, Knockout, Angular, and more.
|
||||
- The toolchain is based on common open source client development tools such as npm, TypeScript, Yeoman, webpack, and gulp.
|
||||
- Performance is reliable.
|
||||
- End users can use SPFx client-side solutions that are approved by the tenant administrators (or their delegates) on all sites, including self-service team, group, or personal sites.
|
||||
- SPFx web parts can be added to both classic and modern pages.
|
||||
|
||||
## Presentation Content
|
||||
|
||||
Public link to [Slide Deck for Module 5](Presentations/Module5.pptx)
|
||||
|
||||
## Additional Resources
|
||||
|
||||
- [Announcing SharePoint Framework version 1.5](https://dev.office.com/blogs/announcing-sharepoint-framework-version-1-5-new-tools-and-a-beta-preview)
|
||||
- [Overview of the SharePoint Framework](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview)
|
||||
- [SharePoint Development Overview](https://docs.microsoft.com/en-us/sharepoint/dev/general-development/sharepoint-development-overview)
|
||||
- [Office Dev Center](https://developer.microsoft.com/en-us/office)
|
||||
- [SharePoint Developer Community](https://docs.microsoft.com/en-us/sharepoint/dev/community/community)
|
||||
- [Patterns and Practices GitHub](https://github.com/SharePoint/PnP)
|
||||
- [The Intrazone Podcast](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/The-Intrazone-a-new-SharePoint-podcast-from-Microsoft/ba-p/184910)
|
||||
- [SharePoint Framework Extensions](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/overview-extensions)
|
||||
- [Sample SPFx Extensions](https://github.com/SharePoint/sp-dev-fx-extensions)
|
||||
|
||||
## Hands-On Activities
|
||||
|
||||
- If your machine has not been setup for SPFx Development, follow this guide: [https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment)
|
||||
- [Build your first web part](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part)
|
||||
- [Connect your web part to SharePoint](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/connect-to-sharepoint)
|
||||
- [Deploy your web part to a SharePoint page](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/serve-your-web-part-in-a-sharepoint-page)
|
|
@ -0,0 +1,32 @@
|
|||
# Install-Module AzureADPreview -Force -AllowClobber
|
||||
|
||||
Import-Module AzureADPreview
|
||||
|
||||
# Get-Module AzureADPreview
|
||||
# Remove-Module -name AzureAD
|
||||
|
||||
|
||||
Connect-AzureAD
|
||||
|
||||
$template = Get-AzureADDirectorySettingTemplate | where {$_.DisplayName -eq “Group.Unified”}
|
||||
|
||||
$spoBaseUrl = “https://[tenant].sharepoint.com”
|
||||
|
||||
$setting = $template.CreateDirectorySetting()
|
||||
$setting[“UsageGuidelinesUrl”] = $spoBaseUrl
|
||||
$setting[“ClassificationList”] = “Highly Sensitive, Sensitive, General, Not Work Related”
|
||||
$setting[“DefaultClassification”] = “General”
|
||||
$setting["CustomBlockedWordsList"] = "Payroll,CEO,HR"
|
||||
$setting["PrefixSuffixNamingRequirement"] = “[Department]-[GroupName]”
|
||||
|
||||
#New-AzureADDirectorySetting –DirectorySetting $setting
|
||||
Set-AzureADDirectorySetting -Id (Get-AzureADDirectorySetting | where -Property DisplayName -Value "Group.Unified" -EQ).id -DirectorySetting $Setting
|
||||
|
||||
Get-AzureADDirectorySetting -All $True
|
||||
|
||||
# 5ef3462a-5e8e-424a-9293-85f0279eae28
|
||||
(Get-AzureADDirectorySetting -Id 5ef3462a-5e8e-424a-9293-85f0279eae28).values
|
||||
|
||||
|
||||
# https://[tenant].sharepoint.com/sites/Sales-ProjectA/_api/site/Classification
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
Connect-SPOService -Url https://[tenant]-admin.sharepoint.com
|
||||
|
||||
Get-SPOHideDefaultThemes
|
||||
|
||||
$themepalette = @{
|
||||
"themePrimary" = "#9600d4";
|
||||
"themeLighterAlt" = "#060008";
|
||||
"themeLighter" = "#180022";
|
||||
"themeLight" = "#2c003f";
|
||||
"themeTertiary" = "#59007f";
|
||||
"themeSecondary" = "#8200ba";
|
||||
"themeDarkAlt" = "#9e16d8";
|
||||
"themeDark" = "#ab35de";
|
||||
"themeDarker" = "#c066e7";
|
||||
"neutralLighterAlt" = "#151515";
|
||||
"neutralLighter" = "#1e1e1e";
|
||||
"neutralLight" = "#2e2e2e";
|
||||
"neutralQuaternaryAlt" = "#373737";
|
||||
"neutralQuaternary" = "#3f3f3f";
|
||||
"neutralTertiaryAlt" = "#606060";
|
||||
"neutralTertiary" = "#494304";
|
||||
"neutralSecondary" = "#918609";
|
||||
"neutralPrimaryAlt" = "#d5c40d";
|
||||
"neutralPrimary" = "#f2de0e";
|
||||
"neutralDark" = "#f5e746";
|
||||
"black" = "#f8ed75";
|
||||
"white" = "#0b0b0b";
|
||||
"bodyBackground" = "#0b0b0b";
|
||||
"bodyText" = "#f2de0e";
|
||||
}
|
||||
|
||||
Add-SPOTheme -Name "Go Ravens" -Palette $themepalette -IsInverted $true
|
||||
|
||||
|
|
@ -0,0 +1,72 @@
|
|||
Import-Module Microsoft.Online.SharePoint.Powershell -Verbose
|
||||
$usercredential = Get-Credential
|
||||
Connect-SPOService -Url https://[tenant]-admin.sharepoint.com -Credential $usercredential
|
||||
$site_script = @'
|
||||
{
|
||||
"$schema": "schema.json",
|
||||
"actions": [
|
||||
{
|
||||
"verb": "createSPList",
|
||||
"listName": "Customer Tracking",
|
||||
"templateType": 100,
|
||||
"subactions": [
|
||||
{
|
||||
"verb": "SetDescription",
|
||||
"description": "List of Customers and Orders"
|
||||
},
|
||||
{
|
||||
"verb": "addSPField",
|
||||
"fieldType": "Text",
|
||||
"displayName": "Customer Name",
|
||||
"isRequired": false,
|
||||
"addToDefaultView": true
|
||||
},
|
||||
{
|
||||
"verb": "addSPField",
|
||||
"fieldType": "Number",
|
||||
"displayName": "Requisition Total",
|
||||
"addToDefaultView": true,
|
||||
"isRequired": true
|
||||
},
|
||||
{
|
||||
"verb": "addSPField",
|
||||
"fieldType": "User",
|
||||
"displayName": "Contact",
|
||||
"addToDefaultView": true,
|
||||
"isRequired": true
|
||||
},
|
||||
{
|
||||
"verb": "addSPField",
|
||||
"fieldType": "Note",
|
||||
"displayName": "Meeting Notes",
|
||||
"isRequired": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"bindata": { },
|
||||
"version": 1
|
||||
}
|
||||
'@
|
||||
Add-SPOSiteScript -Title "Create customer tracking list" -Content $site_script -Description "Creates list for tracking customer contact information"
|
||||
|
||||
<#Id : f31fef9e-3595-4db9-a99a-60787c77d085
|
||||
Title : Create customer tracking list
|
||||
Description : Creates list for tracking customer contact information
|
||||
Content :
|
||||
Version : 0
|
||||
#>
|
||||
|
||||
Add-SPOSiteDesign -Title "Contoso customer tracking" -WebTemplate "64" -SiteScripts "f31fef9e-3595-4db9-a99a-60787c77d085" -Description "Tracks key customer data in a list"
|
||||
|
||||
<#
|
||||
Id : 00ff0844-e8d5-4635-9ba5-8b4f8f7e46b1
|
||||
Title : Contoso customer tracking
|
||||
WebTemplate : 64
|
||||
SiteScriptIds : {f31fef9e-3595-4db9-a99a-60787c77d085}
|
||||
Description : Tracks key customer data in a list
|
||||
PreviewImageUrl :
|
||||
PreviewImageAltText :
|
||||
IsDefault : False
|
||||
Version : 1
|
||||
#>
|
|
@ -0,0 +1,19 @@
|
|||
# Install-Module -Name SharePointPnpPowerShellOnline -FOrce -SkipPublisherCheck
|
||||
|
||||
Import-Module Microsoft.Online.SharePoint.Powershell -Verbose
|
||||
|
||||
# Connect-SPOService -Url "https://[tenant]-admin.sharepoint.com"
|
||||
|
||||
Connect-PnPOnline -Url "https://[tenant]-admin.sharepoint.com"
|
||||
|
||||
New-PnPSite -Type TeamSite -title "Contoso marketing division" -alias "marketing" -Description "Main site for collaboration for marketing teams at Contoso"
|
||||
|
||||
Register-SPOHubSite -Site https://[tenant].sharepoint.com/sites/marketing
|
||||
|
||||
Set-SPOHubSite -Identity https://[tenant].sharepoint.com/sites/marketing -LogoUrl https://[tenant].sharepoint.com/marketing/SiteAssets/nihlogo.png -Description "Main hub site for collaboration on marketing activities across Contoso"
|
||||
|
||||
Grant-SPOHubSiteRights -Identity https://[tenant].sharepoint.com/sites/marketing -Principals "admin@[tenant].onmicrosoft.com" -Rights Join
|
||||
|
||||
New-PnPSite -Type TeamSite -title "Online advertising team" -alias "online-advertising" -Description "For collaboration on online advertising resources"
|
||||
|
||||
Add-SPOHubSiteAssociation -Site https://[tenant].sharepoint.com/sites/online-advertising -HubSite https://[tenant].sharepoint.com/sites/marketing
|
|
@ -0,0 +1,51 @@
|
|||
Connect-SPOService -Url https://[tenant]-admin.sharepoint.com
|
||||
|
||||
Get-SPOSiteDesign
|
||||
|
||||
|
||||
$site_script = @'
|
||||
{
|
||||
"$schema": "schema.json",
|
||||
"actions": [
|
||||
{
|
||||
"verb": "triggerFlow",
|
||||
"url": "https://[URLFORFLOW]",
|
||||
"name": "Apply Template",
|
||||
"parameters": {
|
||||
"event":"",
|
||||
"product":""
|
||||
}
|
||||
}
|
||||
],
|
||||
"bindata": {},
|
||||
"version": 2
|
||||
}
|
||||
'@
|
||||
|
||||
Add-SPOSiteScript -Title "Apply PnP Provisioning Template" -Content $site_script
|
||||
Get-SPOSiteScript
|
||||
|
||||
Remove-SPOSiteDesign 70d1d90d-56db-420a-9e16-3aab3ab0a5b5
|
||||
Remove-SPOSiteScript fc0e3e80-9b8e-45a6-ba43-bad7be34c88a
|
||||
|
||||
|
||||
|
||||
<# dbdd42ee-b0b3-4df3-baa5-dc9a27a46d67 #>
|
||||
|
||||
Add-SPOSiteDesign -Title "Site with footer" -SiteScripts dbdd42ee-b0b3-4df3-baa5-dc9a27a46d67 -WebTemplate "64"
|
||||
|
||||
<#
|
||||
Id : 7be9875c-3ca5-46cd-b840-a2ae1e7941ba
|
||||
Title : Site with footer
|
||||
WebTemplate : 64
|
||||
SiteScriptIds : {dbdd42ee-b0b3-4df3-baa5-dc9a27a46d67}
|
||||
Description :
|
||||
PreviewImageUrl :
|
||||
PreviewImageAltText :
|
||||
IsDefault : False
|
||||
Version : 1
|
||||
#>
|
||||
|
||||
$uri = "https://[URLFORFLOW]"
|
||||
$body = "{webUrl:'https://[tenant].sharepoint.com/sites/footer456'}"
|
||||
Invoke-RestMethod -Uri $uri -Method Post -ContentType "application/json" -Body $body
|
|
@ -0,0 +1,21 @@
|
|||
# PowerShell Scripts for Demos
|
||||
|
||||
## Classification.ps1
|
||||
|
||||
This PowerShell script demonstrates how to add governance policies to the site creation process. It enforces a naming convention for the modern sites adding the Azure AD attribute of Department as a prefix. The script also shows how to add a blocked word list to keep users from creating sites that appear to be organizational sites such as HR. It adds a custom URL for the Usage Guidelines and includes a classification system for sensitivity of the site.
|
||||
|
||||
## CustomerTrackingSiteDesign.ps1
|
||||
|
||||
This PowerShell script shows how to create a custom list with custom columns as part of a "template" for a modern team site. The creation of the list is captured as a site script and included as a site design.
|
||||
|
||||
## CustomTheme.ps1
|
||||
|
||||
This PowerShell script shows how to register a custom theme for modern SharePoint sites. It also shows how to enable/hide the out of the box themes.
|
||||
|
||||
## HubSites.ps1
|
||||
|
||||
This PowerShell script creates 2 site collections, designates one as a hub site, and associates the remaining site to the hub. It also adds a security control to specify who is allowed to join associated sites to the hub.
|
||||
|
||||
## SiteScriptwithFlow.ps1
|
||||
|
||||
This PowerShell script demonstrates how to call a custom Flow from within a site script.
|
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
40
README.md
40
README.md
|
@ -1,14 +1,34 @@
|
|||
# Customizing Modern SharePoint Workshop
|
||||
|
||||
# Contributing
|
||||
SharePoint Online is driving innovation around the introduction of “modern” workplace across the SharePoint service, including robust customization options and enhanced user experience.
|
||||
|
||||
This project welcomes contributions and suggestions. Most contributions require you to agree to a
|
||||
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
|
||||
the rights to use your contribution. For details, visit https://cla.microsoft.com.
|
||||
Please join us for an interactive workshop where you’ll hear the latest, including how to customize SharePoint’s modern user interface, while gaining new insights into creating modern team sites, communication sites, and explore hub sites.
|
||||
|
||||
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
|
||||
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
|
||||
provided by the bot. You will only need to do this once across all repos using our CLA.
|
||||
During this session, attendees will learn how to introduce custom themes and templates using site scripts and site designs, while also getting tips on how to extend the modern UI using the SharePoint Framework.
|
||||
|
||||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
||||
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
|
||||
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
||||
## Agenda Topics
|
||||
|
||||
- Modern SharePoint Sites Overview
|
||||
- Team Sites, Communication Sites, Hub Sites
|
||||
- Modern Branding with Site Themes
|
||||
- Site Scripts and Site Designs
|
||||
- SharePoint Framework
|
||||
|
||||
## Who Should Attend
|
||||
|
||||
SharePoint Developers and other Power Users seeking an introduction to SharePoint developer techniques.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
The Customizing Modern SharePoint Workshop is designed as a hands-on experience. To enable participation, please follow the steps below prior to arrival:
|
||||
|
||||
1. Secure global admin access to a non-production Office 365 tenant by obtaining [free 30-day trial](https://portal.microsoftonline.com/Signup/MainSignUp.aspx?OfferId=6881A1CB-F4EB-4db3-9F18-388898DAF510&DL=DEVELOPERPACK), or an [Office 365 Developer account](https://portal.microsoftonline.com/Signup/MainSignUp.aspx?OfferId=C69E7747-2566-4897-8CBA-B998ED3BAB88&DL=DEVELOPERPACK), or access your [MSDN Developer Benefits](https://msdn.microsoft.com/subscriptions/manage/default.aspx).
|
||||
1. Ensure the O365 tenant you will be using is set for [Targeted Release](https://support.office.com/en-us/article/Set-up-the-Standard-or-Targeted-release-options-in-Office-365-3b3adfa4-1777-4ff0-b606-fb8732101f47) for the entire organization (first release) to get access to preview features.
|
||||
1. If you wish to participate in the labs, you are required to bring a machine with [SharePoint Online PowerShell](https://technet.microsoft.com/en-us/library/fp161372.aspx) installed. The machine should also be set-up to support [SharePoint Framework Development](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment) (NodeJS, Yeoman, Gulp, SharePoint Generator, Visual Studio Code).
|
||||
1. Internet access (wireless) will be provided onsite.
|
||||
|
||||
## Looking Ahead
|
||||
|
||||
- [Introducing SharePoint Starter Kit](https://dev.office.com/blogs/introducing-sharepoint-starter-kit)
|
||||
- [SharePoint and Teams - Better Together](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-and-Teams-Better-Together/ba-p/189593)
|
||||
- [What's new for Your Intranet in Office 365](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/What-s-new-for-your-intranet-in-Office-365/ba-p/194168)
|
Загрузка…
Ссылка в новой задаче