Message Boards

Multiple attachment in DDL??

Kishan Agrawal, modified 4 Years ago.

Multiple attachment in DDL??

New Member Posts: 24 Join Date: 1/8/18 Recent Posts
Hello Everyone!!
I am using DDL in liferay 7.2 i want multiple attachment component is that possible ?
am not getting any way to do that...
thumbnail
Mohammed Yasin, modified 4 Years ago.

RE: Multiple attachment in DDL??

Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts
Hi ,In DDl Definition you can select document and media field and there in setting change to repeatable. you can refer below source​​​​​​​
{
    "availableLanguageIds": [
        "en_US"
    ],
    "defaultLanguageId": "en_US",
    "fields": [
        {
            "label": {
                "en_US": "Documents and Media"
            },
            "predefinedValue": {
                "en_US": ""
            },
            "style": {
                "en_US": ""
            },
            "tip": {
                "en_US": ""
            },
            "dataType": "document-library",
            "fieldNamespace": "ddm",
            "indexType": "keyword",
            "localizable": true,
            "name": "DocumentsAndMedia9rnj",
            "readOnly": false,
            "repeatable": true,
            "required": false,
            "showLabel": true,
            "type": "ddm-documentlibrary"
        }
    ]
}
Kishan Agrawal, modified 4 Years ago.

RE: Multiple attachment in DDL??

New Member Posts: 24 Join Date: 1/8/18 Recent Posts
Thanks Yasin,

But in my case it was theme issue that i developed. and yes now that is resolved.