Skip to main content
13-Aquamarine
May 4, 2023
Question

Taking screenshot and downloading the page

  • May 4, 2023
  • 1 reply
  • 2990 views

i want to take a screenshot of a particular page, in that page there is a button, if i click the button page it should get downloaded

 

1 reply

17-Peridot
May 4, 2023

Hello,

 

What is the use case for this?
Why could you not just use the snipping tool (if you are on windows)?

 

Regards,

Jens

13-Aquamarine
May 4, 2023

Hi jens,

Use Case: I have a Mashup page, that page i want to create one download button. If i click that button, it take a corresponding page screenshot and that screenshot  to be downloaded by image or Pdf File format.   

 

I need code for that above use case. 

 

thanks And regards

Hariharasuthan

17-Peridot
May 4, 2023

Hello @Hariharasuthan,

 

I don't think there is any way of doing this out of the box with the widgets provided by PTC.

So short of creating your own widget, my suggestions would be to use either of the following two ways:

 

1. Screen shot using snipping tool (for windows).

2. In chrome, right click (or use ctrl-p) in the mashup and use the print function to save as PDF.

 

Hope this helps.

 

Regards,

Jens