# Iframe component in Perspective Workstation

**URL:** <https://forum.inductiveautomation.com/t/iframe-component-in-perspective-workstation/88566>\
**Category:** Ignition\
**Tags:** workstation, perspective\
**Created:** [April 9, 2024, 8:18am UTC](https://forum.inductiveautomation.com/t/iframe-component-in-perspective-workstation/88566 "2024-04-09T08:18:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michal\_Goralczyk](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michal_goralczyk/32/55564_2.png) [@Michal\_Goralczyk](https://forum.inductiveautomation.com/u/Michal_Goralczyk)\
**Post date:** [April 9, 2024, 8:18am UTC](https://forum.inductiveautomation.com/t/iframe-component-in-perspective-workstation/88566/1 "2024-04-09T08:18:36Z")

</div>

Hello,

I have a question regarding the Iframe component. I have placed a view that is available when I use SCADA through my browser. However, when I run it in Workstation in kiosk mode the window is empty. There is nothing in it, not even an error or view error message. What could be the cause?

Greetings  
Michał

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 9, 2024, 8:23am UTC](https://forum.inductiveautomation.com/t/iframe-component-in-perspective-workstation/88566/2 "2024-04-09T08:23:30Z")

</div>

> [@Michal\_Goralczyk](#):
>
> uruhcomed

Is that Polish for "run"?

Does the site allow wrapping in an IFrame?

> [@iFrame not working on session](https://forum.inductiveautomation.com/t/iframe-not-working-on-session/86676/7):
>
> Have you verified that the site you are trying to wrap in an IFrame allows wrapping in an IFrame? With the appropriate headers? Either an X-Frame-Options header (but that's now obsolete) or a Content-Security-Policy header? If not, you will not be able to use an IFrame.

---

<div class="post-metadata">

**Author:** ![Michal\_Goralczyk](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michal_goralczyk/32/55564_2.png) [@Michal\_Goralczyk](https://forum.inductiveautomation.com/u/Michal_Goralczyk)\
**Post date:** [April 9, 2024, 8:30am UTC](https://forum.inductiveautomation.com/t/iframe-component-in-perspective-workstation/88566/3 "2024-04-09T08:30:44Z")

</div>

> [@Transistor](#):
>
> Is that Polish for "run"?

Yes sorry, my bad

I haven't tested this I assumed that since it works on a browser it should also work on a Workstation

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 9, 2024, 8:40am UTC](https://forum.inductiveautomation.com/t/iframe-component-in-perspective-workstation/88566/4 "2024-04-09T08:40:53Z")

</div>

Do a test. Save the code below into a text file 'iFrame.html' on your local drive. Open it in the browser. You should see the NeverSSL home page.

```auto
<html>
  <head>
    <title>IFrame test</title>
  </head>
  <body>
    <iframe 
	  src="http://neverssl.com" 
	  title="My IFrame test"
	  width = "100%"
	  height = "100%"
	>
	</iframe>
  </body>
</html>

```

Edit it and put in the URL of the site you are trying to IFrame and see if it works. If not then the site isn't allowing it.

> **[HTML iframe tag](https://www.w3schools.com/tags/tag_iframe.ASP)**
>
> W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

---

<div class="post-metadata">

**Author:** ![Michal\_Goralczyk](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michal_goralczyk/32/55564_2.png) [@Michal\_Goralczyk](https://forum.inductiveautomation.com/u/Michal_Goralczyk)\
**Post date:** [April 9, 2024, 9:36am UTC](https://forum.inductiveautomation.com/t/iframe-component-in-perspective-workstation/88566/5 "2024-04-09T09:36:10Z")

</div>

Ok, I pasted my link into this html extension and I got a message that the server rejected the connection. In that case, why does the IFrame component work in SCADA on the browser and not work on the workstation?

If I understand this method correctly, it means that the Iframe should not work at all on SCADA in the browser?

But testing your html page actually seems to work on both browser and Workstation:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/c/1c3a5e028c778109d3e42608c37efa7e806b9f6b.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/f/0f74d589ee5f55f1c6b89e37ee5af1ec6d64c2f3.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 9, 2024, 11:07am UTC](https://forum.inductiveautomation.com/t/iframe-component-in-perspective-workstation/88566/6 "2024-04-09T11:07:02Z")

</div>

What do you mean when you say "SCADA"? Is this some other system?

---

<div class="post-metadata">

**Author:** ![Michal\_Goralczyk](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michal_goralczyk/32/55564_2.png) [@Michal\_Goralczyk](https://forum.inductiveautomation.com/u/Michal_Goralczyk)\
**Post date:** [April 9, 2024, 11:20am UTC](https://forum.inductiveautomation.com/t/iframe-component-in-perspective-workstation/88566/7 "2024-04-09T11:20:19Z")

</div>

Ignition perspective

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 9, 2024, 11:27am UTC](https://forum.inductiveautomation.com/t/iframe-component-in-perspective-workstation/88566/8 "2024-04-09T11:27:22Z")

</div>

OK. On the Ignition forum you should call it the "Perspective client" to avoid confusion.

I don't use Workstation so someone else will have to help you.

---

<div class="post-metadata">

**Author:** ![Michal\_Goralczyk](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michal_goralczyk/32/55564_2.png) [@Michal\_Goralczyk](https://forum.inductiveautomation.com/u/Michal_Goralczyk)\
**Post date:** [April 9, 2024, 1:18pm UTC](https://forum.inductiveautomation.com/t/iframe-component-in-perspective-workstation/88566/9 "2024-04-09T13:18:47Z")

</div>

You're right, thanks
