1
0
-1

I am trying to custmise T-Field tiles like described here:

Configuring Form Tiles

However I can't seem to get it to work. I am not sure exactly where to upload the file since the how-to is so vague. I have uploaded it to resources/tiles.json and resources/json/tiles.json and also added it as a property called tiles.json

Not sure if any of these is correct. JSON file is below:

[
{
"formCode" : "1175",
"views" : [{
"type" : "saved",
"fields" : [{
"label" : "Business name",
"value" : "formDataMap.businessName"
}
]
}
]
},
{
"formCode" : "1348",
"view" : [{
"fields" : [{
"label" : "Individual or company",
"value": "formDataMap.NameIndividualCompany"
}
]
}
]
}
]




Any ideas?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Patrick,

      resources/tiles.json is the correct one


      An example of one which worked well form me

      [
        {
          "formCode": "formCode1",
          "views": [
            {
              "title": "Task: {{formDataMap.taskTitle}}",
              "type": "saved",
              "fields": [
                {
                  "label": "Form Name",
                  "value": "form.name"
                }
              ]
            }
          ]
        },
        {
          "formCode": "form-demo",
          "views": [
            {
              "type": "saved",
              "fields": [
                {
                  "label": "Address",
                  "value": "formDataMap.address"
                },
                {
                  "label": "Notes",
                  "value": "formDataMap.notes"
                }
              ]
            }
          ]
        }
      ]


      make sure you add it to the field worker space

        CommentAdd your comment...