cancel
Showing results for 
Search instead for 
Did you mean: 

Path in IFrame

Former Member
0 Kudos

Hi All,

I have an IFRAME and i want to display a HTML file in iframe. Please let me know how to link the both ?

I am trying to give as "c://Document and settings/username/desktop/filename" but its throwing runtime exception as Invalide URL.

Please let me know how to find out the path of my HTML fine to link in to Iframe.

-Pavan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Pavan,

Copy the html file to the following directory and paste it there.

Workspace>project name>src>mimes>components-->package name.

And provide the name of the Html file with extension in the property "source" of the Iframe UI element. You can get the work space Windowspreferencesworkbench--workspace from the NWDS.

Thanks & Regards,

Yusuf.

Former Member
0 Kudos

Thanks for ur reply i will try this method.

Former Member
0 Kudos

hi Yusuf,

I tried by placing the HTML file in

C:\ workspace\projectname\_comp\src\mimes\Components\ myHTMLfile.html

and entered only "myHTMLfile.html" in Source property of Iframe, but its giving me error as Requested resourse not found. Please le t me know if i am doing rite ?

Thanks,

Pavan

Former Member
0 Kudos

Hi Yusaf,

I am getting resourse not found error message when i place the HTML file in Src/mimes/components folder and give the HTML file name in the source property of IFRAME. Can you please let me know how to link the HTML file to IFrames.

Thanks,

Pavan

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi PavanKumar

Refer this:

[]

&

[]

Thanks....

former_member189631
Active Contributor
0 Kudos

Pavan,

  • Upload the file into KM and metion the file path in your inframe.

  • To upload the doc into KM

  • Add the content management role to your user id

  • Content management -> explorer -> documents -> folder -> new -> upload

Ram