Copied to clipboard

Flag this post as spam?

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


  • Jonathan Roberts 409 posts 1063 karma points
    Feb 16, 2017 @ 13:58
    Jonathan Roberts
    0

    Connect to a Webservice when using Forms

    Hi,

    I would like to populate my Drop Down control on the Umbraco Form by using an external webservice.

    Does anyone know what I need to add to the Fields in the Datasource section of the CMS to get this working (/umbraco/#/forms/datasource/edit/-1?create)?

    At the moment Im getting an error when I save it: Datasource failed to save: Data at the root level is invalid. Line 1, position 1.

    And what do I need to return? XML or JSON? At the moment Im returning JSON.

    Any ideas?

    Thanks in advance, Jon

  • Robert J. Bullock 386 posts 405 karma points
    Oct 11, 2018 @ 16:47
    Robert J. Bullock
    0

    Umbraco Forms is so poorly supported / documented. I can't figure out how to do this either.

  • James Strugnell 84 posts 192 karma points
    Jan 15, 2020 @ 15:43
    James Strugnell
    0

    Me neither. I get a different error which I've just logged as an issue, but the documentation for this is still very poor (over a year later).

    Has anyone got this feature working?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies