FROM CACHE - en_header

App blocks schema

New Member
2 0 2

What is the full app blocks schema? shows its similar to but adding the key "blocks" I get the error uploading the app: unknown key 'block

    "blocks": [
        "name": "Slide",
        "type": "slide",
        "settings": [
            "type": "image_picker",
            "id": "image",
            "label": "Image"
{% endschema %}
Replies 2 (2)
Shopify Partner
4428 904 932

You just need to use "type": "@app", it will work fine.
Hope it helps!

LitExtension - #1 Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Get your 1-month Shopify free trial from LitExtension. CONTACT US!
Are you looking for a solution to migrate to Shopify? Try our FREE DEMO now!
Shopify Partner
4 1 4

I'm also curious about this. My app needs to have some repeated blocks. It would be convenient to allow people to manage them in the theme customization area. But the `blocks` attribute doesn't seem to be supported in the `schema` section for an app extension. It would be nice to have a full schema reference so we know what all is available and/or not allowed. The current documentation makes it sound like everything supported by the section schema is also supported in app extensions, but that doesn't seem to be the case.