In Sitecore 7.2, I am using the Item Web API to retrieve an item. The thing is, I get some fields as empty, and when I look in the content tree they are not empty, specifically an image type. Any ideas why?
-
might be a wrong path or the item was not publish– Naim AlkoukiCommented Jan 11, 2018 at 19:14
-
Is the database you are trying to pull from correct?– GabbarCommented Jan 11, 2018 at 19:52
-
Could you please share the code snippet you are using– Hishaam NamooyaCommented Jan 11, 2018 at 20:23
-
Im just using the item web api in JS to retrieve that: host/-/item/v1/?query=fast:/sitecore/content ...– Joel Alvarez MyrrieCommented Jan 15, 2018 at 19:55
Add a comment
|
1 Answer
You'll need to specify the payload
query parameter to return ALL the fields. Otherwise, it returns only content fields. So add:
...&payload=full