set field internal name with list.updatelist webservice
-
03-10-2020 - |
Вопрос
Is it possible to set a field's internal name in the List.UpdateList webservice? I can set the DisplayName but no matter what I try for Name it does not work.
<Field DisplayName="this gets set" Name="thisDoesNotSet" ... />
Решение
Yes it will not get set. Workaround is
- Add field and set
DisplayName="thisDoesNotSet"
- Now SharePoint will set both Display and Internal to
thisDoesNotSet
- Update Display Name to
this gets set
Не связан с sharepoint.stackexchange