Field.fieldTypeKind返回的是Invalid

[解决方法]

There is no "Metadata" type of field in the SP.FieldType Enumeration, so it would return 0(invalid) when try to retrieve SP.Field.fieldTypeKind Property.

If you just want to distinguish the field types, we can use SP.Field.typeDisplayName Property orSP.Field.id Property.

 

From: https://social.msdn.microsoft.com/Forums/vstudio/en-US/98cdb784-feff-4db0-8f7d-68e4f9a8e532/fieldtypeid-of-multiline-field-and-managed-metadata-field?forum=appsforsharepoint

posted on 2017-07-06 13:59  今夜太冷  阅读(227)  评论(0编辑  收藏  举报