Skip to main content

GetObjectFiles

Gets document files.

Syntax

// Assumes shellUI has been initialized with IShellUI instance
const results = await shellUI.Vault.ObjectOperations.GetObjectFiles({
obj_ver: {
obj_id: {
type: 0,
item_id: {
internal_id: 0,
external_repository_id: {
connection: "<connection>",
item: "<item>",
},
},
},
version: {
type: 7 /* Enum: ObjVerVersionType */,
internal_version: 0,
external_repository_version: "<external repository version>",
external_repository_sort_key: 0,
},
},
});

Message

NameDescriptionType
obj_verThe object version as JSON. (represented by MF_ObjVer struct)ObjVer

Return type

NameDescriptionType
filesInformation of object files as JSON.File[]

Example

{
"files": [] /* Array of File */
}