SharePoint Online / O365中的自定义列表和文档库 [英] Custom Lists and Document Libraries in SharePoint Online / O365

查看:97
本文介绍了SharePoint Online / O365中的自定义列表和文档库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用;


SharePoint Online / 0365


我们希望用户拥有许多标准列表和文档库能够按需部署。


在内部部署中,我们将使用服务器场解决方案在所有网站集中提供列表定义。


我的理解是正确的,在SPO中执行此操作的唯一可行方法是在Azure中编写和托管我们自己的提供商托管应用程序,并使应用程序通过CSOM创建列表。 


根据代码示例


https://github.com/SharePoint/PnP/tree/master/Samples/ECM.DocumentLibraries


让用户创建标准化的文档库或列表有点繁琐。



解决方案

您好,


我们还可以使用PowerShell和CSOM为SharePoint Online创建列表来实现它。


以下文章使用PowerShell脚本供您参考:


如何使用PowerShell在SharePoint Online站点中创建列表


https://gallery.technet.microsoft.com/office/How-to-create-a-List-in-a-2ff75523


Office 365 - 使用CSOM创建列表,添加字段和更改默认视图的PowerShell脚本


https://blogs.technet.microsoft.com/fromthefield/2014/02/18/office-365-powershell-script-to-create-a-list-add-fields -and-change-the-default-view-all-using-csom /


最好的问候,


Dennis


Using;

SharePoint Online / 0365

We have a number of standard lists and document libraries that we would like users to be able to deploy on demand.

In on-premises we would have used a farm solution to make the list definitions available in all site collections.

Is my understand correct that the only viable way to do this in SPO is to write and host our own provider hosted app in Azure and make the app create the list via CSOM. 

As per the code example

https://github.com/SharePoint/PnP/tree/master/Samples/ECM.DocumentLibraries

Just seems a bit onerous just to allow users to create a standardised document library or list.

解决方案

Hi,

We can also create list for SharePoint Online using PowerShell with CSOM to achieve it.

The following articles with PowerShell script for your reference:

How to create a List in a SharePoint Online Site using PowerShell

https://gallery.technet.microsoft.com/office/How-to-create-a-List-in-a-2ff75523

Office 365 – PowerShell Script to Create a List, Add Fields and Change the Default View all using CSOM

https://blogs.technet.microsoft.com/fromthefield/2014/02/18/office-365-powershell-script-to-create-a-list-add-fields-and-change-the-default-view-all-using-csom/

Best Regards,

Dennis


这篇关于SharePoint Online / O365中的自定义列表和文档库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆