Copied to clipboard

Flag this post as spam?

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


  • Tito 314 posts 623 karma points
    May 20, 2022 @ 11:34
    Tito
    0

    How to migrate a custom app_plugin data type from v8 to v9?

    I need to migrate an appplugin made for v8 to v9. I have created wwwroot/AppPlugins folder and copied the plugin to it. Restart umbraco but the data type is not recognized. After reading this post (it seems for v9): https://our.umbraco.com/documentation/Tutorials/creating-a-property-editor/

    It seems everything is ok, i have tried registering it creating the class that inherits DataEditor. Now it recognizes the new data type, but when i create a property using the data type, it shows nothing when editing the content.

    In console i see this error: https://code.angularjs.org/1.8.0/docs/error/$controller/ctrlreg?p0=GestionPedidosController

    It seems the controller js is not loading. Finally this is my package.manifest:

    {   
    "javascript": [
        '/App_Plugins/GestionPedidos/controlador.js'
    ]
    

    }

    I dont know what am i doing wrong, i would appreciate linking to some updated post documenting the issue.

  • Tito 314 posts 623 karma points
    May 30, 2022 @ 16:17
    Tito
    100

    I moved the AppPlugins folder outside wwwroot and changed the minification version, now it worked!

  • 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