Closed (fixed)
Project:
Services Views
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2011 at 09:16 UTC
Updated:
28 Feb 2013 at 09:40 UTC
Hi
I use a view with Services Views and Services 3.x, wich contains taxonomy terms fields.
But in the JSON result, the result of my taxonomy fields are empty.
As someone a solution for this ?
Thanks
Comments
Comment #1
raidcha commentedFor Information, i applied the last patch found here http://drupal.org/node/1131194 to get field row style available
Comment #2
kylebrowning commentedComment #3
lefnire commentedThis is still a problem in D7. After reading through #1131194: Allow views.get to return rendered fields for "fields" row style, I don't think this is duplicate of that. Those patches had been committed, and are present in D6 & D7 - but taxonomy terms are still empty when rendering JSON.
Comment #4
lefnire commentedThis is only a problem with Content: All taxonomy terms. If you use individual term-reference fields like Content: Event Types, it works. My nodes use multiple vocabularies, so to get around this issue I added all the term-reference fields, checked Exclude from display, then aggregated them all in a Global: Custom text. Janky (output JSON is like "term1,,,term2,"), but it works well enough.
Comment #5
ygerasimov commented@lefnire thank you for the solution.
Comment #7
beauz commentedI'm still seeing empty output for taxonomy term fields...
I've also tried rewriting the output into a global text field however it doesn't seem to be coming through.
Has anyone made any progress with this?
Comment #8
beauz commentedNevermind, I've traced this back to an unrelated issue. I had some taxonomy access control permissions blocking the terms coming through.