Skip to main content
Skip table of contents

ibihelpme_CreateScreenshot

Signature

ibihelpme_CreateScreenshot(): string

DescriptionInitializes creation of a screenshot
Available from API version1.0.0

Parameter

No parameters required

Return value

string

JSON object in the following:

CODE
{
 "id": "F76433A2-D0C0-492C-ACB4-73D9C712F8C0", 
 "creationDate":"2017-01-31T13:23:01.000",
 "data":"data:image/png;base64,..."
}

id: string
Unique ID of the screenshot object

creationDate: string
Creation date in ISO8601 format (YYYY-MM-ddThh:mm:ss.xxx)

data: string
In base64 encoded png image

Example

JS
var screenshotObjectSerialized = window.external.ibihelpme_CreateScreenshot();
 
var screenshotObject = JSON.parse(screenshotObjectSerialized);
 
var imgScreenshot = document.getElementById('imgScreenshot');
 
if(imgScreenshot)
	imgScreenshot.src = screenshotObject.data;
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.