Reversibility
Overview
Any comes with a reversibility tool that extracts the data related to the documents stored in Any.
The reversibility process does not delete these documents from your environment: you must delete them manually.
Options
Applications
You must choose the applications to apply the reversibility to. Every document linked to the selected application is exported, with all its metadata and its relations.
Audits
Three options are available:
- None: does not export the audits of the documents.
- All: exports the audit of the documents and of every previous version.
- Version_only: exports only the audit of the selected version.
Contents
Two options are available:
- All: exports every format of the document.
- Primary: exports only the primary format.
Extraction structure
Package structure
Every document is exported into a folder named like the selected application.
Each metadata document is stored in a JSON file named [root_id]_[version].json.
Every format is gathered in a folder with the same name as the document file: [root_id]_[version].
The exported format is named [format_id]_[format_name].[extension].
JSON document structure
Node metadata
Each aspect has its own sub-object, holding the value of each of its metadata. The Sync aspect is used for synchronization purposes. Every date is in UTC.
"metadata" : {
"standard" : {
"title" : "Dynamically B2C users after installed base benefits",
"authors" : [ "Alexandre", "Bertrand", "Johan", "Pierre" ],
"status" : "Under Approval",
"subject" : "Momentum Barcelona 2016. Nanotechnology immersion along the information highway will close the loop on focusing solely on the bottom line.",
"keywords" : [ "Barcelona", "Documentum", "Momentum" ]
},
"core" : {
"version" : "3.1",
"primary_format_size" : 4210173,
"creation_date" : "2016-07-14T12:02:46.938Z",
"aspects" : [ "standard", "core", "sync", "extended" ],
"primary_format_extension" : "docx",
"root_id" : "g_c_415b4d6d-da4a-484a-808c-6552a5a6f70f",
"object_id" : "g_c_07d5747b-78a1-4e56-b562-e3806d812a17",
"name" : "Doc-Num-000744",
"modifier" : "admin",
"applications" : [ "Demo"],
"modification_date" : "2021-10-06T15:14:21.852Z",
"stamp_id" : "22",
"version_tags" : [ "latest" ],
"object_type" : "directive"
},
"sync": {
"dump": [],
"source": "documentum",
"object_id": "documentum###0901ec619d1724ae",
"last_update_date": "2022-01-14T18:23:10.777Z",
"root_id": "documentum###0901ec619cdb7f09",
"last_operation": "replace"
},
"extended" : {
"country" : "JAPAN",
"is_confidential" : false,
"zone" : "AS",
"city" : "Tokyo",
"product" : "product_1"
}
}
Node formats
The Format node gathers every content of the exported document. The primary format has its "is_primary" set to true. The "object_id" of the format is used to generate the exported name of the content.
"formats" : {
"is_thumbnail_available" : true,
"current_formats" : [ {
"extension" : "jpg",
"size" : 91461,
"content_type" : "jpg",
"file_uri" : "b56eeffa-8ed3-495e-9dd0-1ad63d4f6fd0",
"is_primary" : true,
"is_attachment" : false,
"name" : "pic_team.jpg",
"creation_date" : "2021-10-06T13:24:01.036Z",
"object_id" : "8cb8d2ae-7882-4309-8100-211c4dd4611a",
"tags" : [ "view" ],
"is_thumbnail" : false
}, {
"extension" : "pdf",
"size" : 1636067,
"content_type" : "pdf",
"file_uri" : "ba692a99-ae7e-4bb9-b190-79bda669729f",
"is_primary" : false,
"is_attachment" : false,
"name" : "Doc-Num-000744",
"creation_date" : "2021-10-06T15:03:39.008Z",
"object_id" : "b09ef08b-0602-4006-b631-c8f0e5b13995",
"tags" : [ "view" ],
"is_thumbnail" : false
}, {
"extension" : "png",
"size" : 177829,
"content_type" : "thumbnail_small",
"file_uri" : "b2457e33-8663-4ad4-89df-d3b82b76556a",
"is_primary" : false,
"is_attachment" : false,
"name" : "thumbnail_0_small.png",
"creation_date" : "2021-10-06T15:03:39.837Z",
"object_id" : "cfc8aa6d-b009-42f4-8a9f-93df22b21bc1",
"tags" : [ "view" ],
"is_thumbnail" : true
} ]
}
Node locations
The Location node holds every room or folder the document is linked to.
In the case of a folder, the "folder_path" gives the path of the folder.
The "object_id" of the room is built as follows:
[application name]_[room name]
If the document was linked manually, "link_mode=0". If it was linked by a collection, "link_mode=1". The name of the used collections is then in "src_id".
"locations" : [ {
"link_creator" : "admin",
"application" : "Demo",
"link_mode" : 0,
"link_date" : "2020-07-03T15:13:29.536Z",
"object_id" : "demo_room__room0003",
"folder_path" : "/"
}, {
"link_creator" : "admin",
"application" : "Demo",
"link_mode" : 0,
"link_date" : "2020-07-03T15:13:29.543Z",
"object_id" : "demo_room__room0006",
"folder_path" : "/"
}, {
"src_hash" : -830518848,
"application" : "Demo",
"link_mode" : 1,
"src_id" : "non french doc",
"link_date" : "2021-10-11T15:37:01.677Z",
"object_id" : "demo_room__room0012",
"folder_path" : "/"
} …
Node relations
The Relations node holds every relation the document is the "parent" of.
"relations" : {
"_timestamp" : 1633526750308,
"statics" : [ {
"name" : "translation_of",
"is_external" : false,
"target_id" : "g_c_0a071246-54a5-4427-8fe0-56433f86c609",
"object_id" : "d787da2b-ea72-4b56-84ac-c082b166168d",
"target_version" : [ "latest" ],
"direction" : "parent_to_child"
}, {
"name" : "attachments",
"is_external" : false,
"target_id" : "g_c_d75713a4-69ff-4663-bbe4-2dd42ad2cfba",
"object_id" : "f0f2489d-b7f1-4c32-b65f-04dd8ea31b5f",
"target_version" : [ "latest" ],
"direction" : "parent_to_child"
}, {
"name": "geode_document_to_document",
"is_external": true,
"target_id": "documentum###0901ec619ce88159",
"object_id": "38e8b266-f3b7-46bc-be92-52bf0ca7b539",
"target_version": [],
"direction": "parent_to_child"
} …
}
ACL node
"acl" : {
"application_visibility_groups" : [ {
"application" : "Demo",
"groups" : [
"demo_room__room0003_room_members",
"demo_room__room0006_room_members",
"demo_room__room0001_room_members",
"demo_room__room0007_room_members",
"demo_room__room0005_room_members",
"demo_room__room0002_room_members",
"demo_room__room0008_room_members",
"demo_room__room0012_room_members"
]
} ],
"_timestamp" : 1633528160015
}
Audit node
The Audit node holds the whole set of audits of the document.