Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matthias Bier 30 posts 90 karma points
    Nov 27, 2012 @ 11:52
    Matthias Bier
    0

    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.

    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?

    Thanks
    Matthias

  • Matthias Bier 30 posts 90 karma points
    Nov 28, 2012 @ 14:58
    Matthias Bier
    0

    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

     

Please Sign in or register to post replies

Write your reply to:

Draft