You need to sign in to do that
Don't have an account?
Gab Silvermotion
Load html code or iFrame using buttons & onclick javascript?
Hello! We started using a booking solution and they have a bunch of way we can add this to our website and marketing emails and we did. I'd love to place that widget on my opportunity layout. is there a way to do this?
This is what the code looks like.:
This is what the code looks like.:
Website (HTML) <img id="scheduling-12773625" src="https://www.agendize.com/web//img/scheduling_en.gif" onclick="openScheduling(12773625)" style="cursor : pointer; border: 0"/> <script type="text/javascript">var scheduling = {server: 'www.agendize.com', button: '16065759', lang: 'en'};</script> <script type="text/javascript" src="https://www.agendize.com/web/scheduling.js"></script> iFrame <iframe src="https://www.agendize.com/book/iframe/12773625?lang=en" frameborder="0" style="width: 750px; height: 510px; border: 0" marginwidth="0" scrolling="auto"></iframe>
What you can do is embed a Visualforce page in your opportunity layout that embeds the iframe the page itself can then use the apex:iframe tag. A very simple example of this is:
As this page uses the opportunity standard controller, you can add it to the page layout.