Fields in JSON

jcamfield - May 11, 2009 - 17:25
Project:Views Datasource
Version:6.x-1.0-alpha2
Component:Code
Category:bug report
Priority:normal
Assigned:allisterbeharry
Status:needs work
Description

Taxonomy and CCK fields do not get added to the JSON document

Label seems to be set to "none" for all entries

I would like to use this to drive a complex Exhibit interface, but without both Taxonomy and CCK I can't really do much with it.

Being able to rewrite the field names with the labels would prove infinitely useful as well, for all sorts of export tools.

(Using the zip'd version)

#1

allisterbeharry - May 18, 2009 - 02:42

In order to pull in Taxonomy and CCK fields I believe you would have to create relationships - ViewsDS only pulls fields defined in the view - do you have Taxonomy and CCK fields in the view and they aren't being pulled? Using the proper field labels will be added if not in Alpha 3 then in Beta 1.

#2

allisterbeharry - May 18, 2009 - 02:43

#3

jcamfield - May 18, 2009 - 15:48

Also for those just wanting JSON to plug into MIT Exhibit displays; http://drupal.org/project/exhibit provides a better views->JSON setup and a good Exhibit toolset

#4

allisterbeharry - October 10, 2009 - 17:15
Component:User interface» Code
Assigned to:Anonymous» allisterbeharry
 
 

Drupal is a registered trademark of Dries Buytaert.