Copied to clipboard

Flag this post as spam?

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


  • Billy 55 posts 266 karma points c-trib
    Mar 12, 2021 @ 07:42
    Billy
    0

    Grid auto generated blueprints of element type

    Hello, on several of our productions sites I've noticed that there seem to be blueprints of element types but I don't know who or what creates them.

    For example in umbraco v 8.10.1

    enter image description here

    The 'Content Page' template 'advies basis' was created by our customer. This is a document type in the content tree.

    The templates 'Content Image' and 'Rich Text Editor' are element types we use in the grid editor. The name seems generated and the customer did not create these.

    enter image description here

    It is very confusing in the grid to add a component and you need to select a template.

    What could cause these blueprint to be created? Can this be disabled?

    Many thanks in advance.

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Mar 13, 2021 @ 07:54
    Marc Goodson
    100

    Hi Billy

    The additional content templates you are seeing on elements, all start with dtge and as you've spotted some 'generated' id

    dtge is short for Doc Type Grid Editor

    which is an additional package that can be installed in Umbraco to add a quick way to create strucuted grid editors for the grid.

    I can see in version 1.0.0 the first proper release on V8, support for using Content Templates/Blueprints with the Doc Type Grid Elements was added:

    https://github.com/skttl/umbraco-doc-type-grid-editor/releases

    So I was about to suggest it might be worth raising this issue with the package developer, and then I saw in the list of the issues on the git repo for the plugin:

    https://github.com/skttl/umbraco-doc-type-grid-editor/issues/241

    So it looks like somebody else is experiencng the same issue!

    So I'd add your voice to that issue, and follow along to see what the resolution there is.

    It seems DTGE uses blueprints temporarily todo validation of the element when saving an item... and I suspect it's not cleaning up this temporary blueprint once it's done...

    https://github.com/skttl/umbraco-doc-type-grid-editor/blob/54c8d5a181728a0e2b7652591ff43dc03913b1a1/src/Our.Umbraco.DocTypeGridEditor/Web/UI/App_Plugins/DocTypeGridEditor/Js/doctypegrideditor.controllers.js#L256

    The cleanup method perhaps not being called...

    regards

    marc

  • Billy 55 posts 266 karma points c-trib
    Mar 15, 2021 @ 06:17
    Billy
    0

    Hi Marc. Thanks alot for your answer. I'll have a look at the issue :)

Please Sign in or register to post replies

Write your reply to:

Draft