Embedding HTML code?
Hi there.
I'm trying to embed the following graph chart from TrendingView to my dashboard but cannot make it work. Any ideas as to how to make this work?
<!-- TradingView Widget BEGIN -->
<div class="tradingview-widget-container">
<div class="tradingview-widget-container__widget"></div>
<div class="tradingview-widget-copyright"><a href="https://www.tradingview.com/" rel="noopener nofollow" target="_blank"><span class="blue-text">Track all markets on TradingView</span></a></div>
<script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-symbol-overview.js" async>
{
"symbols": [
[
"CBOT:ZM1!|1D"
],
[
2 replies
-
Hi Patrick
What have you tried/ how have you implemented?
And what problem are you facing?
Your code is incomplete?
The basics:
make a formular that returns html using
let yourhtmlstring := "<div>abc</div"; html(yourhtmlstring)
If you have a lot of html then consider creating a page 'configurations' for html snippets. Make a field for each snippet you need. for instance make a text (multi) field called 'tradinghtml'
Then use it like this
let snippetHtml := select configurations.tradinghtml; html(snippetHtml)
Content aside
- 2 days agoLast active
- 2Replies
- 58Views
-
2
Following