I'm trying to get a list of all columns/fields for a list via REST using the /_api/Web/Lists(guid'xxxx')/Fields
endpoint. This works fine, except it's adding in all of the system and duplicate fields such as LinkTitle, LinkTitleNoMenu, ContentTypeId, etc.
Short of filtering it out after retrieval using $.grep
, is there a way I could use the filter syntax or similar to have SharePoint just return the user columns from a list, i.e. the ones a user might see in an edit or display form?
Thanks!
/Lists.../ContentTypes/.../Fields)
? That is after all what the user would see in a form – eirikb Feb 26 '15 at 6:31