ValueListItem
Item in a value list.
Name | Description | Type |
---|---|---|
item_info | Item IDs (internal and external), GUID, and name. | ItemInfo |
has_parent | Does this item have a parent item? | boolean |
has_owner | Does this item have an owner item? | boolean |
parent_id | The ID of the parent item (ignored if bHasParent is false). | number |
owner_id | The ID of the owner item, used for filtering (unique in the scope of an owner value list). | number |
owner_name | The name of the owner item. | string |
automatic_permissions | If not NULL, specifies the automatic permissions for an object for which the user selects this item. | AutomaticPermissions |
icon | If not NULL, contains the icon of this item in .ICO format. | Bytes |
Example
{
"item_info": {
"obj_id": {
"type": 0,
"item_id": {
"internal_id": 0,
"external_repository_id": {
"connection": "<!< The external repository connection identifier.>",
"item": "<item>"
}
}
},
"name": "<!< The name of the item.>",
"external_id_status": 5 /* Enum: ExtIDStatus */,
"external_id": "<external_id>",
"guid": "<!< GUID for the item.>",
"options": {
"all": false,
"is_shortcut": false,
"is_deleted": false,
"is_accessed_by_valid": false,
"has_shared_files": false,
"is_conflict_object": false,
"is_normal": false,
"is_view": false,
"has_external_data": false,
"is_referred_external_object": false
},
"external_repository_icon_id": "<!< The ID of the item's icon.>"
},
"has_parent": false,
"has_owner": false,
"parent_id": 0,
"owner_id": 0,
"owner_name": "<!< The name of the owner item.>",
"automatic_permissions": {
"permissions": {
"id": 0,
"name": "<!< The name of the named ACL.>",
"type": 2 /* Enum: NACLType */,
"acl_for_objects": {
"checked_out_to_user": 0,
"is_fully_authoritative": false,
"custom_component": {
"named_acl_id": 0,
"has_named_acl": false,
"current_user_id": 0,
"has_current_user": false,
"permissions": [] /* Array of AccessControlEntry */,
"overridability_permissions": [] /* Array of AccessControlEntry */,
"status": {
"all": false,
"deleted": false,
"source_item_linked_via_pseudo_users": false
}
},
"restrictive_components": [] /* Array of AccessControlListComponentMapEntry */,
"secondary_access_control_list": {} /* AccessControlList */,
"additive_components": [] /* Array of AccessControlListComponentMapEntry */
},
"guid": "<!< GUID for the NACL.>"
},
"is_default": false,
"use_object_permissions": false
},
"icon": {
"value": 0 /*Uint8Array*/
}
}