Copied to clipboard

Flag this post as spam?

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


  • Graham Davis 49 posts 233 karma points
    Oct 09, 2019 @ 01:39
    Graham Davis
    0

    Migrating Custom App_Plugins from Version 7 to 8

    In version 7, we are adding our plugin to the Back Office side bar menu by:

    using umbraco.businesslogic;
    using umbraco.interfaces;
    
    namespace zbdpm.App_Plugins.zpmData.Umbraco.EditorTools.App_Plugins.EditorTools
    {
        [Application("zpmData", "Local Data", "icon-server-alt", 20)]
        public class zpmData : IApplication
        { }
    }
    

    In Version 8 this no longer seems to be supported. IApplication, businesslogic, and interfaces is not being found.

    How do we impement this in Version 8? Can someone point me in the right direction?

    Thanks!

  • Shaishav Karnani from digitallymedia.com 330 posts 1562 karma points
    Oct 09, 2019 @ 06:49
    Shaishav Karnani from digitallymedia.com
    1

    Hi Graham,

    Below article provides step by step guidelines on how to add Section in Umbraco 8.

    https://our.umbraco.com/Documentation/Extending/Section-Trees/sections

    Hope it helps to solve your issue.

    Cheers,

    Shaishav

  • Graham Davis 49 posts 233 karma points
    Oct 09, 2019 @ 13:06
    Graham Davis
    0

    Shaishav,

    Thank you so much! That got me started. If I could impose 1 more time...… Our app does not use the tree. How do I get my app to load when the user clicks the "My App" button from the umbraco menu?

    enter image description here

  • Graham Davis 49 posts 233 karma points
    Oct 09, 2019 @ 19:47
    Graham Davis
    0

    Ok, I figured it out. The way to do it is to treat it as a Dashboard.

    https://our.umbraco.com/documentation/Extending/Dashboards/

    For those interested, below is my package.manifest file.

        {
      "sections": [
        {
          "alias": "zpmData",
          "name": "My Data"
        }
      ],
      "dashboards": [
        {
          "alias": "myCustomDashboard",
          "view": "/umbraco/backoffice/Plugins/zpmData/Index",
          "sections": ["zpmData"],
          "access": [
            { "grant": "admin" }
          ],
          "weight": 10
        }
      ]
    }
    
Please Sign in or register to post replies

Write your reply to:

Draft