We are trying to copy document from SharePoint Online document library to documentum(DCTM) repository using REST API (MS-Flow).

Right now we are able to create document to documentum(DCTM) with properties but file copy/created with 0 KB. we are unable to copy file content, Can anyone please suggest which parameter we are missing for copy file content in body.

{"properties":{"r_object_type": "pet_document", "object_name": "@{triggerBody()?['{Name}']}","physical_location" : "@{triggerBody()?['PrimaryLocation']}"}} "file" : @{body('Get_file_content')}

enter image description here

  • Can you share the screen shot or code snippet of file creation block – Sunil Sahu Jun 12 '19 at 6:58
  • Hi Sunil, Please find attached screen shot for your reference – Sachin Shinde Jun 12 '19 at 7:29
  • Hi, this will likely get flagged for being off-topic as the issue is with a 3rd party. – James Randal Jun 12 '19 at 7:43
  • Hi James, Yes, we are just expecting or rather checking with people that we are giving correct header and body as we are able to copy/create file with metadata but unable to copy file content – Sachin Shinde Jun 12 '19 at 8:29
  • Why don't you use 'create a file' action from MS Flow – Sunil Sahu Jun 12 '19 at 10:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.