How to bypass the 'Validation of Cookie Usage' error when using a SharinPix component in an Iframe?
Description of the error
Traditionally, the Iframe syntax used to embed a SharinPix component was as follows:
<apex:page standardController="Account" extensions="GetToken">
<iframe id="iframeId" class="sharinpix-iframe" src="https://app.sharinpix.com/?token={! SharinPixToken }"></iframe>
</apex:page>
Click to copy
However, some devices encountered a cookie-based error as depicted in the image below:
Solution: Use of the postMessage method
To overcome this issue, SharinPix adopted the use of the postMesssage method. For more detailed information about how to use the postMessage method to bypass the error, click on the link that follows:
0 Comments
Add your comment