TreeINFO-For-M365 documentation
    Preparing search index...

    Interface TaskViewWP

    Example:

    {
    "Columns": [
    {
    "InternalName": "DocIcon",
    "DisplayLink": true,
    "Name": "",
    "Width": "16px"
    },
    {
    "InternalName": "Title",
    "IsTaskColumn": true,
    "DisplayLink": true
    },
    {
    "InternalName": "Created",
    "IsTaskColumn": true,
    "DisplayFormat": 0
    },
    {
    "InternalName": "s_invoiceBarcode"
    },
    {
    "InternalName": "s_supplierName"
    }
    ]
    }
    interface TaskViewWP {
        Columns: Column[];
        Urls?: string[];
    }
    Index

    Properties

    Properties

    Columns: Column[]

    Array of column configurations that define which fields to display in the task view table and how they should be rendered.

    Urls?: string[]

    Array of site URLs to include when fetching tasks. When provided, creates an aggregated view displaying tasks from multiple SharePoint sites. If omitted, only tasks from the current site will be displayed.

    When Urls is defined, only columns with IsTaskColumn: true will be shown.

    Example: ["dmscloudapps.sharepoint.com/sites/invoices", "dmscloudapps.sharepoint.com/sites/contracts"]