Error with Schema template and Dynamic Component extension.Expected a unique ID, got 'C1{id}'

I am using Dynamic Component extension and trying to create a list view, But i am encountering this error

Expected a unique ID, got ‘C1{id}’.

{
    "name": "Schema",
    "metadata-version": 1,
    "extension_version": 5,
    "author": "<your name>",
    "platforms": [
        "creator.kodular.io"
    ],
    "keys": [
	"id",
	"Title",
	"Icon",
	"Progress",
	],
    "components": [
        {
            "id": "C1{id}",
            "type": "MakeroidCardView",
            "properties": {
                "AlignVertical": 2,
                "BackgroundColor": -14606047,
                "ContentPaddingBottom": 14,
                "ContentPaddingLeft": 14,
                "ContentPaddingRight": 14,
                "ContentPaddingTop": 14,
                "CornerRadius": 7,
                "Elevation": 3,
                "FullClickable": true,
                "Width": -2,
                "StrokeColor": 16777215
            },
            "components": [
                {
                    "id": "H1{id}",
                    "type": "HorizontalArrangement",
                    "properties": {
                        "AlignVertical": 2,
                        "BackgroundColor": 16777215,
                        "Width": -2
                    },
                    "components": [
                        {
                            "id": "V1{id}",
                            "type": "VerticalArrangement",
                            "properties": {
                                "AlignVertical": 2,
                                "BackgroundColor": 16777215,
                                "Width": -2
                            },
                            "components": [
                                {
                                    "id": "L1{id}",
                                    "type": "Label",
                                    "properties": {
                                        "FontSize": 14.5,
                                        "FontTypefaceImport": "Averta-Semibold.ttf",
                                        "Width": -2,
                                        "TextColor": -3223858,
										"Text": "{Title}"
                                    }
                                },
                                {
                                    "id": "C2{id}",
                                    "type": "MakeroidCardView",
                                    "properties": {
                                        "AlignVertical": 2,
                                        "BackgroundColor": 1497461612,
                                        "ContentPaddingBottom": 0,
                                        "ContentPaddingLeft": 0,
                                        "ContentPaddingRight": 0,
                                        "ContentPaddingTop": 0,
                                        "CornerRadius": 4,
                                        "Elevation": 0,
                                        "Width": -2
                                    },
                                    "components": [
                                        {
                                            "id": "H2{id}",
                                            "type": "HorizontalArrangement",
                                            "properties": {
                                                "AlignVertical": 2,
                                                "BackgroundColor": -81913,
                                                "Height": 4,
											    "Width": "{Progress}"
                                            }
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": "I1{id}",
                            "type": "Image",
                            "properties": {
                                "Height": 53,
                                "Width": 53,
                                "Picture": "{Icon}"
                            }
                        }
                    ]
                }
            ]
        }
    ]
}

AIA :
Tester.aia (65.5 KB)

I followed the procedure as described in various guides, but i am not able to understand what is causing the error !

I am really looking forward for for some expert help ! Help me :smiling_face_with_tear:

1 Like

Your error is here… After the progress why do you give one extra comma? it causes the error. If you do, then you should define some varible but you failed so it throws such error

Tester1.aia (65.6 KB)

Solved

1 Like

Thank you for help !
Appriticiate your quick solution and response . :innocent:

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.