Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

How can I capture a screenshot of a webpage in iframe on CRM form and save it to sharepoint ?

Posted on by Microsoft Employee

I want to capture a screenshot of a webpage in iframe on CRM form  and save it to sharepoint.  Can i use html2canvas? or is there any other way?

*This post is locked for comments

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: How can I capture a screenshot of a webpage in iframe on CRM form and save it to sharepoint ?

    Hi

    Do you have the Sharepoint integrated with CRM via Server Side Integration? If so, you could consider create a note with image attachment and move the note attachment to Sharepoint using Flow.

    Please follow the link below

    community.dynamics.com/.../part-2-use-microsoft-flow-to-move-notes-attachments-from-dynamics-365-to-sharepoint

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How can I capture a screenshot of a webpage in iframe on CRM form and save it to sharepoint ?

    Thanks for your reply Kokulan.

    I am able to take a screenshot of the web page using html2canvas but I have to save the captured screenshot to SharePoint using JavaScript. How can i achieve this?

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: How can I capture a screenshot of a webpage in iframe on CRM form and save it to sharepoint ?

    i have not done that before but have a look at these links below if these are of any help

    github.com/.../iframe2image

    www.kubilayerdogan.net/html2canvas-take-screenshot-of-web-page-and-save-it-to-server-javascript-and-php

    stackoverflow.com/.../codemirror-html2canvas-save-iframe-as-image

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How can I capture a screenshot of a webpage in iframe on CRM form and save it to sharepoint ?

    I want to capture the screenshot of a webpage displaying in IFrame on CRM form using javascript in html webresource using two buttons one is for taking screenshot and another one is for saving the screenshot to sharepoint.

  • Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: How can I capture a screenshot of a webpage in iframe on CRM form and save it to sharepoint ?

    Where do you want to do this from? From javascript triggered by a button or event or do you want to do this using a Web Driver like the Selenium?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans