简体   繁体   English

在自定义 SharePoint Online Webpart 中显示列表

[英]displaying lists in custom SharePoint Online Webpart

I am currently working on and experimenting with SharePoint Online and the content which it provides.我目前正在研究和试验 SharePoint Online 及其提供的内容。 I discovered this tutorial Here which details the process of creating a custom webpart.在此处发现了本教程,其中详细介绍了创建自定义 webpart 的过程。 I commented on the training previously but I was only given a sample that doesn't work, at least from my pov, with the method established here.我之前评论了培训,但我只得到了一个不起作用的样本,至少从我的观点来看,这里建立的方法是无效的。

This is all fine and dandy if I wanted to do theses separately but I would also like to do more with the webpart than just show the names of lists.如果我想单独做论文,这一切都很好,但我还想用 webpart 做更多的事情,而不仅仅是显示列表的名称。 Particularly I want to show the contents of them.特别是我想展示它们的内容。 Does anyone know how exactly this might be done?有谁知道这究竟是如何做到的?

I haven't really deviated from the code, and its all listed in the tutorial but if you'd like to see it, let me know and I will edit this post.我并没有真正偏离代码,它都列在教程中,但如果你想看到它,让我知道,我会编辑这篇文章。

Thank you all in advance for any help!在此先感谢大家的帮助!

@Mia P, @米娅P,

Do you want to display list items from a SharePoint online list in a SPFx webart?是否要在 SPFx webart 中显示 SharePoint 在线列表中的列表项? If so, please taka a reference below sample:如果是这样,请参考以下示例:

在此处输入图片说明

BR BR

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM