Roll Container

This section combines functionalities for: * My Imports * Unassigned Documents * Trash * Processes

Load Overview

An overview can be loaded that provides the number of documents contained for the types MyImport, UnassignedDocuments, and Trash.

var result = await dms.RollContainer.GetOverview();

result.DocumentCountsByType is a dictionary and contains values in the following form (example): |ResultIdSetType|Count| |-|-| |MyImports|5| |Trash|32| |UnassignedDocuments|47|

Load Process Overview

var result = await dms.RollContainer.GetClipOverview();

result.ClipInfos is a list with elements of the type: |DocumentClipInfo|Type|Description| |-|-|-| |Name|String|Display name of the process.| |Id|Guid|ID of the process object.| |ElementCount|Int32|Number of contained objects (currently only documents).| |Type|DocumentClipType|Access type of the process.|

The type is defined by the access rights set for the process. |DocumentClipType|Description| |-|-| |Personal|Accessible only to the user who loaded the list.| |Public|Visible to all users.| |Restricted|Accessible to the current user and additionally other users/groups.|

Load IdSet

To access the documents identified in the overview, you can load an IdSet for the corresponding type:

var idSet = await dms.RollContainer.LoadIdSet(ResultIdSetType.Trash);

If the content of a process is to be loaded, its ID must also be specified.

var idSet = await dms.RollContainer.LoadIdSet(ResultIdSetType.Clip, clipId);

The type ResultIdSet contains the following data: |ResultIdSet|Type|Description| |-|-|-| |TypeOfIds|ResultIdSetType|The type specified when loading.| |ContainerId|Guid?|The ID of the process, if applicable.| |Ids|List|The IDs of the found documents.|

This article has been automatically translated by an AI and may therefore contain errors.

Related to