以编程方式如何将文档添加到文档库,并相应地插入数据 [英] Programatically how can i add document to Document Library with inserting data accordingly
本文介绍了以编程方式如何将文档添加到文档库,并相应地插入数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已将列添加到文档库中。
I have added columns into document library .
要求:
上传文档时我想像往常一样设置这些列的值(CRUD) 自定义列表列。
while uploading document I want set the value of these columns as we usually do (CRUD) with custom list columns.
以编程方式我想用JavaScript或jQuery做这个...(如果C#也可以这样做)
programmatically I want to do this using JavaScript or jQuery…(if C# so it also works)
我怎么能这样做?
谢谢
推荐答案
您好,
您应该看一下PowerShell方面,特别是通过 PnP cmdlet。
You should have a look at the PowerShell side, especially via the PnP cmdlets.
Add-PnPListItem 和 Set-PnPListItem cmdlet
将允许您在添加或更新时设置项属性一个项目。
The Add-PnPListItem and Set-PnPListItem cmdlets will allow you to set item properties when adding or updating an item.
这篇关于以编程方式如何将文档添加到文档库,并相应地插入数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文