How to use Universal file viewer in datagrid2 custom content?

0
I'm using one of the widget "Universal File Viewer" for Document viewer.  I've implemented the JDBC connector and wrote query for fetching the documents from particular file location and got all uploaded documents from specific location and Now all we have to do is to display it.   Now the challenge is I'm using that widget in datagrid2 but here it throws the error, Please refer,      Can anyone help?
asked
3 answers
0

first to explain why you get this error: the file viewer widget is created with an old version of how you can create widgets in Mendix which is based on the Dojo framework. Sadly widgets from this version are not compatible with the new version of creating widgets which is based on React. That means that you cannot put any Dojo widgets inside React widgets. So there is not a direct "fix" for this. 

 

You could check if a different widget might be a solution for you, I saw this one in the marketplace which might work but I havnt tried: https://marketplace.mendix.com/link/component/116214

 

The other option is to find a different solution to his where you either dont use a datagrid 2 or you use a popup or something else.

 

Hopefully that helps

answered
0

@chenga shaobo

I have implemented those points which you have mentioned in previous email,  but still I'm unable to access UFV button there.

 

 

answered
0

Here I am trying to download this addon but still the issue remain same, I went through this widget " TOF PDF Document Viewer" , trying to download from market place but there is some version mismatch issue so we can't able to download. 

image.png

answered