Closed internetztube closed 3 years ago
I have the following constellation.
In this case, the fields of the last level are no longer imported. The SuperTable block simply has no fields.
{ "fieldGroups": [ "Marketing Base" ], "fields": [ { "group": "Marketing Base", "name": "Content Builder New", "handle": "ContentBuilderNew", "instructions": "", "type": "craft\\fields\\Matrix", "minBlocks": "", "maxBlocks": "", "propagationMethod": "all", "blockTypes": [ { "name": "base", "handle": "base", "fields": [ { "required": true, "name": "Text Content", "handle": "textContent", "instructions": "", "type": "verbb\\supertable\\fields\\SuperTableField", "typesettings": { "minRows": "1", "maxRows": "1", "contentTable": "{{%stc_17_textcontent}}", "propagationMethod": "none", "staticField": "1", "columns": { "70c94361-323c-4419-b538-7ee75c5cbe86": { "width": "" } }, "fieldLayout": "table", "selectionLabel": "", "blockTypes": [ { "required": false, "name": "Text Content", "handle": "textContent", "instructions": "", "type": "craft\\fields\\Matrix", "typesettings": { "minBlocks": "", "maxBlocks": "", "contentTable": "{{%matrixcontent_textcontent}}", "propagationMethod": "none", "blockTypes": [ { "name": "Headline", "handle": "headline", "fields": [ { "required": true, "translationMethod": "site", "name": "Content", "handle": "headlineContent", "instructions": "", "type": "craft\\redactor\\Field", "typesettings": { "uiMode": "normal", "redactorConfig": "Inline.json", "purifierConfig": "", "cleanupHtml": true, "removeInlineStyles": "1", "removeEmptyTags": "1", "removeNbsp": "1", "purifyHtml": "1", "columnType": "text", "availableVolumes": "*", "availableTransforms": "*", "showUnpermittedVolumes": false, "showUnpermittedFiles": false, "showHtmlButtonForNonAdmins": "", "configSelectionMode": "choose", "manualConfig": "", "defaultTransform": "" } }, { "required": true, "name": "Style", "handle": "style", "instructions": "", "type": "amici\\SuperDynamicFields\\fields\\SueprDynamicDropdownField", "typesettings": { "multi": false, "template": "_dynamicfields\/marketing\/headline-styles.json", "options": [] } }, { "required": true, "name": "Type", "handle": "headlineType", "instructions": "", "type": "amici\\SuperDynamicFields\\fields\\SueprDynamicDropdownField", "typesettings": { "multi": false, "template": "_dynamicfields\/marketing\/headline-types.json", "options": [] } } ] }, { "name": "Paragraph", "handle": "paragraph", "fields": [ { "required": true, "translationMethod": "site", "name": "Copy", "handle": "copy", "instructions": "", "type": "craft\\redactor\\Field", "typesettings": { "uiMode": "normal", "redactorConfig": "Inline.json", "purifierConfig": "", "cleanupHtml": true, "removeInlineStyles": "1", "removeEmptyTags": "1", "removeNbsp": "1", "purifyHtml": "1", "columnType": "text", "availableVolumes": "*", "availableTransforms": "*", "showUnpermittedVolumes": false, "showUnpermittedFiles": false, "showHtmlButtonForNonAdmins": "", "configSelectionMode": "choose", "manualConfig": "", "defaultTransform": "" } }, { "required": true, "name": "Size", "handle": "size", "instructions": "", "type": "amici\\SuperDynamicFields\\fields\\SueprDynamicDropdownField", "typesettings": { "multi": false, "template": "_dynamicfields\/marketing\/paragraph-styles.json", "options": [] } } ] }, { "name": "Buttons", "handle": "buttons", "fields": [ { "required": true, "name": "Buttons", "handle": "buttons", "instructions": "", "type": "verbb\\supertable\\fields\\SuperTableField", "typesettings": { "minRows": "1", "maxRows": "2", "contentTable": "{{%stc_16_buttons}}", "propagationMethod": "none", "staticField": "", "columns": [], "fieldLayout": "table", "selectionLabel": "", "blockTypes": [ { "required": false, "translationMethod": "site", "name": "Copy", "handle": "copy", "instructions": "", "type": "craft\\fields\\PlainText", "typesettings": { "uiMode": "normal", "placeholder": "Free trial", "code": "", "multiline": "", "initialRows": "4" } }, { "required": false, "name": "Variant", "handle": "variant", "instructions": "", "type": "amici\\SuperDynamicFields\\fields\\SueprDynamicDropdownField", "typesettings": { "multi": false, "template": "_dynamicfields\/marketing\/button-styles.json", "options": [] } }, { "required": false, "translationMethod": "site", "name": "Target", "handle": "target", "instructions": "", "type": "fruitstudios\\linkit\\fields\\LinkitField", "typesettings": { "selectLinkText": "", "types": { "fruitstudios\\linkit\\models\\Url": { "enabled": "1", "customLabel": "", "customPlaceholder": "", "allowAlias": "1", "allowMailto": "1", "allowHash": "1", "allowPaths": "1" }, "fruitstudios\\linkit\\models\\Entry": { "enabled": "1", "customLabel": "", "sources": [ "section:c8772989-ac56-4c5a-9755-128e0e2e5abf", "singles" ], "customSelectionLabel": "" }, "modules\\linkTypes\\Vidyard": { "enabled": "1", "customLabel": "", "customPlaceholder": "" } }, "allowCustomText": "", "defaultText": "", "allowTarget": "1" } } ] } } ] } ] } } ] } }, { "required": true, "name": "Media Content", "handle": "mediaContent", "instructions": "", "type": "verbb\\supertable\\fields\\SuperTableField", "typesettings": { "minRows": "1", "maxRows": "1", "contentTable": "{{%stc_17_mediacontent}}", "propagationMethod": "none", "staticField": "1", "columns": { "f2061bb4-71d9-483c-be3a-21e0ae6615a7": { "width": "" } }, "fieldLayout": "table", "selectionLabel": "", "blockTypes": [ { "required": false, "name": "Media Content", "handle": "mediaContent", "instructions": "", "type": "craft\\fields\\Matrix", "typesettings": { "minBlocks": "1", "maxBlocks": "1", "contentTable": "{{%matrixcontent_mediacontent}}", "propagationMethod": "none", "blockTypes": [ { "name": "Vidyard Inline Player", "handle": "vidyardInlinePlayer", "fields": [ { "required": true, "translationMethod": "site", "name": "Vidyard Video UUID", "handle": "vidyardVideoUuid", "instructions": "22-character long Vidyard UUID. [How to find the UUID of a video?](https:\/\/knowledge.vidyard.com\/hc\/en-us\/articles\/360009868634-How-to-find-the-UUID-of-a-video)", "type": "craft\\fields\\PlainText", "typesettings": { "uiMode": "normal", "code": "1", "multiline": "", "initialRows": "4", "charLimit": 22 } } ] }, { "name": "Inline Image", "handle": "inlineImage", "fields": [ { "required": true, "name": "Image", "handle": "image", "instructions": "", "type": "craft\\fields\\Assets", "typesettings": { "useSingleFolder": false, "allowUploads": true, "defaultUploadLocationSource": "volume:mainStorage", "defaultUploadLocationSubpath": "", "singleUploadLocationSource": "volume:mainStorage", "singleUploadLocationSubpath": "", "restrictFiles": "1", "allowedKinds": [ "image" ], "showUnpermittedVolumes": false, "showUnpermittedFiles": false, "previewMode": "full", "sources": "*", "viewMode": "large", "limit": "1", "selectionLabel": "", "showSiteMenu": false, "localizeRelations": false, "validateRelatedElements": true, "allowSelfRelations": false } }, { "required": true, "translationMethod": "site", "name": "Caption", "handle": "caption", "instructions": "", "type": "craft\\fields\\PlainText", "typesettings": { "uiMode": "normal", "code": "", "multiline": "", "initialRows": "4" } } ] }, { "name": "Gradient Image", "handle": "gradientImage", "fields": [ { "required": true, "name": "Image", "handle": "image", "instructions": "\u26a0\ufe0f Gradient Images will always not be in view.", "type": "craft\\fields\\Assets", "typesettings": { "useSingleFolder": false, "allowUploads": true, "defaultUploadLocationSource": "volume:mainStorage", "defaultUploadLocationSubpath": "", "singleUploadLocationSource": "volume:mainStorage", "singleUploadLocationSubpath": "", "restrictFiles": "1", "allowedKinds": [ "image" ], "showUnpermittedVolumes": false, "showUnpermittedFiles": true, "previewMode": "full", "sources": "*", "viewMode": "large", "limit": "1", "selectionLabel": "", "showSiteMenu": false, "localizeRelations": false, "validateRelatedElements": true, "allowSelfRelations": false } }, { "required": true, "name": "Gradient", "handle": "gradient", "instructions": "", "type": "amici\\SuperDynamicFields\\fields\\SueprDynamicDropdownField", "typesettings": { "multi": false, "template": "_dynamicfields\/marketing\/gradient-image-types.json", "options": [] } } ] } ] } } ] } }, { "required": false, "name": "Background", "handle": "background", "instructions": "", "type": "verbb\\supertable\\fields\\SuperTableField", "typesettings": { "minRows": "1", "maxRows": "1", "contentTable": "{{%stc_17_background}}", "propagationMethod": "none", "staticField": "1", "columns": { "ca49a2c8-63b0-49b3-a805-33caf61fa228": { "width": "" }, "a184782d-b523-4c90-a861-50fb84754e64": { "width": "" }, "8cc13298-2483-4030-85f3-e3ab7d3b0059": { "width": "" }, "bc243c43-9dfb-41e6-90ab-c7b28a71b879": { "width": "" }, "393acb63-0c6a-4d4c-9edb-c4a1fd99b4c2": { "width": "" } }, "fieldLayout": "row", "selectionLabel": "", "blockTypes": [ { "required": false, "translationMethod": "site", "name": "Background Color", "handle": "backgroundColor", "instructions": "", "type": "craft\\fields\\Color", "typesettings": { "defaultColor": "" } }, { "required": false, "name": "Image", "handle": "image", "instructions": "", "type": "craft\\fields\\Assets", "typesettings": { "useSingleFolder": false, "allowUploads": true, "defaultUploadLocationSource": "volume:mainStorage", "defaultUploadLocationSubpath": "", "singleUploadLocationSource": "volume:mainStorage", "singleUploadLocationSubpath": "", "restrictFiles": "1", "allowedKinds": [ "image" ], "showUnpermittedVolumes": false, "showUnpermittedFiles": false, "previewMode": "full", "sources": "*", "viewMode": "large", "limit": "1", "selectionLabel": "", "showSiteMenu": false, "localizeRelations": false, "validateRelatedElements": false, "allowSelfRelations": false } }, { "required": false, "name": "Image Opacity", "handle": "imageOpacity", "instructions": "", "type": "craft\\fields\\Number", "typesettings": { "defaultValue": "17", "min": "0", "max": "100", "decimals": 0, "suffix": "%", "previewFormat": "decimal", "previewCurrency": "" } }, { "required": false, "name": "Video", "handle": "video", "instructions": "", "type": "craft\\fields\\Assets", "typesettings": { "useSingleFolder": false, "allowUploads": true, "defaultUploadLocationSource": "volume:mainStorage", "defaultUploadLocationSubpath": "", "singleUploadLocationSource": "volume:mainStorage", "singleUploadLocationSubpath": "", "restrictFiles": "1", "allowedKinds": [ "video" ], "showUnpermittedVolumes": false, "showUnpermittedFiles": false, "previewMode": "full", "sources": "*", "viewMode": "large", "limit": "1", "selectionLabel": "", "showSiteMenu": false, "localizeRelations": false, "validateRelatedElements": false, "allowSelfRelations": false } }, { "required": false, "name": "Video First Frame", "handle": "videoFirstFrame", "instructions": "", "type": "craft\\fields\\Assets", "typesettings": { "useSingleFolder": false, "allowUploads": true, "defaultUploadLocationSource": "volume:mainStorage", "defaultUploadLocationSubpath": "", "singleUploadLocationSource": "volume:mainStorage", "singleUploadLocationSubpath": "", "restrictFiles": "1", "allowedKinds": [ "image" ], "showUnpermittedVolumes": false, "showUnpermittedFiles": false, "previewMode": "full", "sources": "*", "viewMode": "large", "limit": "1", "selectionLabel": "", "showSiteMenu": false, "localizeRelations": false, "validateRelatedElements": false, "allowSelfRelations": false } } ] } }, { "required": false, "name": "Cards", "handle": "cards", "instructions": "", "type": "verbb\\supertable\\fields\\SuperTableField", "typesettings": { "minRows": "", "maxRows": "", "contentTable": "{{%stc_17_cards}}", "propagationMethod": "all", "staticField": "", "columns": { "f24fd452-6f40-4633-9abe-a3b80c9d8ce6": { "width": "" } }, "fieldLayout": "table", "selectionLabel": "", "blockTypes": [ { "required": false, "name": "Cards", "handle": "cards", "instructions": "", "type": "craft\\fields\\Matrix", "typesettings": { "minBlocks": "", "maxBlocks": "", "contentTable": "{{%matrixcontent_cards}}", "propagationMethod": "none", "blockTypes": [ { "name": "Card", "handle": "card", "fields": [ { "required": false, "name": "Icon", "handle": "icon", "instructions": "", "type": "verbb\\iconpicker\\fields\\IconPickerField", "typesettings": { "columnType": "text", "showLabels": "", "iconSets": "*", "remoteSets": "" } }, { "required": false, "name": "Image", "handle": "image", "instructions": "", "type": "craft\\fields\\Assets", "typesettings": { "useSingleFolder": false, "allowUploads": true, "defaultUploadLocationSource": "volume:mainStorage", "defaultUploadLocationSubpath": "", "singleUploadLocationSource": "volume:mainStorage", "singleUploadLocationSubpath": "", "restrictFiles": "1", "allowedKinds": [ "image" ], "showUnpermittedVolumes": false, "showUnpermittedFiles": false, "previewMode": "full", "sources": "*", "viewMode": "list", "limit": "1", "selectionLabel": "", "showSiteMenu": false, "localizeRelations": false, "validateRelatedElements": false, "allowSelfRelations": false } }, { "required": true, "name": "has background?", "handle": "hasBackground", "instructions": "", "type": "craft\\fields\\Lightswitch", "typesettings": { "default": true } }, { "required": true, "name": "Align", "handle": "align", "instructions": "", "type": "craft\\fields\\Dropdown", "typesettings": { "optgroups": true, "options": [ { "label": "Left", "value": "left", "default": "1" }, { "label": "Center", "value": "center", "default": "" } ] } }, { "required": false, "translationMethod": "site", "name": "Title", "handle": "cardTitle", "instructions": "", "type": "craft\\redactor\\Field", "typesettings": { "uiMode": "normal", "redactorConfig": "Inline.json", "purifierConfig": "", "cleanupHtml": true, "removeInlineStyles": "1", "removeEmptyTags": "1", "removeNbsp": "1", "purifyHtml": "1", "columnType": "text", "availableVolumes": "*", "availableTransforms": "*", "showUnpermittedVolumes": false, "showUnpermittedFiles": false, "showHtmlButtonForNonAdmins": "", "configSelectionMode": "choose", "manualConfig": "", "defaultTransform": "" } }, { "required": true, "translationMethod": "site", "name": "Content", "handle": "cardContent", "instructions": "", "type": "craft\\redactor\\Field", "typesettings": { "uiMode": "normal", "redactorConfig": "Inline.json", "purifierConfig": "", "cleanupHtml": true, "removeInlineStyles": "1", "removeEmptyTags": "1", "removeNbsp": "1", "purifyHtml": "1", "columnType": "text", "availableVolumes": "*", "availableTransforms": "*", "showUnpermittedVolumes": false, "showUnpermittedFiles": false, "showHtmlButtonForNonAdmins": "", "configSelectionMode": "choose", "manualConfig": "", "defaultTransform": "" } }, { "required": false, "name": "Button", "handle": "button", "instructions": "", "type": "verbb\\supertable\\fields\\SuperTableField", "typesettings": { "minRows": "1", "maxRows": "1", "contentTable": "{{%stc_25_button}}", "propagationMethod": "none", "staticField": "1", "columns": { "c3804cd3-964a-4571-8577-49923c72d99c": { "width": "" }, "8285cefc-d5b2-4bd7-b49c-2253ad16e08c": { "width": "" }, "b874057c-3440-4ff8-b21b-e55f311d5131": { "width": "" } }, "fieldLayout": "table", "selectionLabel": "", "blockTypes": [ { "required": false, "translationMethod": "site", "name": "Copy", "handle": "copy", "instructions": "", "type": "craft\\fields\\PlainText", "typesettings": { "uiMode": "normal", "code": "", "multiline": "", "initialRows": "4" } }, { "required": false, "name": "Variant", "handle": "variant", "instructions": "", "type": "craft\\fields\\Dropdown", "typesettings": { "optgroups": true, "options": [ { "label": "Link", "value": "link", "default": "1" } ] } }, { "required": false, "name": "Target", "handle": "target", "instructions": "", "type": "fruitstudios\\linkit\\fields\\LinkitField", "typesettings": { "selectLinkText": "", "types": { "fruitstudios\\linkit\\models\\Url": { "enabled": "1", "customLabel": "", "customPlaceholder": "", "allowAlias": "1", "allowMailto": "1", "allowHash": "1", "allowPaths": "1" }, "fruitstudios\\linkit\\models\\Entry": { "enabled": "1", "customLabel": "", "sources": [ "section:c8772989-ac56-4c5a-9755-128e0e2e5abf", "singles" ], "customSelectionLabel": "" }, "modules\\linkTypes\\Vidyard": { "enabled": "1", "customLabel": "", "customPlaceholder": "" } }, "allowCustomText": "", "defaultText": "", "allowTarget": "1" } } ] } } ] }, { "name": "Placeholder Card", "handle": "placeholderCard", "fields": [ { "required": true, "translationMethod": "site", "name": "Title", "handle": "cardTitle", "instructions": "", "type": "craft\\redactor\\Field", "typesettings": { "uiMode": "normal", "redactorConfig": "Inline.json", "purifierConfig": "", "cleanupHtml": true, "removeInlineStyles": "1", "removeEmptyTags": "1", "removeNbsp": "1", "purifyHtml": "1", "columnType": "text", "availableVolumes": "*", "availableTransforms": "*", "showUnpermittedVolumes": false, "showUnpermittedFiles": false, "showHtmlButtonForNonAdmins": "", "configSelectionMode": "choose", "manualConfig": "", "defaultTransform": "" } }, { "required": false, "translationMethod": "site", "name": "Content", "handle": "cardContent", "instructions": "", "type": "craft\\redactor\\Field", "typesettings": { "uiMode": "normal", "redactorConfig": "Inline.json", "purifierConfig": "", "cleanupHtml": true, "removeInlineStyles": "1", "removeEmptyTags": "1", "removeNbsp": "1", "purifyHtml": "1", "columnType": "text", "availableVolumes": "*", "availableTransforms": "*", "showUnpermittedVolumes": false, "showUnpermittedFiles": false, "showHtmlButtonForNonAdmins": "", "configSelectionMode": "choose", "manualConfig": "", "defaultTransform": "" } }, { "required": true, "name": "Background Image", "handle": "backgroundImage", "instructions": "", "type": "craft\\fields\\Assets", "typesettings": { "useSingleFolder": false, "allowUploads": true, "defaultUploadLocationSource": "volume:mainStorage", "defaultUploadLocationSubpath": "", "singleUploadLocationSource": "volume:mainStorage", "singleUploadLocationSubpath": "", "restrictFiles": "1", "allowedKinds": [ "image" ], "showUnpermittedVolumes": false, "showUnpermittedFiles": false, "previewMode": "full", "sources": "*", "viewMode": "large", "limit": "1", "selectionLabel": "", "showSiteMenu": false, "localizeRelations": false, "validateRelatedElements": false, "allowSelfRelations": false } }, { "required": true, "name": "Button", "handle": "button", "instructions": "", "type": "verbb\\supertable\\fields\\SuperTableField", "typesettings": { "minRows": "", "maxRows": "", "contentTable": "{{%stc_26_button}}", "propagationMethod": "all", "staticField": "", "columns": { "8729f87f-6656-431e-947d-8edb0ffc34d4": { "width": "" }, "5d59fc4f-82de-44ab-97ba-a80b4c17d119": { "width": "" }, "961c89f3-f138-4bca-8251-1cd2bc9ecb21": { "width": "" } }, "fieldLayout": "table", "selectionLabel": "", "blockTypes": [ { "required": false, "translationMethod": "site", "name": "Copy", "handle": "copy", "instructions": "", "type": "craft\\fields\\PlainText", "typesettings": { "uiMode": "normal", "code": "", "multiline": "", "initialRows": "4" } }, { "required": false, "name": "Variant", "handle": "variant", "instructions": "", "type": "amici\\SuperDynamicFields\\fields\\SueprDynamicDropdownField", "typesettings": { "multi": false, "template": "_dynamicfields\/marketing\/button-styles.json", "options": [] } }, { "required": false, "name": "Target", "handle": "target", "instructions": "", "type": "fruitstudios\\linkit\\fields\\LinkitField", "typesettings": { "selectLinkText": "", "types": { "fruitstudios\\linkit\\models\\Url": { "enabled": "1", "customLabel": "", "customPlaceholder": "", "allowAlias": "1", "allowMailto": "1", "allowHash": "1", "allowPaths": "1" }, "fruitstudios\\linkit\\models\\Entry": { "enabled": "1", "customLabel": "", "sources": [ "section:c8772989-ac56-4c5a-9755-128e0e2e5abf", "singles" ], "customSelectionLabel": "" }, "modules\\linkTypes\\Vidyard": { "enabled": "1", "customLabel": "", "customPlaceholder": "" } }, "allowCustomText": "", "defaultText": "", "allowTarget": "1" } } ] } } ] }, { "name": "Reusable Card", "handle": "reusableCard", "fields": [ { "required": true, "name": "Reusable Card", "handle": "reusableCard", "instructions": "", "type": "craft\\fields\\Entries", "typesettings": { "sources": [ "section:dtmReusableCard" ], "limit": "", "selectionLabel": "", "showSiteMenu": false, "localizeRelations": false, "validateRelatedElements": false, "allowSelfRelations": false } } ] } ] } } ] } } ] } ] } ] }
I have the following constellation.
In this case, the fields of the last level are no longer imported. The SuperTable block simply has no fields.