Forums
How to load business story within a textbox in dashboard - Printable Version

+- Forums (https://bdn.bdb.ai)
+-- Forum: BDB Knowledge Base (https://bdn.bdb.ai/forumdisplay.php?fid=13)
+--- Forum: BDB Dashboards Designer (https://bdn.bdb.ai/forumdisplay.php?fid=43)
+---- Forum: BDB Designer Q & A (https://bdn.bdb.ai/forumdisplay.php?fid=16)
+---- Thread: How to load business story within a textbox in dashboard (/showthread.php?tid=677)



How to load business story within a textbox in dashboard - sariga.vr@bdb.ai - 12-26-2022

Create a new textbox in a dashboard, write the given code in display content of text box

<iframe id="demo" style="width:calc(100% - 5px); height:calc(100% - 5px); position:absolute;top:0px;left:0px;border:none;"></iframe>

Then write the given code in the component on which you want to click for which the textbox along with story to be loaded.

sdk.showComponent( ['text2'] );

var v3=" Open doc link of a story ";

document.getElementById("demo").src=v3;

sdk.applyStyles("#draggablesParentDiv"+sdk.dashboard.m_id, { "height": "1460px"});