Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to load business story within a textbox in dashboard
#1
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"});
Reply


Messages In This Thread
How to load business story within a textbox in dashboard - by sariga.vr@bdb.ai - 12-26-2022, 04:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)