we have an Umbraco installation and some seperate websites that run on the same server. Now I want to submit new records for a Contour form from these separate websites (Contact Form).
From the Contour documentation I got the impression that one can access a remote Contour RecordStorage by instantiating the RecordStorage with a SqlHelper and the right connection string.
When trying this method I always get NullPointerExceptions when trying to access the RecordStorage.
Dim sqlhelper As ISqlHelper = DataLayerHelper.CreateSqlHelper("server=localhost;***") Dim rs As RecordStorage = New RecordStorage(sqlhelper)
Am I doing something wrong or is it just not possible to access the RecordStorage from outside of Umbraco? If so, is there another way to submit new records to Contour from outside?
Create Contour record from outside of Umbraco
Hi,
we have an Umbraco installation and some seperate websites that run on the same server. Now I want to submit new records for a Contour form from these separate websites (Contact Form).
From the Contour documentation I got the impression that one can access a remote Contour RecordStorage by instantiating the RecordStorage with a SqlHelper and the right connection string.
When trying this method I always get NullPointerExceptions when trying to access the RecordStorage.
Am I doing something wrong or is it just not possible to access the RecordStorage from outside of Umbraco? If so, is there another way to submit new records to Contour from outside?
Thanks
Matthias
I tried another option to create contour recrords from outside using /base .
You can find more in this thread: http://our.umbraco.org/forum/umbraco-pro/contour/9227-Adding-records-to-Contour-from-usercontrol
Matthias
is working on a reply...