Way to link into iframes in Hub Pages?

248
2
10-16-2024 03:05 PM
ChrisHarvey-SavageSHA
New Contributor

Is there a way to open a link from elsewhere on a Hub page in an existing iframe element on the same page?

I am able to locate the iframe id generated when the element is added to a page, but setting the link target to the iframe merely opens the link in a new tab. Furthermore, using the <iframe> tag in a text element doesn't seem to work either; it gets translated into a simple text string. It seems that the iframe element is intended to be used here, but it's very rigid in its deployment and does not seem to support what I want to do.

That said, I play around with web development only part-time, so maybe I am missing something or it's just a gap in my knowledge.

Is there a way to achieve what I am hoping to?

Tags (3)
0 Kudos
2 Replies
NFlourish
Frequent Contributor

I do not think Hub itself is supportive of this workflow. You can probably get close to what you want by embedding an Experience Builder or Dashboard into the Hub page that itself has an iFrame in it and that the ExB or Dashboard app changes using a live data link in the URL parameter of the iFrame.

0 Kudos
ChrisHarvey-SavageSHA
New Contributor

Thanks for the reply; sadly I'm looking for a solution to tie button links to an iframe. The research I've done since posting this agrees with your assessment; it seems like the Hub framework just doesn't support this.

0 Kudos