Name
Address book

Description
Contact list with meeting notes

Pack
{
  "views": [
    {
      "name": "MeetingFeed",
      "table": "Meeting",
      "on_menu": false,
      "is_public": true,
      "on_root_page": false,
      "viewtemplate": "Feed",
      "configuration": {
        "viewname": "MeetingFeed",
        "show_view": "ShowMeeting",
        "descending": false,
        "order_field": "date",
        "view_to_create": "EditMeeting"
      }
    },
    {
      "name": "EditPerson",
      "table": "Person",
      "on_menu": false,
      "is_public": true,
      "on_root_page": false,
      "viewtemplate": "Edit",
      "configuration": {
        "layout": {
          "above": [
            {
              "aligns": [
                "left",
                "left"
              ],
              "widths": [
                2,
                10
              ],
              "besides": [
                {
                  "above": [
                    null,
                    {
                      "type": "blank",
                      "block": false,
                      "contents": "Title",
                      "textStyle": ""
                    }
                  ]
                },
                {
                  "above": [
                    null,
                    {
                      "type": "field",
                      "block": false,
                      "fieldview": "edit",
                      "textStyle": "",
                      "field_name": "title"
                    }
                  ]
                }
              ]
            },
            {
              "type": "line_break"
            },
            {
              "aligns": [
                "left",
                "left"
              ],
              "widths": [
                2,
                10
              ],
              "besides": [
                {
                  "above": [
                    null,
                    {
                      "type": "blank",
                      "block": false,
                      "contents": "Name",
                      "textStyle": ""
                    }
                  ]
                },
                {
                  "above": [
                    null,
                    {
                      "type": "field",
                      "block": false,
                      "fieldview": "edit",
                      "textStyle": "",
                      "field_name": "name"
                    }
                  ]
                }
              ]
            },
            {
              "type": "line_break"
            },
            {
              "aligns": [
                "left",
                "left"
              ],
              "widths": [
                2,
                10
              ],
              "besides": [
                {
                  "above": [
                    null,
                    {
                      "type": "blank",
                      "block": false,
                      "contents": "Address",
                      "textStyle": ""
                    }
                  ]
                },
                {
                  "above": [
                    null,
                    {
                      "type": "field",
                      "block": false,
                      "fieldview": "edit",
                      "textStyle": "",
                      "field_name": "address"
                    }
                  ]
                }
              ]
            },
            {
              "type": "line_break"
            },
            {
              "aligns": [
                "left",
                "left"
              ],
              "widths": [
                2,
                10
              ],
              "besides": [
                {
                  "above": [
                    null,
                    {
                      "type": "blank",
                      "block": false,
                      "contents": "Town or city",
                      "textStyle": ""
                    }
                  ]
                },
                {
                  "above": [
                    null,
                    {
                      "type": "field",
                      "block": false,
                      "fieldview": "edit",
                      "textStyle": "",
                      "field_name": "towncity"
                    }
                  ]
                }
              ]
            },
            {
              "type": "line_break"
            },
            {
              "aligns": [
                "left",
                "left"
              ],
              "widths": [
                2,
                10
              ],
              "besides": [
                {
                  "above": [
                    null,
                    {
                      "type": "blank",
                      "block": false,
                      "contents": "Postcode",
                      "textStyle": ""
                    }
                  ]
                },
                {
                  "above": [
                    null,
                    {
                      "type": "field",
                      "block": false,
                      "fieldview": "edit",
                      "textStyle": "",
                      "field_name": "postcode"
                    }
                  ]
                }
              ]
            },
            {
              "type": "line_break"
            },
            {
              "aligns": [
                "left",
                "left"
              ],
              "widths": [
                2,
                10
              ],
              "besides": [
                {
                  "above": [
                    null,
                    {
                      "type": "blank",
                      "block": false,
                      "contents": "Email",
                      "textStyle": ""
                    }
                  ]
                },
                {
                  "above": [
                    null,
                    {
                      "type": "field",
                      "block": false,
                      "fieldview": "edit",
                      "textStyle": "",
                      "field_name": "email"
                    }
                  ]
                }
              ]
            },
            {
              "type": "line_break"
            },
            {
              "aligns": [
                "left",
                "left"
              ],
              "widths": [
                2,
                10
              ],
              "besides": [
                {
                  "above": [
                    null,
                    {
                      "type": "blank",
                      "block": false,
                      "contents": "Telephone",
                      "textStyle": ""
                    }
                  ]
                },
                {
                  "above": [
                    null,
                    {
                      "type": "field",
                      "block": false,
                      "fieldview": "edit",
                      "textStyle": "",
                      "field_name": "telephone"
                    }
                  ]
                }
              ]
            },
            {
              "type": "line_break"
            },
            {
              "type": "action",
              "block": false,
              "minRole": 10,
              "action_name": "Save"
            }
          ]
        },
        "columns": [
          {
            "type": "Field",
            "fieldview": "edit",
            "field_name": "title"
          },
          {
            "type": "Field",
            "fieldview": "edit",
            "field_name": "name"
          },
          {
            "type": "Field",
            "fieldview": "edit",
            "field_name": "address"
          },
          {
            "type": "Field",
            "fieldview": "edit",
            "field_name": "towncity"
          },
          {
            "type": "Field",
            "fieldview": "edit",
            "field_name": "postcode"
          },
          {
            "type": "Field",
            "fieldview": "edit",
            "field_name": "email"
          },
          {
            "type": "Field",
            "fieldview": "edit",
            "field_name": "telephone"
          },
          {
            "type": "Action",
            "minRole": 10,
            "action_name": "Save"
          }
        ],
        "viewname": "EditPerson",
        "view_when_done": "Contacts"
      }
    },
    {
      "name": "EditMeeting",
      "table": "Meeting",
      "on_menu": false,
      "is_public": false,
      "on_root_page": false,
      "viewtemplate": "Edit",
      "configuration": {
        "fixed": {
          "date": null,
          "preset_date": "Now"
        },
        "layout": {
          "above": [
            {
              "type": "blank",
              "block": true,
              "contents": "Meeting",
              "textStyle": "h4"
            },
            {
              "type": "field",
              "block": false,
              "fieldview": "",
              "textStyle": "",
              "field_name": "person"
            },
            {
              "type": "line_break"
            },
            {
              "type": "field",
              "block": false,
              "fieldview": "",
              "textStyle": "",
              "field_name": "notes"
            },
            {
              "type": "line_break"
            },
            {
              "type": "action",
              "block": false,
              "minRole": 10,
              "action_name": "Save"
            }
          ]
        },
        "columns": [
          {
            "type": "Field",
            "fieldview": "",
            "field_name": "person"
          },
          {
            "type": "Field",
            "fieldview": "",
            "field_name": "notes"
          },
          {
            "type": "Action",
            "minRole": 10,
            "action_name": "Save"
          }
        ],
        "viewname": "EditMeeting",
        "view_when_done": "Contacts"
      }
    },
    {
      "name": "Contacts",
      "table": "Person",
      "on_menu": true,
      "is_public": true,
      "on_root_page": true,
      "viewtemplate": "List",
      "configuration": {
        "columns": [
          {
            "stat": "Count",
            "type": "Field",
            "view": "Own:EditPerson",
            "fieldview": "as_text",
            "field_name": "title",
            "join_field": "",
            "action_name": "Delete",
            "agg_relation": "Meeting.person",
            "agg_field_Meeting_person": "person"
          },
          {
            "stat": "Count",
            "type": "Field",
            "view": "Own:EditPerson",
            "fieldview": "as_text",
            "field_name": "name",
            "join_field": "",
            "action_name": "Delete",
            "agg_relation": "Meeting.person",
            "agg_field_Meeting_person": "person"
          },
          {
            "stat": "Count",
            "type": "Field",
            "view": "Own:EditPerson",
            "fieldview": "as_text",
            "field_name": "towncity",
            "join_field": "",
            "action_name": "Delete",
            "agg_relation": "Meeting.person",
            "agg_field_Meeting_person": "person"
          },
          {
            "stat": "Count",
            "type": "Field",
            "view": "Own:EditPerson",
            "fieldview": "as_text",
            "field_name": "email",
            "join_field": "",
            "action_name": "Delete",
            "agg_relation": "Meeting.person",
            "agg_field_Meeting_person": "person"
          },
          {
            "stat": "Count",
            "type": "ViewLink",
            "view": "Own:PersonAndMeetings",
            "fieldview": "as_text",
            "field_name": "title",
            "join_field": "",
            "action_name": "Delete",
            "agg_relation": "Meeting.person",
            "agg_field_Meeting_person": "person"
          },
          {
            "stat": "Count",
            "type": "ViewLink",
            "view": "Own:EditPerson",
            "fieldview": "as_text",
            "field_name": "title",
            "join_field": "",
            "action_name": "Delete",
            "agg_relation": "Meeting.person",
            "agg_field_Meeting_person": "person"
          }
        ],
        "viewname": "Contacts",
        "view_to_create": "EditPerson"
      }
    },
    {
      "name": "PersonAndMeetings",
      "table": "Person",
      "on_menu": false,
      "is_public": true,
      "on_root_page": false,
      "viewtemplate": "ListShowList",
      "configuration": {
        "viewname": "PersonAndMeetings",
        "list_view": "",
        "show_view": "ShowPerson",
        "subtables": {
          "ChildList:EditMeeting.Meeting.person": false,
          "ChildList:MeetingFeed.Meeting.person": true
        }
      }
    },
    {
      "name": "ShowMeeting",
      "table": "Meeting",
      "on_menu": false,
      "is_public": true,
      "on_root_page": false,
      "viewtemplate": "Show",
      "configuration": {
        "layout": {
          "widths": [
            "3",
            9
          ],
          "besides": [
            {
              "type": "field",
              "fieldview": "relative",
              "field_name": "date"
            },
            {
              "type": "field",
              "fieldview": "",
              "field_name": "notes"
            }
          ]
        },
        "columns": [
          {
            "type": "Field",
            "fieldview": "relative",
            "field_name": "date"
          },
          {
            "type": "Field",
            "fieldview": "",
            "field_name": "notes"
          }
        ],
        "viewname": "ShowMeeting"
      }
    },
    {
      "name": "ShowPerson",
      "table": "Person",
      "on_menu": false,
      "is_public": true,
      "on_root_page": false,
      "viewtemplate": "Show",
      "configuration": {
        "layout": {
          "above": [
            {
              "type": "field",
              "block": false,
              "fieldview": "as_text",
              "textStyle": "",
              "field_name": "title"
            },
            {
              "type": "field",
              "block": true,
              "fieldview": "as_header",
              "textStyle": "",
              "field_name": "name"
            },
            {
              "type": "field",
              "block": true,
              "fieldview": "as_text",
              "textStyle": "",
              "field_name": "address"
            },
            {
              "type": "field",
              "block": true,
              "fieldview": "as_text",
              "textStyle": "",
              "field_name": "postcode"
            },
            {
              "type": "field",
              "block": true,
              "fieldview": "as_text",
              "textStyle": "",
              "field_name": "towncity"
            },
            {
              "type": "field",
              "block": true,
              "fieldview": "as_text",
              "textStyle": "",
              "field_name": "email"
            },
            {
              "type": "field",
              "block": true,
              "fieldview": "as_text",
              "textStyle": "",
              "field_name": "telephone"
            }
          ]
        },
        "columns": [
          {
            "type": "Field",
            "fieldview": "as_text",
            "field_name": "title"
          },
          {
            "type": "Field",
            "fieldview": "as_header",
            "field_name": "name"
          },
          {
            "type": "Field",
            "fieldview": "as_text",
            "field_name": "address"
          },
          {
            "type": "Field",
            "fieldview": "as_text",
            "field_name": "postcode"
          },
          {
            "type": "Field",
            "fieldview": "as_text",
            "field_name": "towncity"
          },
          {
            "type": "Field",
            "fieldview": "as_text",
            "field_name": "email"
          },
          {
            "type": "Field",
            "fieldview": "as_text",
            "field_name": "telephone"
          }
        ],
        "viewname": "ShowPerson"
      }
    }
  ],
  "tables": [
    {
      "name": "Person",
      "fields": [
        {
          "name": "name",
          "type": "String",
          "label": "Name",
          "required": true,
          "is_unique": false,
          "attributes": {
            "match": "",
            "options": ""
          }
        },
        {
          "name": "title",
          "type": "String",
          "label": "Title",
          "required": true,
          "is_unique": false,
          "attributes": {
            "match": "",
            "options": "Mr, Mrs,Miss,Ms,Master, Mx, Dr, Prof, Sir, Dame,Rev, Col, Lord, Lady"
          }
        },
        {
          "name": "address",
          "type": "String",
          "label": "Address",
          "required": false,
          "is_unique": false,
          "attributes": {
            "match": "",
            "options": ""
          }
        },
        {
          "name": "postcode",
          "type": "String",
          "label": "Postcode",
          "required": false,
          "is_unique": false,
          "attributes": {
            "match": "",
            "options": ""
          }
        },
        {
          "name": "towncity",
          "type": "String",
          "label": "Town/City",
          "required": false,
          "is_unique": false,
          "attributes": {
            "match": "",
            "options": ""
          }
        },
        {
          "name": "email",
          "type": "String",
          "label": "e-mail",
          "required": false,
          "is_unique": false,
          "attributes": {
            "match": "",
            "options": ""
          }
        },
        {
          "name": "telephone",
          "type": "String",
          "label": "Telephone",
          "required": false,
          "is_unique": false,
          "attributes": {
            "match": "",
            "options": ""
          }
        }
      ],
      "min_role_read": 1,
      "min_role_write": 1,
      "expose_api_read": false,
      "expose_api_write": false
    },
    {
      "name": "Meeting",
      "fields": [
        {
          "name": "person",
          "type": "Key",
          "label": "Person",
          "required": true,
          "is_unique": false,
          "attributes": {
            "summary_field": "name"
          },
          "reftable_name": "Person"
        },
        {
          "name": "date",
          "type": "Date",
          "label": "Date",
          "required": true,
          "is_unique": false,
          "attributes": {}
        },
        {
          "name": "notes",
          "type": "Markdown",
          "label": "Notes",
          "required": false,
          "is_unique": false,
          "attributes": {}
        }
      ],
      "min_role_read": 1,
      "min_role_write": 1,
      "expose_api_read": false,
      "expose_api_write": false
    }
  ],
  "plugins": [
    {
      "name": "markdown",
      "source": "npm",
      "location": "@saltcorn/markdown"
    }
  ]
}