function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sam CloutierSam Cloutier 

Need help with an iframe please.

I'm pretty new to this and have been given a task.  I am creating a page that will simply open a URL in an iframe.  I have this so far.

<apex:page >
<apex:iframe src="http://my.page.com/#/home/" id="MyPage" />
</apex:page>

This works fine, but I need to pass a piece of information.  My intention is to launch this page from the account record in Salesforce via a button.  I need to add value from a custom field on the account to the end of the URL above, so the that the URL
looks like http://my.page.com/#/home/value 

I am at a loss for how to accomplish this.  The searches I've done don't seem to match what I'm looking for, any assistance would be greatly appreciated.
BDatlaBDatla
Hi Sam,
Please try the below code
<apex:page >
<apex:iframe src="http://my.page.com/#/home/ id={!account.Name} "/>
</apex:page>