Taking a screen shot of the page using a button

Hey guys, we have a requirement from the clients that they want to be able to take a screenshot of the page using a button, save it in a file data source, and later use it when needed. Is it possible to do it?

Hi!

You can try to use the html2pdf library and put the whole page in a container with a custom Element ID.

This is documented here: https://docs.appfarm.io/how-to/enhance-your-app/generate-pdf-from-container

Hope this helps!

1 Like