HTML Content : Embedded from Column
- Jean-Philippe Tremblay
- Posts: 8
- Joined: Sun Dec 04, 2016
My Form have HTML Content. Each item in my list have the embedded HTML to display : The content is different for each Item. I have a Column that store the information : EmbeddedHTML that contain the following : (The bold and underline is the text who change each time.)
<iframe width="853" height="480" src="https://my.matterport.com/show/?m=KraFkFFK578&brand=0" frameborder="0" allowfullscreen></iframe>
How can i link my column into the HTML Content?
Thanks again
<iframe width="853" height="480" src="https://my.matterport.com/show/?m=KraFkFFK578&brand=0" frameborder="0" allowfullscreen></iframe>
How can i link my column into the HTML Content?
Thanks again
-
- Moderator
- Posts: 33
- Joined: Wed Sep 21, 2016
Hi! Just add HTML with this content:
<iframe width="853" height="480" src="{@EmbeddedHTML}"></iframe>
And set CDATA to "False".
<iframe width="853" height="480" src="{@EmbeddedHTML}"></iframe>
And set CDATA to "False".
- Jean-Philippe Tremblay
- Posts: 8
- Joined: Sun Dec 04, 2016
Hi,
I tried and nothing appears.
Do i need to change my column type? Single line text? Hyperlink?
Thanks again for your help
I tried and nothing appears.
Do i need to change my column type? Single line text? Hyperlink?
Thanks again for your help
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
What's the current type of the field? Make sure that you're using the insternal name in the field in the code. Also, ensure that CDATA property is set to False.
- Jean-Philippe Tremblay
- Posts: 8
- Joined: Sun Dec 04, 2016
I use Hyperlink Field in Sharepoint to store my Data, When i use it in HTML (@MyInternalName), they use the link + Description, so i got a error. I need to use only the link.
I did a Javascipt variable to get only the link but i cant pass it into the HTML Code.
Any Idea?
Thanks again
I did a Javascipt variable to get only the link but i cant pass it into the HTML Code.
Any Idea?
Thanks again
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Please, try this code:
<iframe width="853" height="480" src="{substring-before(@EmbeddedHTML, ',')}"></iframe>
Please, try this code:
<iframe width="853" height="480" src="{substring-before(@EmbeddedHTML, ',')}"></iframe>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests