Copied to clipboard

Flag this post as spam?

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


  • Aadarsh Dubey 17 posts 141 karma points
    Mar 12, 2024 @ 12:30
    Aadarsh Dubey
    0

    Umbraco Block Grid

    I am working in Umbraco Block Grids

    I have created 1 new Element type in it

    now i need to add its layout in Advance Option But when i am clicking on Custom view it is showing me by default root folder and there is no app plugin file available in my project

    also i have added my view in root folder but i am getting that too disabled how can i solve this

    enter image description here

    Thanks and Regards Aadarsh

  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    Mar 12, 2024 @ 20:55
    Frans de Jong
    100

    Hi Aadarsh,

    The backoffice only allows html files as custom templates based on angularjs. You can find the documentation here:

    https://docs.umbraco.com/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/block-editor/build-custom-view-for-blocks

  • Owain Jones 65 posts 436 karma points MVP 4x c-trib
    Mar 21, 2024 @ 13:17
    Owain Jones
    1

    Just thought I'd mention that there's a package called Umbraco.Community.BlockPreview, which allows you to use your .cshtml files as the block preview views.

    Marketplace link: https://marketplace.umbraco.com/package/umbraco.community.blockpreview

  • 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