Giuseppe,
I'm annotating your code with the problems below in HTML... hope your
email client can display HTML:
{
properties: {
"Company": {
valueType: "item"
}
},
{ *<--- from here on, these items should be inside items: [
... ]*
type: "Company",
label: "Tecnopolis",
address: "Bari, I 70100",
subject: "Computer Science",
URL: "http://www.tno.it",
email: "mailto:[EMAIL PROTECTED]"
},
{
type: "Company",
label: "IAM",
address: "Bari, I 70100",
subject: "Agricolture",
URL: "http://www.iamb.it",
email: "mailto:[EMAIL PROTECTED]"
},
{
type: "Company",
label: "ISUFI-eBMS",
address: "Lecce, I 73100",
subject: "E-Business Management",
URL: "http://www.ebms.it",
email: "mailto:[EMAIL PROTECTED]"
},
{
type: "Company",
label: "Laterza",
address: "Bari, I 70100",
subject: "Publishing",
URL: "http://www.laterza.it",
email: "mailto:[EMAIL PROTECTED]"
},
{ id: 'Tecnopolis', addressLatLng: '41.093704,16.886495' },
{ id: 'IAM', addressLatLng: '41.093704,16.886495' },
{ id: 'ISUFI', addressLatLng: '40.413886,18.187663' },
{ id: 'Laterza', addressLatLng: '41.093704,16.886495' }
] *<----remove this bracket*
} *<---remove this brace*
items: [
... *<---move the items above into here*
]
}
The JSON file should be structured like so
{
items: [
...
],
properties: {
...
},
types: {
...
}
}
All 3 of those main chunks are optional. Just be careful where you add
data. The Babel Validator is far from perfect and was intended to catch
trailing commas, mainly.
Cheers,
David
Giuseppe Bux wrote:
David,
Please, would you check the attached Exibit and related Json data files?
My Exhibit application gives error on the json data for invalid
property ID, while the Babel Validator don't find errors.
Thanks in advance,
Giuseppe
P.S. Please check also my code for the Map view.
Thank you!
------------------------------------------------------------------------
KIBS Systems Consulting: Progetti
*Titolo esteso*:
*Dominio di business*:
*Obiettivo*:
*Contractor: *:
*Partner: *:
*Coordinatore tecnico*:
*Programma di finanziamento*:
*Servizi attesi*:
*Data avvio progetto*:
*Data fine progetto*:
Contact email
------------------------------------------------------------------------
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general