wsview
View in Worksheet
{
"_id":"ObjectId",
"name":"string", // View name
"status":"int", // Status. 1: Normal; 9: Deleted
"wsid":"string", // Worksheet ID
"unread":"bool", // Unread or not
"filters":[], // Filter items. Refer to the filtering parameters in the worksheet
"fastfilters":[], // Configuration for quick filtering
"navgroup":[{controlId:"",isAsc:bool,viewId:"string",filterType:"int"}], // Navigation filter
"sortcid":"string", // Default sorting field
"sorttype":"int", // 1: Descending, 2: Ascending
"controls":"[string]", // ID of hidde control
"displaycontrols":"[string]", // Fields to be displayed on the card
"showcontrols":"[string]", // Dispalyed fields
"controlssort":"[string]", // Displaying order
"layersname":"[string]", // Level name
"covercid":"string", // Card cover ID
"covertype":"int", // Card display. 0: Filled 1: Full display
"customdisplay":"bool", // Customize the card display or not
"viewtype":"int", // 0: List, 1: Board, 2: Org, 3: Gallery, 4: Calendar, 5: Gantt
"viewcontrol":"string", // Dimension control ID
"childtype":"int", // 0 or 1: Single-worksheet hierarchy, 2: Multi-worksheet hierarchy
"viewcontrols":[{
"wsid":"string",
"cid":"string",
"covercid":"string",
"covertype":"int",
"scids":["string"]
}], // Multi-worksheet dimension control IDs
"showcn":"bool", // Show control name or not
"sorts":[], // Filter items. Refer to the filter parameters in the worksheet
"rowheight":int , // Row height
"caid":"string", // Creator account ID
"ctime":"datetime", // Date created
"adset":[{
"key":"string", // Configuration key. More details are described below
"value":"string" // Value. More details are described below
}] // Advanced settings
}
Advanced Setting Description (adset)
key | Value Description (string) |
---|---|
hidenone | Hide boards with no data. 1: Hide, 0 or null: Not hide |
appshowtype | Layout 1, 2, 3 ... |
abstract | ID of abstract control |
showformat | Display format of fields [{cid:xxxx,format:yyyyMMdd HH:mm:ss}] |
coverposition | Cover position |
checkradioid | ID of checkbox control |
customdisplay | Customize displaying order or not |
begindate | ID of the start control in Calendar view |
enddate | ID of the end control in Calendar view |
unlunar | Show the lunar calendar or not. Null or 0: Show, 1: Not show |
unweekday | Not displayed day of the week 1234567 |
colorid | ID of the color control |
hidebtn | Hide the unavailable button. 1: hide, 0 or null: not hide |
freezecol | IDs of frozen columns |
colwidth | Column width setting |
hour24 | The 24-hour format. Null or 0: No, 1: Yes |
sysids | Display of system fields |
syssort | Displaying order of system fields |
opencover | Click to view the cover. Null or 1: Allow, 2: Not allow |
enablebtn | Query button. Null or 0: Disable, 1: Enable |
clicksearch | Show data after query. Null or 0: Show directly, 1: Show after query |
milepost | ID of the milestone control |
navgroup | ID of the grouping control |
calendartype | Calendar type (defined by the front-end) |
refreshtime | Auto refresh time for the view |
calendarcids | Date control in the view [{begin:"ID of the start control",end:"ID of the end control",mark:"label"}] |
weekbegin | First day of every week 1234567 |
showall | Null or 0: not show, 1: show all calendars |
nousenav | Null or 0: as default, 1: not as default |