Using on a Web Form
Use SharinPix in your own webform
Structure of the Webform
Visualforce Page
<iframe src="{! url }" height="400px" width="100%" style="border: 0"/>Apex Controller
Map<String, Object> claims = new Map<String, Object> {
'abilities' => new Map<String, Object> {
albumId => new Map<String, Object> {
'Access' => new Map<String, Object> {
'see' => true,
'image_list' => true,
'image_upload' => true,
'image_delete' => true,
'image_crop' => true,
'image_rotate' => true,
'image_annotate' => true
}
}
}
};
url = 'https://app.sharinpix.com/pagelayout/' + albumId + '?token=' + sharinpix.Client.getInstance().token(claims);
}
Last updated
Was this helpful?

