Copied to clipboard

Flag this post as spam?

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


  • Craig Richards 17 posts 75 karma points
    May 07, 2015 @ 12:03
    Craig Richards
    0

    allowedDocTypes

    Hi Guys,

    First off, this is awsome.... very well done on a cracking project!

    Anyway, I'm not sure I get the allowedDocTypes as I just don't seem to be able to get it to work? I presumed that only the Doc Types listed in the config would be available in the doc type drop down.. is this correct?

    Here's my config.

    {

    "name": "Content Picker",

    "alias": "docType",

    "view": "/App_Plugins/DocTypeGridEditor/Views/doctypegrideditor.html",

    "render": "/App_Plugins/DocTypeGridEditor/Render/DocTypeGridEditor.cshtml",

    "icon": "icon-item-arrangement",

    "config": {

        "allowedDocTypes": [

                "VideoPodcastPanel",

                "ImagePanel"

        ],

            "enablePreview": true,

            "viewPath": "/Views/Partials/Grid/Editors/DocTypeGridEditor/"

    }

     

    }


    Thanks,
    Craig

  • Craig Richards 17 posts 75 karma points
    May 07, 2015 @ 12:08
    Craig Richards
    1

    Never mind, it's me being a moron!

    Hadn't updated the grid.editors.config!!

  • 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