cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Pdf within a popup

Aquamarine

Pdf within a popup

Hello,

 

I am looking at the possibility of opening a pdf ( maybe within a Popup Widget ) within the experience.

 

The current option I have is to launch a pdf by clicking on a file Widget but the problem is that this will end up the opening the file in a separate window which is not desirable.

 

Look forward to your kind responses.

 

Avinash

3 REPLIES 3

Re: Pdf within a popup

Good afternoon agangaiah,
Try using a function:

$scope.open_PDF = function(){
window.open(<path to PDF file>); }

With this you can create the button with the icon you want and insert the function call in the action click this button
 

 

Re: Pdf within a popup

Hi,

 

Thanks for the kind revert. But this will open up the pdf in a new window, right?

 

My requirement is to open the pdf within the view experience.

 

Avinash

Re: Pdf within a popup

hi agangaiah,

 

Exact!

 

With this function it opens another window as it uses some existing PDF reader on your device.
In case of opening for example a popup with PDF I do not know.

 

🙂

Announcements
Topics available:
AR/VR for Data Optimization AR/VR for Security and Control AR/VR for Inspection