2

Getting list items from my SP online list is not a problem, but I am trying to get the column title. I have a column called Name and would like to get the title so it appears above list items.

Javascript.

  • In c# or javascript? – Atish Dipongkor - MVP Sep 18 '15 at 9:22
  • I am using Javascript. – abc Sep 18 '15 at 9:22
  • you mean 'Name' is the internal name of the column? – Vamsi K K Sep 18 '15 at 9:27
4

If you send a GET to following URL, it should return you items with column name

/_api/web/lists/GetByTitle('List Name')/items

And following URL should return column display and internal names

/_api/web/lists/GetByTitle('List Name')/Fields?$select=Title,InternalName

Learn more about rest here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.