SharePoint Designer 2013外部内容类型+相同的外部标识符=不去

问题描述 投票:0回答:1

我有多个外部MS SQL表在SharePoint 2016中用作外部列表。

有一个名为Contractt的数据库表有两个外键:FirstLineManagerSecondLineManager。这两个字段都引用相同的Staff表。

使用Sharepoint Designer 2013时,我在FirstLineManagerStaff之间创建关联。一旦我为SecondLineManager创建了一个新关联,我收到一条错误消息,表明不可能两次使用相同的外部标识符。

我无法更改数据库,那么有没有其他方法可以创建与Staff列表的第二个关联?最终结果应该是合同编辑/新表单有两个项目选择器指向相同的外部员工列表。

sharepoint sharepoint-designer sharepoint-2016 external-contenttype
1个回答
0
投票

作为一种解决方法,我在同一个Staff表上为FirstLineManager和SecondLineManager创建了两个数据库视图。我用于关联的这些视图。

© www.soinside.com 2019 - 2024. All rights reserved.