[Vtigercrm-developers] Anyone else seeing issues with PDF Preview in vt7? [SCAN_OK]
Conrado Maggi
comaggi at gmail.com
Thu Aug 10 12:24:56 GMT 2017
Hi Alan,
That button use PDF.js that parse the file from the server. I think you
could add some token to the URL and use that token in the htaccess or
something similar.
Another option is to replace the URL by the server path, not sure if the
library allows this
Conrado
On Wed, Aug 9, 2017 at 2:12 PM, Alan Lord <alanslists at gmail.com> wrote:
> On 09/08/17 12:43, Conrado Maggi wrote:
>
>> I don't think the PDF viewer has access to vtiger backend.
>>
>> If I understand correctly, the PDF viewer is a browser feature that
>> download the PDF and open it in a new tab
>>
>> Or are you referring to something else?
>>
>
>
> If you look at a list of Documents and click the "..." on the left, an
> option is called "File Preview".
>
> This opens a modal jQuery dialog but it is not a new tab or window as
> such... Presumably this is done via an Ajax call so it _is_ possible to
> determine who the vtiger user is and if they are able to view the file.
>
> I think ;-)
>
>
> Alan
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20170810/a5ed0d3f/attachment.html>
More information about the vtigercrm-developers
mailing list