JS Link field on Views and CEWP option suddenly disappeared from SharePoint site

Iniobong Nkanga 2,061 Reputation points
2024-07-26T18:34:10.0666667+00:00

Hello 

 

Please i need your help on this issue.

 

Yesterday we noticed that the JSLink option is not visible anymore when we edit view web parts We also saw that we are not able to add CEWP anymore on pages...

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xyza Xue_MSFT 30,176 Reputation points Microsoft External Staff
    2024-07-29T02:55:00.7466667+00:00

    Hi @Iniobong Nkanga ,

    You have to build SharePoint Framework extensions instead of JSlink. Within the "modern" UI of SharePoint Server 2019 most of those customizations are no longer available. SharePoint Framework extensions enable you to provide similar functionality in the "modern" UI.

    Reference:https://learn.microsoft.com/en-us/sharepoint/dev/spfx/extensions/guidance/migrate-from-jslink-to-spfx-extensions

    Two web parts that are not available in SharePoint for modern pages are the Script editor web part and the Content editor web part.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.