简体   繁体   English

通过从xml文件获取数据来更新共享点列表

[英]update sharepoint list by getting data from xml file

Guys I need your help. 伙计们,我需要您的帮助。

I have a list and it contains two columns: Title and Scale 我有一个列表,它包含两列:标题和比例

List                                         xml
-----                                        ---------
Title      Scale                             root

Title1     1                                    <Scale>1</Scale>
title2     3                                    <Scale>3</Scale>
title3     5                                    <Scale>5</Scale>
title4     8                                    <Scale>8</Scale>

and so on

The title field is already filled in, let say with the values: Title1, title2 and Title3. 标题字段已经填写,可以说以下值:Title1,title2和Title3。 Now, I would like to fill the Scale field with values from a xml file. 现在,我想用XML文件中的值填充“比例”字段。

I have no idea how to accomplish this. 我不知道如何实现这一目标。 Can you help please??? 你能帮忙吗???

As for what I know, you cannot enter it through the xml file. 据我所知,您无法通过xml文件输入它。 But I am pretty sure you can use ac sharp code to edit each item (SPListItem) 但我很确定您可以使用交流夏普代码来编辑每个项目(SPListItem)

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

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