SP2019 Modern site - Full page blackout

Nayan Satish Nikumbh 6 Reputation points
2023-05-31T13:06:48.77+00:00

Hi All,  

Is it possible to develop a solution in SPFx for SP2019 modern site that will blackout the entire page with just a message. 

Basic purpose of this to stop users of site from performing actions on the site until they follow few rules laid down by the organization. 

The old solution developed in .Net custom solution is working on the classic pages but not in the modern site. 

Thanks in advance for suggesting any other alternative way forward. 

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,214 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,595 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,662 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 30,991 Reputation points Microsoft Vendor
    2023-06-01T02:33:37.1866667+00:00

    Hi @Nayan Satish Nikumbh

    For modern page, I will recommend you to use spfx. SPFx (SharePoint Framework) is a development model introduced by Microsoft for building customizations in SharePoint Online and SharePoint Server 2019. It is specifically designed for SharePoint modern pages and provides a modern and responsive development experience. SPFx enables developers to extend SharePoint modern pages with custom functionality. It allows you to create and deploy client-side web parts, which are reusable components that can be added to modern pages to enhance their capabilities. With SPFx, you can tailor the user experience to meet specific business requirements.

    Here is the spfx document

    https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview


    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.