Question

Save 'Connected to' schema as image

How would it be possible to save 'Connected to' schema as image or pdf? We need to save versions of Account relationship for history

 

Thank you!

Like 1

Like

1 comments

Just an idea, if you can get html2canvas to work as a module in Creatio, it can save part of the rendered HTML as an image. See https://html2canvas.hertzen.com

It's easy enough to use, something like

html2canvas(#divOfConnectedToElement).then((canvas) => {
    const base64image = canvas.toDataURL("image/png");
    window.location.href = base64image;
    // you could pass the bytes to a configuration service to save 
    // as attachment or use FileApiService
});

However, you'd likely need to wrap the html2canvas up in a module to use.

Ryan

Show all comments