Fields In Dashlets

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wmoghes
    Member
    • Aug 2017
    • 30

    Fields In Dashlets

    Hey,

    I has been finished from creating a new Dashlet in custom folder but the issue now is that once i clicked on "Create Account Opening" all displayed fields is just first name and last name

    Now, I need to know is there any file overwrite fields or how can I display all fields once user select create new Account Opening from new Dashlet because i have more than 2 fields

    PHP Code:
    {
        "view":"views/dashlets/abstract/record-list",
        "aclScope": "AccountOpening",
        "entityType": "AccountOpening",
        "options": {
            "fields": {
                "title": {
                    "type": "varchar",
                    "required": true
                },
                "autorefreshInterval": {
                    "type": "enumFloat",
                    "options": [0, 0.5, 1, 2, 5, 10]
                },
                "displayRecords": {
                    "type": "enumInt",
                    "options": [3,4,5,10,15,20,30]
                },
                "expandedLayout": {
                    "type": "base",
                    "view": "views/dashlets/fields/records/expanded-layout"
                }
            },
            "defaults": {
                "sortBy": "createdAt",
                "asc": false,
                "displayRecords": 5,
                "expandedLayout": {
                    "rows": [
                        [
                            {
                                "name": "name",
                                "link": true
                            },
                            {
                                "name": "addressCity"
                            }
                        ],
                        [
                            {
                                "name": "status"
                            },
                            {
                                "name": "source"
                            }
                        ]
                    ]
                },
                "searchData": {
                    "bool": {
                        "onlyMy": true
                    },
                    "primary": "actual"
                }
            },
            "layout": [
                {
                    "rows": [
                        [
                            {"name": "title"}
                        ],
                        [
                            {"name": "displayRecords"},
                            {"name": "autorefreshInterval"}
                        ],
                        [
                            {"name": "expandedLayout"},
                            false
                        ]
                    ]
                }
            ]
        }
    } 
    
    Thanks In Advanced
  • wmoghes
    Member
    • Aug 2017
    • 30

    #2
    The issue has been fixed. The issue is that I was forget to add fields in detail small in Layout Manger

    Thanks in your time

    Comment

    Working...