Hi
I am new to documentum rest services.
Could you please help me how to load documents in to repository using documentum rest.
Thanks In advance
Thanks Alvaro, and specifically .
Can you let me know how to set the attribute values for single and repeating attributes.
I need to import multiple files.
Hi Thilahi, here is a JSON request sample for properties.
{"properties":{"r_object_type": "dm_document", "object_name": "readme.txt", "keywords": ["k1", "k2", "k3"]}}
If you want to import multiple files for a new document, you need to use Documentum REST Services 7.3. Here is a link to a Postman sample: EMC Community Network - DECN: Creating multiple objects in Documentum through Documentum Rest services.
Hi while importing a document I am using the below syntax to set the attribute value for non repeating attribute.
I need syntax to set repeating value attribute.
String Json="{\"properties\":{\"object_name\":\"testdocument\",\"r_obect_type\":\"dm_document\"}}";
Hi William,
I have the a requirement to get document from external system and store in to content server using documentum rest services.
As I dont understand the given link:
Please let me know if there is any tutorial or sample excessive will help us to develop easily.
Please notice the keywords attribute setting in the above sample.
"keywords": ["k1", "k2", "k3"]
So you want to import content files from an external storage system to Content Server as contentful document objects? is exactly what you can refer to.
If you are looking for language samples of issuing multipart requests, you can refer to Java, .NET, JavaScript or other code samples here: GitHub · Documentum REST Services
Please use the below syntax to set the repeating attribute, it is working.
String json = "{\"properties\" : {\"object_name\" : \"REST DOCUMENT- TXT\", \"r_object_type\" "dm_document\",\"keywords\":[\"test\",\"test1\"]}}";
I am using xCP Rest service calling from Java client code: http://<localost>:<port>/xcp-application/process/rt_restupload.
Process contain create content Auto activity, from Java code I am able to send the Process variables but not the attachment.
Please let me know how to pass attachment to above URL as package to process.
Please refer to xCP REST reference guide on the guidance of importing the attachment. I am not aware of its spec. If it's a multipart HTTP request format, it's recommended to use some HTTP client library, like Apache HttpComponents.