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

Iframe and visual force

Hi Friends,


I have an Html file and I am extracting some data dynamically from the database and passing it to the HTML file.In the Html file I have two text fields in which I want to show he extracted vaalues.However  I have not been able to show those values.


Does any one knows how to do that,Any ideas are most welcome.?

Below give is what I am doing 


Testapp.html file is the file to which I am sending data


<apex:iframe src=" parameter1=Hello&parameter2={!account.Name}  height="700" width="100%"/>




Geetha ReddyGeetha Reddy

Hi Trick,

Do you want to pass values using query string parameters?

If so use {!$}


Hi Geetha,


When I try your suggestion it give me the below given error


Field $account.Name does not exist. Check spelling.


Below given is what I Am trying to accomplish:-

<apex:iframe src=" parameter2={!account.Name}&accountid={!}" height="700" width="100%"/>


Basically I have two text fields on the page and I am passing some values to these fields .However,I do not see these values in the text box.


Any help will be appreciated?


I think it has got something to do with the Iframe.I am not sure if Iframe allows this functionality?







Geetha ReddyGeetha Reddy

<apex:iframe src=" parameter2={!$account.Name}&accountid={!$}" height="700" width="100%"/>


copy and try it once.


Hi Getha,


I tried after copying, it still gives me the same error:

Field $ does not exist. Check spelling