<html>
<head>
<!-- extention -->
<script type="text//입력 매개변수
//propertyjavascript" src="<%=XMatrix.WEB_ROOTNAME%>/extention/imatrix6/reportopen.jsp"></script>
<script>
//첫번째 입력 매개변수(property) : MatrixProperty(디자이너 및 뷰어 동작을 위한 옵셜 설정 객체)
//report_code두번째 : 보고서코드
//report_type입력 매개변수(install_flag) : 보고서종류(i-AUD 보고서만ScriptEditor 호출하려면 SD 고정 입력)
function OpenReport(property, report_code, report_type)
{
try
{
property.VariableStrings = JSON.stringify(viewerObj.Variables);
}
catch(e)
{
}
property.ForceSimpleSSO = true;
var strproperty = JSON.stringify({
"param": property
});
var strExtendOpt = JSON.stringify({
"report_code": report_code,
"report_type": report_type
});
var json = JSON.stringify({
"Command" : 1,
"Param": strproperty,
"ExtendOpt" : strExtendOpt,
"SessionID" : UserSessionID,
"AppFolderName" : "iMatrixBin6.2.2"
});
sendText(json);
} |