Updated By

Updated By field helps track the last user making an update to a record on a Quabbly board. This help guide explains more about this field type.

Create an Updated By Field Type

mutation {
  fields(
    boardId: "6152bff8ee3a6e000130edbb"
    dto: {
        name: "Updated By"
        description: "This is a createdBy field type"
        type: "lastUpdatedBy"
        unique: true
        isVisibleOnTable:true
        typeData: {}
}
  ) {
    id
    fieldsSecret {
      name
      description
      type
      typeData {
        padding
        starting_point
      }
      unique
      dontUpdate
    }
    createdTime
    boardId
    isVisibleOnTable
  }
}
{
    "data": {
        "fields": {
            "id": "6167b00a0155110001c03f95",
            "fieldsSecret": {
                "name": "Updated By",
                "description": "This is a createdBy field type",
                "type": "lastUpdatedBy",
                "typeData": {
                    "padding": null,
                    "starting_point": null
                },
                "unique": true,
                "dontUpdate": false
            },
            "createdTime": "Thu Oct 14 04:20:26 GMT 2021",
            "boardId": "6152bff8ee3a6e000130edbb",
            "isVisibleOnTable": true,
        }
    }
}

Update an Updated Date Field Type

mutation {
  updateFields(
    boardId: "6152bff8ee3a6e000130edbb"
    fieldId: "6167b00a0155110001c03f95"
    dto: {
        name: "Updated By"
        description: "This is a createdBy field type"
        type: "lastUpdatedBy"
        unique: false
        isVisibleOnTable:false
        typeData: {}
}
  ) {
    id
    fieldsSecret {
      name
      description
      type
      typeData {
        padding
        starting_point
      }
      unique
      dontUpdate
    }
    createdTime
    boardId
    isVisibleOnTable
  }
}
{
    "data": {
        "updateFields": {
            "id": "6167b00a0155110001c03f95",
            "fieldsSecret": {
                "name": "Updated By",
                "description": "This is a createdBy field type",
                "type": "lastUpdatedBy",
                "typeData": {
                    "padding": null,
                    "starting_point": null
                },
                "unique": false,
                "dontUpdate": false
            },
            "createdTime": "Thu Oct 14 04:20:26 GMT 2021",
            "boardId": "6152bff8ee3a6e000130edbb",
            "isVisibleOnTable": false,
        }
    }
}

Delete an Updated Date Field Type

mutation {
  deleteFields(
    boardId: "6152bff8ee3a6e000130edbb"
    fieldId: "6167b00a0155110001c03f95"
  )
}
{
    "data": {
        "deleteFields": "SUCCESS"
    }
}