<< Click to Display Table of Contents >>

OZUserActionCommand > MakeTemplate

OZUserActionCommand의 type 중 MakeTemplate는 뷰어가 리포트 템플릿을 생성할 때 발생하며, 리턴되는 attr은 다음과 같습니다.

attr

설명

reportname

보고서 이름(string)

state

생성 상태(string)

"false"(생성 시작 직전), "true"(생성 완료 후) 중 하나의 값으로 리턴됨

Example

...

function OZUserActionCommand_OZViewer(type, attr) {

   var MyObj = eval('(' + attr + ')');

   if(type == "MakeTemplate") {

       alert(MyObj.reportname);

       ...

   }

}

...