简体   繁体   English

Oracle UCM-在自定义目录下存储和检索文档

[英]Oracle UCM - Storing and retrieving document under custom directory

I am new to Oracle WebCenter Content (Formerly known as Oracle UCM). 我是Oracle WebCenter Content(以前称为Oracle UCM)的新手。

I am looking from the integration of UCM to third party application perspective only to retrieve and store the document. 从UCM与第三方应用程序的集成角度来看,我只是在寻找和存储文档。 I have went through the details about WSDL Generator and also collected the set of SOAP API require to perform check-in and other operations. 我详细介绍了WSDL Generator,并收集了执行检入和其他操作所需的SOAP API集。

We are not going to use UCM directly to store and retrieve the document rather from third party application to store and retrieve the documents (PDF). 我们不会直接使用UCM来存储和检索文档,而是要使用第三方应用程序来存储和检索文档(PDF)。 I have following basic set of questions: 我有以下基本问题:

  1. Does UCM store my documents under Weblayout directory? UCM是否将我的文档存储在Weblayout目录下?
  2. How would I store documents under specific directory using Check-in SOAP API? 如何使用Check-in SOAP API将文档存储在特定目录下? (Ie If I want to store document under "IT Department" Directory.) Which field I can use to mention the location in wsdl? (即,如果我想将文档存储在“ IT部门”目录下。)我可以使用哪个字段来提及wsdl中的位置?
  3. When I search the document, does it return or can I get the location of the document in search result? 当我搜索文档时,它返回还是可以获取搜索结果中该文档的位置?

OOTB, UCM stores your original doc in the Native directory and a copy in weblayout - converted to web viewable format if you have IBR enabled. OOTB,UCM将原始文档存储在本机目录中,并将副本存储在weblayout中-如果启用了IBR,则转换为Web可见格式。 Use a storage rule based on the storage rule metadata field to determine where to store docs based on metadata. 使用基于存储规则元数据字段的存储规则来确定基于元数据的文档存储位置。 See more info here . 在此处查看更多信息。

When executing a search, you should receive back a field DocUrl which contains the URL to the content item. 执行搜索时,您应该返回一个DocUrl字段,其中包含内容项的URL。 However, this URL can break if certain metadata changes (such as dSecurityGroup or dDocType). 但是,如果某些元数据发生更改(例如dSecurityGroup或dDocType),则该URL可能会中断。

A better idea is to use GET_FILE and either the dID or the dDocName (and RevisionSelectionMethod). 一个更好的主意是使用GET_FILE和dID或dDocName(和RevisionSelectionMethod)。

Additional reading on the FileStoreProvider and how URLs are calculated can be found here . 有关FileStoreProvider的其他阅读以及如何计算URL,可以在这里找到。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM