Hi, Do you have a live example we could look at? I can't tell if the data you have below is intended to be a realistic representation of your actual data's form or if you're offering commentary on your examples. For one, this value: "table1 <http://www.scotland.gov.uk/Resource/Doc/933/0092739.xls> " doesn't match anything when taken as a whole string; neither the presumed child's id nor label match it. Even if you were moving in the right direction in other respects, your data would not look connected to Exhibit.
You may want to make sure your schema data are correct, too. If you're linking between items, you need to use "valueType": "item" so the database understands that the property links to an identifier, not just a coincidentally equal string. See http://simile-widgets.org/wiki/Getting_Started_with_Exhibit#Schema On 2012-01-23 01:14 , [email protected] wrote: > Hello group > > I have 2 data sets: One is a list of records with several fields per > record, and the other is a list of urls and other information that goes > with each url. Each record is linked to one or more urls. I want to > provide a view that presents each record together with the urls (and > associated information). I would appreciate guidance and perhaps > illustrations on how to do that using Exhibit. > > > > Example data: > > Parent > > {items:[ > { > type: "Parent", > id: "item1", > "label": "label for item 1", > "url": "http://url-for-metadata-field", > "division": "some division", > "topic": "some topic", > "identifier": "http://url-for-identifier", > "keywords": ["keyword1","keyword2"], > "tables": ["table1 > <http://www.scotland.gov.uk/Resource/Doc/933/0092739.xls> ", "table2 > <http://www.scotland.gov.uk/Resource/Doc/933/table2.xls> "] > } > ] > } > > > > Child: > > {items:[ > {id: table1, > type: "Child", > label:"child label 1 > <http://www.scotland.gov.uk/Resource/Doc/933/0092739.xls> ", > "referredPageTitle": "some title", > "referredPageDescription": "some description", > "webPublicationDate": "December 22, 2005", > "lastModifiedDate": "December 29, 2007", > "documentType": "Excel Workbook", > "fileSize": "932 kb", > "filePath": "some-file-path > <http://www.scotland.gov.uk/Resource/Doc/933/0092739.xls> " > }, > {id:table2, > type: "Child", > label: "child 2 label > <http://www.scotland.gov.uk/Resource/Doc/933/table2.xls> ", > "referredPageTitle": "some other title", > "referredPageDescription": "yet another description", > "webPublicationDate": "October 11, 2008", > "lastModifiedDate": "October 14, 2009", > "documentType": "Excel Workbook", > "fileSize": "1292 kb", > "filePath": "some-other-file-path > <http://www.scotland.gov.uk/Resource/Doc/933/table2.xls> " > } > ] > } > > Many thanks > > Peter > > > ******************************************************* > This e-mail (and any files or other attachments transmitted with it) is > intended solely for the attention of the addressee(s). Unauthorised > use, disclosure, storage, copying or distribution of any part of this > e-mail is not permitted. If you are not the intended recipient please > destroy the email, remove any copies from your system and inform > the sender immediately by return. > > > > Communications with the Scottish Government may be monitored or > recorded in order to secure the effective operation of the system and > for other lawful purposes. The views or opinions contained within > this e-mail may not necessarily reflect those of the > Scottish Government. > > ******************************************************** > > The original of this email was scanned for viruses by the Government Secure > Intranet virus scanning service supplied by Cable&Wireless Worldwide in > partnership with MessageLabs. (CCTM Certificate Number 2009/09/0052.) On > leaving the GSi this email was certified virus free. > Communications via the GSi may be automatically logged, monitored and/or > recorded for legal purposes. > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
