1

Anybody know if there's a REST way to get all the field names for a site content type? I know I can do this:

http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes(contenttypeid)/fields

But that query will only take the ID for the child list content type, not the original parent site content.

2

Site content types are off of the Web object.

http://<sitecollection>/<site>/_api/web/contenttypes(contenttypeid)/fields

  • Thank goodness for SPSE, or Microsoft might have to provide complete documentation! ;-) – Tracy Mar 5 at 15:22

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.