Hi,
after the live demostration in Ulm yesterday, i wanted to evaluate WebCore by myself, but im stuck on an error the whole day...
I've created a webcore app. On the main form i put a TWebClientConnection, a TWebClientDatasource and -dataset.
With object inspector i assiged "https://api.scryfall.com/sets" (without quotes o'course), and also assigned "data" to the data node property.
Also with object inspector i referenced the connection in dataset, and the datasource in dataset, and i switched the dataset and the connection to "active".
Now right click on datasource -> retrieve fields (i'm using then german version which says 'hole felder') -> the success message appears as expected, showing the fields from the "data" node of the returning JSON object (whis is, as postulated in webcore documentions, a JSON array node).
So far so good...
but with every webdb control, e.g. the TWebDBTableCOntrol, with the datasource, datafield and datatype property properly set (i get the field names displayed in the dropdown for the only one column there, i've added), after compling and running i only get the error:
ERROR
No fields found | $class::[object Object] fMessage::No fields found fHelpContext::0
at http://localhost:8000/MagicPro/MagicPro.js [281:11]
No fields found | $class::[object Object] fMessage::No fields found fHelpContext::0
at http://localhost:8000/MagicPro/MagicPro.js [281:11]
I also get the same error when a navigation control is bound to the datasource, whis rendering is then malformed and the even error as above.
I also couldn't found any sample on the TMS website or in the installation folder regarding WebCore. So question is also, where to find working samples...
Best Regards
Markus Kollmann, Locher & Christ GmbH