Вопрос

my company disabled the costume script from the admin tenant, and I cannot find the content editor on my (team template ) share point online site, So My question is: Is there any workaround solution or steps how to find the content Editor

Это было полезно?

Решение

Sorry, there is no Content Editor web part in SharePoint Online. I suggest you try and work with web parts available to you or start with SPFx development - https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/overview-client-side-web-parts

Другие советы

If you want to see the content editor or script editor web part in SharePoint online - we must enable the custom scripting in the admin center. Please see the below:

  • Allow users from running custom script on personal sites. Allow users
  • from running custom script on self-service created sites)

Allow Custom Script in SharePoint Online

If you just enable the above setting - it will not be enabled, we have to run the below PowerShell command:

$adminUserID=”youradminaccount@< sprnd.onmicrosoft.com >”

$userCredential = Get-Credential -UserName $adminUserID -Message “Enter password”

Connect-SPOService -Url https://sprnd-admin.sharepoint.com/ -Credential $userCredential

Set-SPOsite “https://sprnd.sharepoint.com/sites/TestSite001″ -DenyAddAndCustomizePages 0

For details refer to the below article:

SharePoint Online – O365: How to enable script editor web part in SharePoint online

Notes:

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top