How to use SharePoint as a CMS

sonal khatri 56 Reputation points
2024-09-06T09:14:59.5633333+00:00

Hello,

How can I utilize SharePoint as a CMS? My requirement is to have a SharePoint site act as a website where I can display all the site contents.

Could you please provide me with any reference to build this?

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.
3,031 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ling Zhou_MSFT 18,095 Reputation points Microsoft Vendor
    2024-09-09T02:01:47.9266667+00:00

    Hi @sonal khatri,

    Thank you for posting in this community.

    SharePoint can be used as a CMS by utilizing its site authoring and publishing model to create publishing sites. You can use publishing sites to publish content on intranet or Internet sites. Publishing sites differ from other types of SharePoint sites, such as team sites, mainly due to their purpose—many users read publishing site content, but only a few contribute by adding, updating, and deleting content from one or more site collections.

    To utilize SharePoint as a CMS, you can use the SharePoint site publishing capabilities to build, customize, and maintain publishing sites that meet specific business needs. You can use the following site features in SharePoint to manage all phases of the content life cycle, including authoring and reusing site content, branding and designing your site's look, feel, and behavior, managing metadata, publishing content smoothly to the current site collection, or publishing content across site collections—even spanning the intranet and Internet site boundary, and improving the accessibility of your published sites.

    To set up a publishing portal

    1. Sign in to Microsoft 365 as a global admin or SharePoint admin.
    2. Select the app launcher icon The app launcher icon in Office 365 in the upper-left and choose Admin to open the Microsoft 365 admin center. (If you don't see the Admin tile, you don't have Microsoft 365 administrator permissions in your organization.)
    3. Choose Sites. Then choose Active a site.
    4. Choose Add a site. User's image User's image

    Reference: Build a classic SharePoint publishing site

    In addition, you can build on this and develop your own custom to implement your requirements more flexibly.

    User's image

    Reference: Build sites for SharePoint.


    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.


  2. Ling Zhou_MSFT 18,095 Reputation points Microsoft Vendor
    2024-09-12T02:32:54.2166667+00:00

    Hi @sonal khatri,

    Thank you for your reply.

    I'm sorry I didn't understand your question before.

    You can use this article to display your HTML document on a SharePoint page.How to add HTML code in SharePoint Online Modern Page?

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link. 

    But this approach isn't sustainable, as Microsoft will ban custom scripting by the end of 2024 because of the risk to tenants. Once a custom script is disabled, it will not be enabled.

    We recommend using SPFx to rewrite your HTML documents. This method is officially recommended by Microsoft, but it may require you to take some time to learn SPFx, which is easier for you if you're a programmer.

    Here I attach an introduction to SPFx: Overview of the SharePoint Framework.


    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.