Consume SPFx through CDN

Mithun K S 0 Reputation points
2024-06-18T05:14:34.7233333+00:00

Hi Team,

We have an existing web application which is built using requireJS , backboneJS and internal framework . We want to consume/ include SPFx through CDN (not through npm module) to support sharepoint online and sharepoint related feature when our web application is added as sharepoint page.

We manily need SPFx support for below funtionality

  1. MS graph API (currently we are using MSAL but experience of SSO is not great)
  2. SharePoint Dialog
  3. Get SP related inforamation.

Thanks,

Mithun

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,026 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,319 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 36,016 Reputation points Microsoft Vendor
    2024-06-18T06:52:02.5566667+00:00

    Hi @Mithun K S,

    To consume a SharePoint Framework (SPFx) web part through the Microsoft 365 Content Delivery Network (CDN), you need to follow specific steps to ensure your web part is correctly packaged, deployed, and configured to use the CDN. Here’s a detailed guide:

    https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/hosting-webpart-from-office-365-cdn


    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.