NF9 Media View Interface

From iDempiere en
(Redirected from NF9.1 Media View Interface)

Feature: Media View Interface for Report and Attachment Viewer

Goal: Development

Developer: Hengsin (talk)

Feature Ticket: IDEMPIERE-4801

Description: Add media view interface for Report and Attachment Viewer. This allows plugin to provide custom viewer by content type and file extension. As part of the ticket, an implementation for excel file base on keikai.io have been added to core.

Development

  1. Create an OSGi component for the org.idempiere.ui.zk.media.IMediaViewProvider interface.
  2. Create concrete implementation of org.idempiere.ui.zk.media.IMediaView interface.
  3. Use service.ranking > 0 to override core viewer implementation (For e.g, to provide excel viewer using LibreOffice Online).
  4. See org.idempiere.keikai project for reference.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.