How to get the data type of a list item field?
-
Hi there, i'm using CSOM 2013 and need the required data type of a ListItem-Field. Who can help?
-
Hi there, i'm using CSOM 2013 and need the required data type of a ListItem-Field. Who can help?
Member 9246155 wrote:
i'm using CSOM 2013 and need the required data type of a ListItem-Field.
You need the required data type? What do you want to say with that? Are you using VS.Net C#? If so it's easy: Every SPField field delivers the SPFieldType type:
SPFieldType fieldType = field.Type;
You can just work with that. By the way there is no CSOM 2013 in SharePoint. There is SharePoint 2010 and SharePoint 2013 but the client-side object model is the same for both.
SharePoint Consultant and Developer at acocon Author of Primary ROleplaying SysTem I'm the ninth in a row of seven!