Copied to clipboard

Flag this post as spam?

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

  • Aki 43 posts 214 karma points
    Jan 18, 2017 @ 15:31

    back office Naviation and routes

    hi :)

    Im trying to make a package that is used from backoffice.. I already have the ApiController : UmbracoAuthorizedJsonController working and the Associated JS, html and Manifest files..

    My problem is that i can't figure out how to hook my Resource.Js in to Backoffice navigation

    what i have so far..

    function ($scope, $routeParams, shortcutResource, notificationsService, contentResource, entityResource, dialogService) {
        $scope.Name = "";
        $scope.Create = function () {
            var ShortcutGroup = { id: null, Title: $scope.Name, ShortcutList: "" };
            shortcutResource.Create(ShortcutGroup, created);
        var created = function (Num) {
            $location.path('/Umbraco#/Website/shortcuts/edit/' + Num);

    i want to be able to Navigate to a target page. when the callback i triggered, but i cant find any guides online... can some one please point me in the right direction?

    thanks again. Aki <3

  • Alex Skrypnyk ( 6064 posts 23316 karma points MVP 6x admin c-trib
    Aug 01, 2017 @ 11:54
    Alex Skrypnyk (

    Hi Aki

    You don't need to path "/Umbraco" again, use location like that:

    $location.path('/Website/shortcuts/edit/' + Num);



Please Sign in or register to post replies

Write your reply to: