# SharePoint Online SPFX WebPart

**URL:** https://meta.discourse.org/t/sharepoint-online-spfx-webpart/149044
**Category:** Feature
**Created:** [2020年四月23日 18:36 UTC](https://meta.discourse.org/t/sharepoint-online-spfx-webpart/149044 "2020-04-23T18:36:18Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![adamgpope](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adamgpope/32/121658_2.png) [@adamgpope](https://meta.discourse.org/u/adamgpope)
#### Post date: [2021年五月12日 12:23 UTC](https://meta.discourse.org/t/sharepoint-online-spfx-webpart/149044/6 "2021-05-12T12:23:32Z")

</div>

也许我的使用场景与原始发帖人不同；我们并不希望将整个 Discourse 嵌入到社区的 SharePoint CMS 中，而是希望提供一个动态活动流，以促使人们在 Discourse 中相互互动。为此，我无需任何开发工作，即可将按标签或分类筛选的主题列表嵌入到 SharePoint 站点中，具体步骤如下：

1. 按照[此处高度可配置的嵌入说明](https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911)操作
2. 将结果保存为 .aspx 页面
3. 将该页面上传到站点的资源库
4. 打开现代页面，将已上传的 .aspx 页面的 URL 粘贴到“嵌入”Web 部件中

如果能用一个可配置的 SPFX Web 部件来替代这个笨拙的混乱方案，那就太好了……😉

---

_[View the full topic](https://meta.discourse.org/t/sharepoint-online-spfx-webpart/149044)._
