Combined preview of document image and metadata

I have the following usecase:
I need a quick way to compare the content of a document and its metadata, e.g. validate an invoice and the OCRed/manually inserted metadata values. As screen sizes increase, there would be the possibility to display the document preview and the metadata side-by-side (nice-to-have addon: having a slider in the middle to adjust the ratio).

Or do you have best practices how you compare/validate metadata values extracted from the document without the need to open a new browser window?

1 Like

I wished for something like this so many times. I don’t have any real good alternative. I use separate browser windows side by side. It’s less then ideal of course…

We are slowly movings toward that. If you look at the articles describing upcoming features (https://forum.mayan-edms.com/docs?topic=2530) besides the isolation of the view code in Python, we have also been further isolating the JavaScript elements into components and these last two versions included changes that are even isolating Bootstrap and the custom CSS into their own app.

This approach has been critized and described as too mechanic due to a lack of understanding about large scale development. Reusability and modularity are very important for the longevity of a project and with a bit more effort also allows a broader range of customization options for the user. We are in the second stage of that approach.

Mayan interface system is already very modular but we have been pushing that idea even further with the goal of allowing users to build their own custom “things” (can’t detail just yet) without having to write custom code.

To summarize, it is possible but requires writing a custom app to enable the components. For reference inspect the Multiform view used by the staging folder view during uploads which has a submission form and a list view with previews in the same screen.

3 Likes

This topic was automatically closed 4 hours after the last reply. New replies are no longer allowed.