使用c#对象模型的SPBusinessDataField错误的DisplayName [英] Wrong DisplayName from SPBusinessDataField using c# object model
问题描述
嗨!
我正在使用SharePoint 2013中的外部数据列.
I am using external data column in SharePoint 2013.
在创建该字段时,我使用(静态)字段名称"ABC".
At creation time of that field I use the (static) field name "ABC".
此后,我将(显示)名称更改为"CDE".
After that I change the (display) name to "CDE".
获取属性"Title" SPBusinessDataField的值仍为"ABC".
Getting the property "Title" of the SPBusinessDataField I'm still getting "ABC".
使用SharePoint Manager查看字段-相同!
Looking at the field with the SharePoint Manager - the same!
使用SharePoint UI或SharePoint Designer查看该字段时,标题"显示为"ABC".
Looking at the field with the SharePoint UI or the SharePoint Designer the "Title" is displayed as "ABC".
是否有办法从SPBusinessDataFields中使用c#获取正确的显示名称?
Is there a way to get the RIGHT display name with c# from SPBusinessDataFields?
请问有人吗?
最诚挚的问候,
Jens Holzhauer
Jens Holzhauer
推荐答案
我在本地进行了测试,但无法复制.您能否提供案件的详细信息?
创建外部字段ABC.
更新显示名称.
最好的问候,
Lee
这篇关于使用c#对象模型的SPBusinessDataField错误的DisplayName的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!