0

Can anyone who has used the Sitecore SharePoint connector tell me how it chooses the name for the items it creates in the Sitecore tree?

I am able to map fields and sitecore values (such as __Displayname), but not the tree name.

The problem we face is that the data in SharePoint contains invalid characters that should not be allowed in the tree name.

Thanks in advance!

4

1 回答 1

2

据我所知,SharePoint 连接器通过按顺序遍历以下 SharePoint 字段来选择 Sitecore 项目名称:

  • 标题
  • 链接文件名
  • 链接标题
  • 姓名或职务
  • 网址
  • 图形用户界面
  • ID

如果该字段不为空,则将其值作为项目名称并停止迭代。因此,您可以找出无效名称的来源。例如,如果它是 NameOrTitle,那么您可以尝试将一个有效的名称添加到,例如 Title,它应该由 SharePoint 连接器选择。

不过,我自己从未尝试过。这就是我可以通过查看代码来判断的。

此外,Sitecore 6 的 SharePoint 连接器的文档位于此处

于 2011-01-21T08:29:20.827 回答