Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

create document via CMIS REST API

Evgeniy SNov 12 2015 — edited Nov 19 2015

Hello! I would like to integrate my java application with Oracle Webcenter via CMIS REST API. I can read,delete documents, but have problem with creation one.

I get success only when I create document(type = "/ucmserver/IDC:GlobalProfile") with name "idcPrimaryFile". In other cases I have exception:

oracle.webcenter.content.integration.RepositoryException: Nov 12, 2015 8:52:06 AM oracle.webcenter.content.integration.spi.ucm.DocumentManager mapBinaryPropertiesToTransferFile

SEVERE: Unable to perform action on document with binary because the binary name and node name must be the same, but they are not.  The binary name is XXX and the file name is idcPrimaryFile

My properties:

properties = [

            (PropertyIds.OBJECT_TYPE_ID): type,

            (PropertyIds.NAME): name,

            "/ucmserver/IDC:GlobalProfile.ora:p:dDocType": "Application",

            "/ucmserver/IDC:GlobalProfile.ora:p:dDocTitle": "Test",

            "/ucmserver/IDC:GlobalProfile.ora:p:dSecurityGroup": "Public",

          

        ]

I will be appreciate for help

This post has been answered by Evgeniy S on Nov 18 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 17 2015
Added on Nov 12 2015
15 comments
4,606 views