Viewing PDF/documents inside experience
Jan 26, 2022
06:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jan 26, 2022
06:12 AM
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 thanks
Solved! Go to Solution.
Labels:
- Labels:
-
Best Practices
-
Coding
-
Design
ACCEPTED SOLUTION
Accepted Solutions
Jan 26, 2022
08:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jan 26, 2022
08:43 AM
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
3 REPLIES 3
Jan 26, 2022
08:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jan 26, 2022
08:43 AM
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
Jan 26, 2022
10:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jan 26, 2022
10:28 AM
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",
})
Jan 27, 2022
02:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jan 27, 2022
02:58 AM
I'm glad you solved your problem.
