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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Viewing PDF/documents inside experience

GianVal
15-Moonstone

Viewing PDF/documents inside experience

Hello, I'm trying to view pdf documents via ionic popups into the experience, but it seems to show them only in the strange and small area you can see in the attachment. I also tried to change some popup CSS settings but I didn't find a way to solve this issue. any advice? many thanksSenzanome.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
VladimirN
24-Ruby II
(To:GianVal)

 Hi,

 

There was a similar question before - "PDF View into experience": https://community.ptc.com/t5/Vuforia-Studio/PDF-View-into-experience/td-p/504419 

View solution in original post

3 REPLIES 3
VladimirN
24-Ruby II
(To:GianVal)

 Hi,

 

There was a similar question before - "PDF View into experience": https://community.ptc.com/t5/Vuforia-Studio/PDF-View-into-experience/td-p/504419 

GianVal
15-Moonstone
(To:VladimirN)

Thank you. In my case i solved with these settings:

.my-custom-alert .popup {
    // min-width: 800px;
    border-radius: 0;
    width: 90%;
    scroll-behavior: auto;
    position: absolute;
}
$ionicPopup.alert({

        cssClass: 'my-custom-alert',
        title: "Documento parte",
        template: '<iframe src="app/resources/Uploaded/document.pdf#zoom=50" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="600px" width="800px" allowfullscreen></iframe>',
        okText: "Close",
    })
VladimirN
24-Ruby II
(To:GianVal)

I'm glad you solved your problem.

Top Tags