[daisy] Hierarchical fields--howto?
Caleb Callaway
caleb at autometrix.com
Fri Oct 26 17:04:14 CDT 2007
Has anybody gotten a handle on hierarchical fields in Daisy 2.0.1? There
doesn't appear to be any documentation other than what's in the Field
Creation section.
I've got two levels (bar/baz) of hierarchy working okay. Following the same
procedure to implement a third level (foo/bar/baz), I get an error:
"Hierarchical query selection list references a field that is hierarchical"
The error is quite accurate, but I don't know why this is a problem.
Here's what I did:
-Create a 'baz' document
-Create a multivalue, hierarchical link field called 'bar', with a static
(manual enumeration) link to the 'baz' document
-Create new 'bar' doctype, with the bar field.
-Create new document of type 'bar'
-Create a multivalue, hierarchical link field called 'foo', with the base
query value of "name='bar'" and Link fields to follow set to 'bar'
-Create a new 'foo' doctype, with the 'foo' field
(at this point, the 'foo' field has a two-level hierarchy, and there was
much rejoicing. But wait! More levels!)
-Create a multivalue, hierarchical link field called 'bai', with the base
query value of "name='foo'" and Link fields to follow set to 'foo'
-Create doctype 'bai' with 'bai' field
-Create new document of type 'bai' and get the error.
Any suggestions?
More information about the daisy
mailing list