Opened 3 years ago

Closed 3 years ago

#923 closed improvement (fixed)

Ability to update document properties via CMIS during checkin

Reported by: Blucecio Owned by:
Priority: minor Milestone: 8.2.1
Component: CMIS Version: 8.2
Keywords: Cc:


Perform a document update that changes both the properties and the content with only one version increment.
At least the method should allow to change a basic property like filename

See ticket 5114

Change History (1)

comment:1 Changed 3 years ago by car031

  • Resolution set to fixed
  • Status changed from new to closed

Now you can use a 0.10.0 client and fill the properties map:

Document pwc = (Document) object;
ObjectId? oid = pwc.checkOut();

FileInputStream? fis = new FileInputStream?(myFile);
Map<String, Object> properties = new HashMap?<String, Object>();
pwc.checkIn(false, properties, contentStream, "minor version");

Note: See TracTickets for help on using tickets.