Closed mailman11 closed 5 years ago
Yeah, that's right. The file must be accessible to the viewer from the Internet. Ergo it does not work with localhost.
In version 11 we had a local variant, but many people had problems configuring their unoconv appropriately and we had too much support time so we decided to use this option with version 12.
Thanks for the quick answer. Understandable, I myself was very confused while searching for solution on this issue.
First of all, i'm not odoo or python developer so I can't tell is it possible. I don't know is it common but i would suggest you an idea.
I tried to upload some files on mine OneDrive acc, so I could check if the document is even able to be shown. Uploaded it in public folder, took embed code from OneDrive and replaced it in inspector with iframe made by odoo that contained localhost and port url and it was shown.
As I said, i don't know if it's possible but prompt window in which user could fill it's own embeded code from personal drive could work on local enviroment that has connection to the Internet, but doesn't want dms on online server. Just an idea, don't mind if I wrote something that isn't possible.
Keep up the good work.
@keshrath Kindly give a suggestion, is it possible to add local variant option in version 12 same as version 11. Am using ubuntu server and mostly upload the file from local pc folder, its not working in the server too.
Hi, I'm setting up document management system for local usage and everything works fine beside of msoffice preview module. Neither of ms office files can't be loaded.
My first question is : Is it planned to work in local enviroment ? Preview part is shown but it can't load content, so there's this error on a blank page :
We can't process this request. An error occurred. We're sorry, but for some reason we can't open this for you. Learn more .
I understand that this is error message from microsoft so i looked into url for iframe and noticed that localhost and port are included in it. So i thought that this is the problem because local network can't be reached from Microsoft Office Preview, so the path is incorrect and the file can't be shown.
Am i missing some dependencies that should be installed , because i have installed all of them from github repositories. Is there a workaround for this error, or content has to be on server ?
Thanks in advance.
P.S. I'm sorry if this question came up earlier but i couldn't find it.
Cheers.