Copied to clipboard

Flag this post as spam?

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


  • Robert 20 posts 39 karma points
    Oct 21, 2014 @ 01:51
    Robert
    0

    Custom Section with ApiController

    https://github.com/TimGeyssens/UmbracoAngularBackofficePages

    I'm following this sample project.

    I renamed Example to Alumni, exampleTree to alumniTree, etc.

    I tried

    http://domain.com/umbraco/backoffice/Alumni/AlumniApi/GetAll ;

    http://domain.com/umbraco/backoffice/api/Alumni/AlumniApi/GetAll

    http://domain.com/umbraco/backoffice/Alumni/AlumniApi/GetAll returns an XML document

    No HTTP resource was found that matches the request URI 'http://domain.com/umbraco/backoffice/Alumni/AlumniApi/GetAll'.
    No type was found that matches the controller named 'AlumniApi'.
  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Oct 21, 2014 @ 07:55
    Dave Woestenborghs
    0

    Hi Robert,

    Maybe you can have a look at my source code for the DUUG meetup as well : https://bitbucket.org/dawoe/duugcustomsections

    The route of your API will be like this : http://{domain}/umbraco/backoffice/{PluginControllerName}/{ApiNameWithoutControllerSuffix}/{MethodName}

    Can you post your API code ? Maybe we can help you then.

    Dave

  • 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