簡體   English   中英

如何重定向 sharePoint 在線現代網站頁面

[英]How to redirect sharePoint Online modern site Page

Sharepoint 在線現代網站重定向

將 sharepoint 頁面重定向到另一個站點是否可行?

來自https://xyz.sharepoint.com/ccg/sitepages/abc.aspx

https://pweroApp.com/xyz

下面提到的是我的發現和努力。

  1. 只需編寫 javascript 代碼即可在 sharePoint 經典中完成。 但是在現代站點中,我們無法編寫代碼,沒有支持代碼的 web 部分。

  2. 我們可以使用“新聞鏈接”重定向頁面,但它只適用於主頁。 這意味着我只能重定向 sharePoint 主頁,而不能重定向任何其他 sharePoint 頁面。 當我嘗試這樣做時,重定向會出現延遲。 供參考: https://www.sharepointdiary.com/2020/02/sharepoint-online-how-to-create-redirect-to-another-site.ht

There is a thread that lists the steps to enable the custom modern script editor web part on SharePoint Online modern page, you can refer to it to install the custom web part, then add your code to the web part.
https://social.technet.microsoft.com/Forums/en-US/d4b8b3c4-8950-4407-9120-204b80fc35f9/sharepoint-online-best-practice-install-modern-script-editor-web-part-for-在線分享點


如果回答對您有幫助,請點擊回答左側面板的“√”並點贊。

要添加腳本或您自己的代碼,您可以在 SPFx 的幫助下編寫一個 Web 部件。 微軟有一個教程: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part

否則,您可以簡單地在您的站點上放置一個帶有鏈接的文本字段,該鏈接將重定向到您的其他站點。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM