I am trying to get the ID/GUID of a custom column field from one of my Document libraries using web services. How does one go about doing this in C#?
Asked
Active
Viewed 1,519 times
2 Answers
0
Ola!
Try this in C#
SPWeb web = SPContext.Current.Web as SPWeb;
Guid id = web.AvailableContentTypes["ContentTypeName"].Fields["FieldName"].Id;
Regards,
Pedro

Pedro
- 52
- 3
0
You'll need to get the GUID via the SiteData webservice, the Webs webserivce doesn't retrive the ID....

tfforums
- 58
- 6
nodes returned by Lists.getLists()
– tfforums Jul 11 '12 at 02:28