Skip to main content

ITEMFLAGS

Item (value list item or object) flags.

NameDescriptionType
allSpecifies all flags set; Including any future flags.boolean
is_shortcutIs the item a stub (refers to a full object in another vault). This could be link object or symbolic link.boolean
is_deletedIs the item deleted. The flag is not persistent in the database.boolean
is_accessed_by_validIs the Recently Accessed By field valid (field can be valid and zero if user hasn't accessed the object). The flag is not persistent in the database.boolean
has_shared_filesDoes the item have shared files. The flag is not persistent in the database.boolean
is_conflict_objectIs the item a conflict object.boolean
is_normalIs a normal object i.e. no flags. This has the same meaning as ITEMFLAG_NONE (or actually no flags of ITEMFLAGS_BITMASK_SPECIALFLAGS). This flag allows us to combine all flags by using bitwise OR without losing information. The flag is not persistent in the database.boolean
is_viewIs a view object? View objects are objects which represents view folders but can have metadata associated with. They act as shortucts to the actual views when found e.g. through quick search.boolean
has_external_dataDoes the object have external data associated with it, e.g. the object is promoted? NOTE: Currently NOT set for objects that are linked with external file source.boolean
is_referred_external_objectIs an unmanaged reduced object type item.boolean

Example

{
"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
}