0

我无法在 SharePoint 2010 中使用 CSV 导入术语集。我收到以下错误: 尝试在提交文件的 [最后一行] 行导入术语集时遇到错误,并且某些数据可能尚未清理向上。请确保此文件是有效的 csv 文件,并遵循示例文件 ImportTermSet.csv 中的正确格式

我尝试重新使用示例文件本身来创建我的术语集,在记事本中创建术语集(+确保它是 UTF-8 CSV),但都是徒劳的:(有人可以帮我吗?

4

3 回答 3

0

作为记录:所有重复的术语实例必须具有完全相同的大小写。

例子

,,,TRUE,,Continent,Political Entity,,,,,
,,,TRUE,,continent,Political Entity,Country,,,,
,,,TRUE,,Continent,Political Entity,Country,Province or State,,,

以上将失败,因为 1 级术语“大陆”在第二行有一个小写字母“c”。

于 2013-07-11T20:46:44.103 回答
0

注意嵌套级别是如何声明的。

这是一个正确的 CSV 文件的示例(注意嵌套级别的顺序)

"Term Set Name","Term Set Description","LCID","Available for Tagging","Term Description","Level 1 Term","Level 2 Term","Level 3 Term","Level 4 Term","Level 5 Term","Level 6 Term","Level 7 Term"
"My Term Set","Description of My Term Set",,"True",,,,,,,,
,,,"True",,"Italy",,,,,,
,,,"True",,"Italy","Venice",,,,,
,,,"True",,"France",,,,,,
,,,"True",,"France","Paris",,,,,
,,,"True",,"Germany","Berlin",,,,, 

这是一个不正确的 CSV 文件的示例:

"Term Set Name","Term Set Description","LCID","Available for Tagging","Term Description","Level 1 Term","Level 2 Term","Level 3 Term","Level 4 Term","Level 5 Term","Level 6 Term","Level 7 Term"
"My Term Set","Description of My Term Set",,"True",,,,,,,,
,,,"True",,"Italy",,,,,,
,,,"True",,"Italy","Rome",,,,,
,,,"True",,"France","Paris",,,,,
,,,"True",,"France",,,,,, 

由于“法国”已经存在,最后一行将给出导入错误!!!

于 2013-09-12T13:43:18.983 回答
0

http://blog.jussipalo.com/2011/04/sharepoint-importing-term-set-gives.html

于 2012-05-05T09:09:58.920 回答