| 
       << Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > Component > Shape > Arrow > Method >SetLinkOption | 
    
Sets the value of the OZ viewer parameter for the report to be linked.
Prototype :
void SetLinkOption
(
string ViewerParameterName,
string ViewerParameterValue
)
Arguments :
ViewerParameterName  | 
Viewer Parameter Name  | 
ViewerParameterValue  | 
Viewer Parameter Value  | 
Reference :
Use SetLinkParam() to set the form parameter value.
Example :
//link sample.ozr and set ODI parameter values for report
This.SetLinkServer("127.0.0.1", 8003, "sample.ozr");
This.SetLinkOption("odi.odinames", "sample");
This.SetLinkOption("odi.sample.pcount", "2");
This.SetLinkOption("odi.sample.args1", "FromDate=2008-01-01");
This.SetLinkOption("odi.sample.args2", "ToDate=2008-01-31");
Available Events :
OnAddToPage, OnBind, OnEndBind, OnInitialize, OnStartBind
See also :