Forums

Full Version: How to load business story within a textbox in dashboard
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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"});