CDD库更新(2020年8月):从CDD Vault 埃尔恩和CDD Vault API批量导出ELN条目

2020年8月12日
英国历史学家安东尼·詹姆斯·比弗爵士(Sir Antony James Beevor)说:“我对档案工作有些痴迷,因为’t know what you’重新找到。实际上,你不’t know what you’重新寻找,直到找到它。”如果您也很迷恋ELN中存储的信息,那么这个批量ELN导出功能将是王牌!
从CDD Vault 埃尔恩一次导出多个ELN条目
CDD库管理员现在可以从ELN索引主页面导出多个ELN条目。此功能仅适用于保险柜管理员。单击“导出条目”链接以导出所有列出的ELN条目。


- summary.csv文件
一种。此summary.csv文件包含所有导出的ELN条目的目录视图。
b。所有ELN元字段(ID,标题,作者,见证人,状态,已创建,已修改,已提交和已完成)都包含在summary.csv文件中。
C。还包括所有ELN用户定义的字段(这些是Vault Administrator使ELN用户可以在每个ELN条目的标题中填充的字段)。
- 每个ELN条目的顶级文件夹,其中包含:
一种。 埃尔恩条目的pdf呈现。
b。包含原始附件的子文件夹。
C。 Audit Trail csv文件。
- 一个Errors.csv文件(如果有),其中包含有关pdf生成过程中可能发生的任何错误的信息。
值得注意的提示
- 要限制导出的ELN条目的数量,请使用直观的 搜索和过滤 单击“导出条目”按钮以缩小ELN条目列表之前,请先确定其他机制。
- 每个ELN条目的pdf呈现将包括为图像和pdf附加文件显示的所有缩略图。
- 附加在ELN条目中的Microsoft Office文件的预览将不会在pdf呈现中显示。
- 以前在单个ELN条目中可用的“导出文件”和“打印”按钮/功能现已合并,并提供与此新批量导出功能相同的导出zip文件。
通过CDD Vault API导出ELN条目
API users may now retrieve 埃尔恩 恩tries via the new GET eln/entries
API call:
GET /api/v1/vaults/<vault_id>/eln/entries
Several parameters are supported for this GET 埃尔恩 Entries
API call including, but not limited to, eln_entries, author, created_after, modified_after, status, finalized_date_after
. An example curl command 德monstrates how to retrieve 恩tries finalized after 2019-12-31.
curl -H "X-CDD-Token: $TOKEN" -X GET
"//app.aslsw.com.cn/api/v1/vaults/<vault_id>/eln/entries?
finalized_date_after=2019-12-31"
Without the async=true
parameter, the above curl command returns:
{
"count": 1,
"offset": 0,
"page_size": 50,
"objects": [
{
"id": 1111,
"name": "Entry: 1111 - Data for submission",
"status": "finalized",
"author": {
"id": 6021,
"first_name": "First",
"last_name": "Last"
},
"url": "//app.aslsw.com.cn/vaults/<vault_id>/eln/entries/1111"
}
]
}
值得注意的提示
1. To retrieve a specific set of 埃尔恩 恩tries based by IDs use the eln_entries
parameter.
//app.aslsw.com.cn/api/v1/vaults/<vault_id>/eln/entries?eln_entries=1111,2222
2. To search by “author
”, you must provide the user ID and not a user’s name.
//app.aslsw.com.cn/api/v1/vaults/<vault_id>/eln/entries?author=999&async=true
The GET 用户数
API call will return all user IDs for a specific Vault. User IDs are also returned when the async parameter is omitted in the GET 埃尔恩 Entries
call (see the “author” section of the JSON).
3.需要“ async”参数来检索您的ELN条目的ZIP导出。举例来说,以下GET API调用将返回一个导出ID,然后可以使用 GET Exports
API调用。
//app.aslsw.com.cn/api/v1/vaults/<vault_id>/eln/entries?finalized_date_after=2019-12-31&async=true