문제

I've added some scriptlink via Add-PnPJavaScriptLink PnP function, however, this only get«s called when on system pages (/_layouts/..)

What am I missing here?

The intention is to run some CSS or JS on every SP Site page load. (branding purposes)

SPRegards

올바른 솔루션이 없습니다

다른 팁

The "modern" experiences allow certain user custom actions to be surfaced in the new user interface, but not all user action configurations that are supported by "classic" mode are supported in the "modern" experience. The following table gives a high level overview of the supported custom action locations and how they're surfaced in the "modern" UI:

User custom action location Visible in "modern" UI EditControlBlock
Yes, these entries show up as custom menu items. CommandUI.Ribbon
Yes, these entries show up as toolbar items. All other locations (for example scriptlink)
Sorry, these user custom actions won't work.

https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-customizations-customize-lists-and-libraries

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top