How to integrate a chatbot created using Angular in SharePoint?

sravya shivapuram 211 Reputation points
2023-12-30T00:42:44.2066667+00:00

I have a chatbot created using Angular but need to deploy/integrate within a classic SharePoint site? How is it possible? Please help. Thank you in advance.

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

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,496 Reputation points Microsoft External Staff
    2024-01-01T02:24:42.2033333+00:00

    Hi @sravya shivapuram,

    You could create a library to store the angular files.

    enter image description here

    Update index.html to points to these js files.

    <body>
      <app-angular-demo-web-part description="Hello world!"></app-angular-demo-web-part>
    <script src="/SiteAssets/AngularDemo/runtime.js"></script>
    <script src="/SiteAssets/AngularDemo/polyfills-es5.js" nomodule></script>
    <script src="/SiteAssets/AngularDemo/polyfills.js"></script>
    <script src="/SiteAssets/AngularDemo/scripts.js"></script><script src="/SiteAssets/AngularDemo/main.js"></script>
    </body>
    
    
    

    Link the html file in content editor webpart and result.

    enter image description here

    You could refer to the thread

    https://stackoverflow.com/questions/38737101/deploying-angular2-project-on-sharepoint-online


    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.