Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31852

Add an extension point to configure the properties returned by checkFileInfo

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2021.0
    • Fix Version/s: 2021.40, 2023.1
    • Component/s: WOPI
    • Release Notes Summary:
      Allow to update properties returned by the CheckFileInfo WOPI call
    • Release Notes Description:
      Hide

      You can now contribute a class to the WOPIService to be able to update the default computed properties returned by the CheckFileInfo WOPI call

      <extension target="org.nuxeo.wopi.WOPIService" point="checkFileInfoUpdater">
        <checkFileInfoUpdater class="org.nuxeo.wopi.MyCustomCheckFileInfoUpdater" />
      </extension>
      

      The new class must extend org.nuxeo.wopi.CheckFileInfoUpdater and implement the only method Map<String, Serializable> update(Map<String, Serializable> checkFileInfoProperties). This method will be called just before returning the computed properties to Office Online allowing to update any property.

      Show
      You can now contribute a class to the WOPIService to be able to update the default computed properties returned by the CheckFileInfo WOPI call <extension target= "org.nuxeo.wopi.WOPIService" point= "checkFileInfoUpdater" > <checkFileInfoUpdater class= "org.nuxeo.wopi.MyCustomCheckFileInfoUpdater" /> </extension> The new class must extend org.nuxeo.wopi.CheckFileInfoUpdater and implement the only method Map<String, Serializable> update(Map<String, Serializable> checkFileInfoProperties) . This method will be called just before returning the computed properties to Office Online allowing to update any property.
    • Backlog priority:
      700
    • Sprint:
      nxplatform #88, nxplatform #89, nxplatform #90, nxplatform #91
    • Story Points:
      3

      Description

      It may be interesting to have the ability to configure the CheckFileInfo properties used as part of the WOPI protocol with Office

      https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/online/scenarios/customization?source=recommendations#customizing-the-office-for-the-web-viewer-ui-using-checkfileinfo

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: