Where To Place Office Templates
Accept you heard about "SharePoint Organization Nugget Libraries" ?
This characteristic rolled-out in the end of 2019, allows you to define some SharePoint Document Libraries as organization assets sources. What kind of assets are we talking about ? Information technology really enables two kinds of features:
- The virtually famous is the ability to propose organisation images in SharePoint WebParts configuration. For example, you lot can distribute comprehend images for SharePoint Page header, or organization logos to be used in Image webparts or QuickLinks webparts.
- The less famous simply even more useful in my opinion, is the ability to distribute your company Function documents templates, directly into your users Role clients
How does it work ?
This feature leverage the Office 365 CDN (Content Commitment Network) capabilities. A CDN is a mechanism that aims to improve considerably websites performances past providing avails the website requires (such as scripts or images) closer to the browsers requesting it.
At that place are actually two kinds of CDN in Microsoft 365:
- Private: The content published on the CDN requires an hallmark from users accessing the content.
- Public: The content published on the CDN is anonymously accessible.
For SharePoint Org. assets libraries, the default CDN used is the private 1, and there is actually no real reason to use the public CDN since your Office Templates and WebPart settings should simply exist accessible by logged-in users.
So we are basically going to publish several SharePoint Libraries to the Part 365 CDN: Our libraries are going to be identified as "Origins" for the CDN.
SharePoint set
To host our assets, we will create a dedicated SharePoint modern Communication site, where we will create our libraries.
Nosotros tin can configure up to 30 system assets libraries, but they need to be all on the aforementioned Site collection.
Either for Images or Office templates, you'll have to create modernistic Documents Libraries (no need to search for the "old" Image library SharePoint application).
You tin have several Office Template libraries. Each i will be represented past a binder in your Office clients. If a user doesn't have access to a library, he volition all the same be able to meet the binder (as it is registered as an origins for the CDN) but won't be able to run into any template inside. From a functional perspective, I would rather create simply one Part Template Library with company templates at the root and several folders for specific department templates. So I will manage the visibility of the folder with SharePoint permissions.
You can, and you should, create multiple Org. Image libraries. Creating several libraries allows yous to define multiple families of images, such as Cover Images, Visitor logos, Production images and so on, so your users tin can observe easier what they are looking for.
Once your libraries are created, you can upload your Images and Office Templates.
All your Office Template must be upload with an "Role Template" format:
- potx for PowerPoint
- dotx for Discussion
- xltx for Excel
Set your SharePoint libraries as Organisation Avails
To define your SharePoint Libraries equally Organization asset libraries, you lot need to accept at to the lowest degree the SharePoint Admin role.
The operation can merely be done using SharePoint Online Direction Vanquish PowerShell commands. If you lot don't have the PowerShell module, y'all tin can install it via PowerShell gallery, with the following PowerShell command:
Install-Module -Name Microsoft.Online.SharePoint.PowerShell
Or using the -scope parameter if you are not local admin of your computer
Install-Module -Proper noun Microsoft.Online.SharePoint.PowerShell -Telescopic CurrentUser
Now that we have the correct PowerShell module, we can connect to our SharePoint Online central admin. Execute the following command and log you in with your SharePoint Admin business relationship. It requires the SharePoint Admin Middle URL that looks like "https://<tenant_name>-admin.sharepoint.com"
Connect-SPOService https://<tenant_name>-admin.sharepoint.com
Then we will execute the Add-SPOOrgAssetsLibrary cmdlet. Hither are the parameters :
- LibraryUrl: Mandatory. The URL of your SharePoint Library to define as an Organisation nugget library
- OrgAssetType: Can be either "ImageDocumentLibrary" (default), that defines your organization images asset libraries or "OfficeTemplateLibrary", that defines your Office Template libraries.
- ThumbnailUrl: Optional. The URL of the image used as a background image for your images library on the image picker in SharePoint webparts configuration.
- CdnType: Tin be either "Private" (default) or "Public"
We'll outset register our "Company Templates" library equally our Office Template Library
Add-SPOOrgAssetsLibrary -LibraryUrl "https://<tenant_name>.sharepoint.com/sites/templates/Company%20Templates" -OrgAssetType OfficeTemplateLibrary
If information technology is the commencement time y'all add a SharePoint Online Organization Assets Library, PowerShell will warn you that you lot will enable the CDN capabilities at your SharePoint Online tenant level. Yous'll take to agreed past entering "Y". This confirmation is mandatory for each type of CDN: Individual and Public.
Each fourth dimension you lot will add a new SharePoint Organization Assets Library, Powershell will ask you to ostend that you are OK to publish the library as a CDN origin.
Let's annals 2 organization images libraries: "Office 365 Icons" and "Comprehend Images"
Add together-SPOOrgAssetsLibrary -LibraryUrl "https://<tenant_name>.sharepoint.com/sites/templates/Cover%20Images" -OrgAssetType ImageDocumentLibrary -ThumbnailUrl "https://<tenant_name>.sharepoint.com/sites/templates/Comprehend%20Images/Cover1.png" Add-SPOOrgAssetsLibrary -LibraryUrl "https://<tenant_name>.sharepoint.com/sites/templates/Function%20365%20Icons" -OrgAssetType ImageDocumentLibrary -ThumbnailUrl "https://<tenant_name>.sharepoint.com/sites/templates/Function%20365%20Icons/Office.png"
We can now meet our arrangement avails libraries past running the following command:
And we can see our CDN Origins per type of CDN (individual or public) by running the following commands:
Get-SPOTenantCdnOrigins -CdnType Private Get-SPOTenantCdnOrigins -CdnType Public
Information technology can take up to 15 minutes to take your libraries configured as CDN origins, and you'll also have a delay of few hours to encounter your Office templates library show upwards in your Role Clients.
Once it is configured, your tin can add or remove your images or part templates directly in the SharePoint document library and information technology will take issue immediately in your webpart configuration and Office clients.
Remove organization assets libraries
You take to user PowerShell to remove your organization avails libraries.
Commencement of all, you lot'll demand to be connected to the "SPOService" using the commands nosotros accept used earlier.
And then we'll demand to run the following command to remove the library:
Remove-SPOOrgAssetsLibrary -LibraryUrl "/Cover Images"
Removing the system asset library won't remove the CDN Origin, and so you might want to run the following command as well:
Remove-SPOTenantCdnOrigin -OriginUrl "COVER IMAGES" -CdnType private
Where To Place Office Templates,
Source: https://tchinnin.com/sharepoint-organization-asset-libraries/
Posted by: laracoble1939.blogspot.com
0 Response to "Where To Place Office Templates"
Post a Comment