Extension: GD MMX Flex Component Starter Builder
<mvt:item name="head" param="css:{{c_code}}" />
<mvt:item name="head" param="js:{{c_code}}" />
GD Custom Flex Component Starter
<br>Name: {{c_name}}
<br>Code: {{c_code}}
<br>Instance Entities:
<br>l.settings:instance<mvt:eval expr="glosub(miva_array_serialize(l.settings:instance), ',', '<br>l.settings:instance')" />
"styles": [
{
"filepath": "{{c_code}}.css",
"resource_code": "{{c_code}}",
"attributes": [
{
"name": "type",
"value": "text/css"
},
{
"name": "rel",
"value": "stylesheet"
}
]
}
],
"scripts": [
{
"filepath": "{{c_code}}.js",
"resource_code": "{{c_code}}",
"attributes": [
{
"name": "type",
"value": "text/javascript"
}
]
}
],
{
"code": "{{c_code}}",
"name": "{{c_name}}",
"version": "1.0.1",
"managed": false, "category": "text-utility",
"type": "component", "resourcegroup_code": "{{c_code}}",
"initialization_template": "init.mvt",
"instance_template": "instance.mvt",
{{scripts}}
{{styles}}
"properties": [
{
"code": "heading",
"prompt": "Heading",
"type": "text"
},
{
"code": "text_content",
"prompt": "Text Content",
"type": "textarea"
},
{
"code": "cta_button",
"prompt": "Button Text",
"type": "text"
}, {
"code": "cta_link",
"default_type": "page",
"prompt": "ABUS",
"type": "link"
} ],
"defaults": {
"heading": {
"value": "Topic"
}, "text_content": {
"value": "Write something about this topic"
}, "cta_button": {
"value": "Learn More"
}, "cta_link": {
"value": "ABUS"
}
}
}