Honored Contributor.. Honored Contributor..
Honored Contributor..

Problem triggering TRIM-Office integration in PowerPoint - CM 9.3.2

Wondering if anyone can see where I'm going wrong here or point me in the right direction.

We have an in-house developed addin for Office 2013 which includes a button in the ribbon that saves a document as a new revision if it's been opened to view (read only) and then checks it out to allow the user to keep editing.

General process is:

  1. Identify the record and confirm that it's not checked out elsewhere or has been modified since the current user opened it etc
  2. Save a copy of the read-only document
  3. Check in the copy as a new revision
  4. Check it out to offline records
  5. Close the read-only document and open the checked out version

For Word and Excel, this triggers the CM Office integration and kicks off the monitoring of the document so it will check in when the user closes it.  

But it's not working for PowerPoint. Does anyone know why?

Just posting this question in case someone knows that PowerPoint is different and that it needs 'x' to get it to work. Relevant snippets of code below.

// Saving the document that's been opened as read only

// Add this as a new revision
trimRecord.SetDocument(new InputDocument(tempfile), true, false, "");

// Check out the new revision to work on
var offlineRecord = new OfflineRecord(trimRecord, true);

// Word - closeAndReopen

// Excel - closeAndReopen

// PowerPoint - closeAndReopen




Labels (2)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.