---
title: "General Screen Config"
canonical: "https://help.fieldbuddy.com/space/FBDOCS/3107914421/General%20Screen%20Config"
format: markdown
---
## Sample Structure

Below is sample structure for the screen. Each different screen might have more options, options given below will be located with higher probability

events, dataText, dataBinding. Another ones, like header, title, overview and so are placed in the concrete screens, and has extra information avout it

```
{
    "name": "TimeSheetLineItem",
    "config": {
        "events": [{
                "eventName": "onCancel",
                "triggeredEvent": "navigate",
                "target": "WorkOrderDetails",
                "dataBinding": [
                ]
            }
        ],
        "dataText": {
            "Id": "ID",
            "Wo": "WO",
            "Name": "NAME",
            "Start time": "START_TIME",
            "End time": "END_TIME",
            "Type": "TYPE",
            "Comments": "COMMENTS"
        },
        "dataBinding": [{
                "var": "ID",
                "table": "FIELDBUDDY__Timesheet_Lineitem__c",
                "field": "Id",
                "label": "Id"
            }
        ]
    }
}
```

  


## Description

- **events** – describes actions that could happen
- **dataText – **describes data variables, which can use "var" from data binding in order to display information in compounded way, basically can include labels, static text and infromation from data bindings
- **dataBinding** – allows to reach and return data from app storage [Data Binding](https://upperdeck.atlassian.net/wiki/spaces/FBDOCS/pages/3107914425) has nice definition of it