Copied to clipboard

Flag this post as spam?

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


  • Chris Brampton 5 posts 75 karma points
    Dec 15, 2015 @ 14:35
    Chris Brampton
    0

    Umbraco Forms - Connect Data Source to Webservice

    Hi,

    Im trying to add a new data source in umbraco forms, which has a data source type of web service.

    I am getting an error that the web service cannot be found at url, and that the web service doesnt exist. (P.S. it does exist :-) )

    Could someone please help me out, as there is no documentation around this.

    many thanks Chris

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Dec 15, 2015 @ 14:47
    Dennis Aaen
    0

    Hi Chris,

    Perhaps you can get an idea of how you can do by download the zip under the source code tab from here https://our.umbraco.org/projects/developer-tools/umbraco-forms/

    You can download the file here

    Hope this helps,

    /Dennis

  • Chris Brampton 5 posts 75 karma points
    Dec 15, 2015 @ 15:02
    Chris Brampton
    0

    Hi Dennis,

    Thank you for your reply.

    Im specifically using the forms package added to the umbraco back office.

    Im still getting the error :-(

    the web service is a wcf web service

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Dec 15, 2015 @ 19:17
    Dennis Aaen
    0

    Hi Chris,

    The download is not a package that you can installed into your Umbraco installation,

    But the zip file contains some code files that shows you some example code, on how to create e.g new file types and preValueTypes and stuff like that.

    /Dennis

  • Chris Brampton 5 posts 75 karma points
    Dec 15, 2015 @ 21:00
    Chris Brampton
    0

    ah right i understand.

    however i thought we werent able to customise umbraco forms aas its not open source?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Dec 16, 2015 @ 10:23
    Dennis Aaen
    0

    Hi Chris,

    Yes Umbraco Forms is not open source but, we have do some examples on how to extend Umbraco Forms open source, and you can always change the files for e.g different field types if needed.

    One thing to be aware of if you change some code in a field type file, is if you upgrade to a newer version of Umbraco Forms, then you should remember not to override the files that you have making changes in, or then you need to make the changes again.

    /Dennis

  • Chris Brampton 5 posts 75 karma points
    Dec 16, 2015 @ 15:18
    Chris Brampton
    0

    Hi Dennis,

    its finally clicked in my head haha

    I can extend the pre value source no problem when using an older version of Forms(contour).

    However when trying to do the same in the new version of Umbraco Forms, it doe not work.

    the new version override for GetPreValues has the following signature.

    public override List

    this method is never getting hit when i run the application. And no prevalue source appears in the drop down.

Please Sign in or register to post replies

Write your reply to:

Draft