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

Iniobong Nkanga 2,046 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...

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,827 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,961 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xyza Xue_MSFT 25,546 Reputation points Microsoft Vendor
    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.