如何导入Excel文件并保留“父子"引用? [英] How to import Excel file and preserve “parent-child” reference?

查看:84
本文介绍了如何导入Excel文件并保留“父子"引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面临以下问题.我有一个CSV文件,其结构如下:

I faced with the following issue. I've got a CSV file with structure like:

ID |名称| ParentID

ID|Name|ParentID

我想要将此文件导入到Sharepoint列表中(并在导入时创建此列表)+我需要具有层次结构ID/ParentID 导入后立即保留不进行人工替换的操作.我该怎么办?

I would like to import this file into Sharepoint list (and create this list while importing) + I need to have the hierarchy ID/ParentID preserved w/o manual substitution right after the import. How can I have it done?

推荐答案

嗨Senglory

Hi Senglory

首先,您需要确保CSV文件中的第一列不以单词"ID"开头.如果是这样,您可能会在SYLK文件的行中看到错误.

First you need to make sure the first column in your CSV file does not start with the word "ID". If it does you may see an error along the lines of SYLK file.

要将文件导入到SharePoint 2013(内部部署)中,请转到网站内容">.添加应用>导入电子表格>选择包含第一行的列名称.然后,通过导入电子表格来完成该步骤.这应该创建 一个新列表以及新SharePoint列表中的列名.

To import the file into SharePoint 2013 (on-premise) go to Site Contents > Add an App > Import Spreadsheet > Select the columns including the first row with the column names. Then complete the step by importing the spreadsheet. This should create a new list along with the column names in a new SharePoint list.

希望这会有所帮助.

Yoshi


这篇关于如何导入Excel文件并保留“父子"引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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