显示“网站内容"其他页面上的应用 [英] Display "Site Contents" apps on another page
问题描述
你好
除了网站内容"之外,有人可以告诉我是否有一种方法可以在另一个页面上的列表或库中显示应用程序和项目数.页面?本质上,我想做的是使用应用程序"作为仪表板上的 主页,以便他们可以动态更新,访问者可以轻松查看每个列表或库中包含的项目数.
Can anyone tell me if there is a way to display the apps and number of items in a list or library on another page other than just the "Site Contents" page? Essentially what I would like to do is use the "Apps" as a dashboard on the homepage so they would dynamically update and visitors could easily view the number of items contained in each list or library.
或者,如果有人有其他想法,我愿意提出建议.谢谢您的帮助.
Or if someone has another idea, I am open to suggestions. Thanks for any help.
推荐答案
您好
您可以使用rest API获取项目数并将其显示在Content Editor Web部件中
You can use rest API to get the number of items and show it in Content Editor Web Part
/_ api/web/lists/getbytitle('<列表标题>')/ItemCount
如何在Content Editor Web部件中显示REST数据,请参考以下链接:
/_api/web/lists/getbytitle('<list title>')/ItemCount
How to show REST data in Content Editor Web Part please refer to below link:
这篇关于显示“网站内容"其他页面上的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!