I’ve created custom list via dynamic components schema thats working fine but here the problem is I’m getting is error : Expected a unique ID, got ‘list_layout1’ upon start of creating dynamic compo.
Here are the schema:-
{
"name": "COMM_MANAG",
"metadata-version": 1,
"extension_version": 5,
"author": "<your name>",
"platforms": [
"creator.kodular.io"
],
"keys": [
"id",
"image",
"vid_txt",
"line_ha",
"vid_row",
"vid_name",
"vid_ph",
"vid_meet",
"line_ha_copy"
],
"components": [
{
"id": "list_layout{id}",
"type": "MakeroidCardView",
"properties": {
"AlignVertical": 2,
"ContentPaddingBottom": 3,
"ContentPaddingLeft": 3,
"ContentPaddingRight": 3,
"ContentPaddingTop": 3,
"CornerRadius": 8,
"FullClickable": true,
"Height": 150,
"Width": -2
},
"components": [
{
"id": "outer_layout{id}",
"type": "HorizontalArrangement",
"properties": {
"AlignVertical": 2,
"Height": -2,
"Width": -2
},
"components": [
{
"id": "image_va{id}",
"type": "VerticalArrangement",
"properties": {
"AlignVertical": 2,
"Height": -2,
"Width": 100
},
"components": [
{
"id": "Card_View1{id}",
"type": "MakeroidCardView",
"properties": {
"AlignHorizontal": 3,
"AlignVertical": 2,
"BackgroundColor": 16777215,
"ContentPaddingBottom": 0,
"ContentPaddingLeft": 0,
"ContentPaddingRight": 0,
"ContentPaddingTop": 0,
"CornerRadius": 100,
"Height": 100,
"Width": 100
},
"components": [
{
"id": "image{id}",
"type": "Image",
"properties": {
"Height": -2,
"Width": -2,
"Picture": "{image}",
"ScalePictureToFit": true
}
}
]
}
]
},
{
"id": "info_va{id}",
"type": "VerticalArrangement",
"properties": {
"Height": -2,
"Width": -2
},
"components": [
{
"id": "vid_ha{id}",
"type": "HorizontalArrangement",
"properties": {
"AlignHorizontal": 2,
"Width": -2
},
"components": [
{
"id": "vid_txt{id}",
"type": "Label",
"properties": {
"BackgroundColor": 4279046693,
"FontBold": true,
"FontSize": 25,
"FontTypefaceImport": "Poppins-Medium.ttf",
"Text": " # {vid_txt} ",
"TextColor": 4286499482
}
}
]
},
{
"id": "line_ha{id}",
"type": "HorizontalArrangement",
"properties": {
"BackgroundColor": 4293848814,
"Height": 2,
"Width": -1025
}
},
{
"id": "vid_row{id}",
"type": "Label",
"properties": {
"FontSize": 18,
"FontTypefaceImport": "Poppins-Medium.ttf",
"Height": 24,
"Text": "{vid_row}",
"Visible" : false,
"TextColor": 4268582502
}
},
{
"id": "vid_name{id}",
"type": "Label",
"properties": {
"FontSize": 18,
"FontTypefaceImport": "Poppins-Medium.ttf",
"Height": 24,
"Text": "{vid_name}",
"TextColor": 4268582502
}
},
{
"id": "vid_ph{id}",
"type": "Label",
"properties": {
"FontItalic": true,
"FontSize": 14,
"Text": "PH. {vid_ph}",
"TextColor": 4267662428
}
},
{
"id": "vid_meet{id}",
"type": "Label",
"properties": {
"BackgroundColor": 4294896187,
"FontItalic": true,
"FontSize": 15,
"FontTypefaceImport": "Poppins-Medium.ttf",
"Text": " {vid_meet} ",
"TextColor": 4279046693
}
},
{
"id": "line_ha_copy{id}",
"type": "HorizontalArrangement",
"properties": {
"BackgroundColor": 4293848814,
"Height": 2,
"Width": -1025
}
}
]
}
]
}
]
}
]
}
I’d already viewed many topics regarding same but can’t solve.