Page 1 of 1
HTML Content : Embedded from Column
Posted: 05 Dec 2016
by Jean-Philippe Tremblay
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
Re: HTML Content : Embedded from Column
Posted: 06 Dec 2016
by YuriyMedvedev
Hi! Just add HTML with this content:
<iframe width="853" height="480" src="{@EmbeddedHTML}"></iframe>
And set CDATA to "False".
Re: HTML Content : Embedded from Column
Posted: 06 Dec 2016
by Jean-Philippe Tremblay
Hi,
I tried and nothing appears.
Do i need to change my column type? Single line text? Hyperlink?
Thanks again for your help
Re: HTML Content : Embedded from Column
Posted: 07 Dec 2016
by Dmitry Kozlov
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.
Re: HTML Content : Embedded from Column
Posted: 08 Dec 2016
by Jean-Philippe Tremblay
Perfect

Problem solve !
Thanks again
Re: HTML Content : Embedded from Column
Posted: 28 Dec 2016
by Jean-Philippe Tremblay
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
Re: HTML Content : Embedded from Column
Posted: 29 Dec 2016
by Dmitry Kozlov
Hi,
Please, try this code:
<iframe width="853" height="480" src="{substring-before(@EmbeddedHTML, ',')}"></iframe>
Re: HTML Content : Embedded from Column
Posted: 29 Dec 2016
by Jean-Philippe Tremblay
Thanks! It work like a charm
