Easy Heading Macro | ||||||
---|---|---|---|---|---|---|
|
Script Editor는 보고서에서 사용할 데이터소스와 소스코드를 등록할 수 있습니다In the Script Editor, you can register DataSource and source code for use in your reports.
DataSource
SQL문을 작성하거나 i-META를 활용하여 DataSource를 등록하면 DB에 있는 데이터를 가져올 수 있습니다By writing SQL statements or utilizing i-META to register a DataSource, you can retrieve data from the DB.
No | 구분Category | 상세 설명Description | |
① | 데이터 소스 생성 영역 | Data Source 폴더를 우 클릭 후 New를 클릭하면 새 데이터 소스를 생성할 수 있습니다. 이미 생성된 데이터 소스에 우 클릭 시 새로 데이터 소스 생성DataSource Creation Area | Right-click the Data Source folder, and click New to create a new DataSource. Right-clicking an existing DataSource allows you to create(New), 삭제delete(Delete), 복사copy(Copy), 이름 변경or rename(Rename) 을 할 수 있습니다DataSource. |
② | SQL 입력 영역SQL을 작성할 수 있습니다Input Area | You can write SQL statements. | |
③ | SQL 변수 영역SQL에 작성한 변수를 설정할 수 있습니다Variable Area | You can configure the variables used in SQL query. | |
④ | SQL 실행 결과 창 | SQL Query 실행 후 결과를 보여줍니다. |
DataSource 등록 방법
- DataSource 폴더 우 클릭
- New 선택
- DB Connection 선택
- SQL문 작성
- Execute 버튼 또는 F5 키 눌러서 데이터 조회 확인
- Save 버튼 눌러서 저장
Client Script
보고서에서 필요한 기능을 JavaScript로 작성할 수 있습니다.
...
Execution Result Window | Displays the results after executing the SQL Query. |
How to Register a DataSource
- Right-click the DataSource folder
- Select New
- Select DB Connection
- Write a SQL statement
- Click the Execute button or press the F5 key to verify the data retrieval
- Click the Save button to save
Client Script
You can write necessary features for reports in JavaScript.
JScript Editor window is automatically generated when the Script Editor is opened.
No | 구분Type | 상세 설명Description | |
① | 소스코드 입력 영역 | 보고서 동작에 필요한 소스코드를 작성할 수 있습니다. API를 선택한 상태에서 'F1' 키를 입력하면 API Document 창을 실행할 수 있습니다Source Code Input Area | You can write a source code necessary for a report's operation. With an API selected, pressing the 'F1' key will open the API Document window. |
② | API 함수 생성컨트롤 별 필요한 API 함수를 찾아 더블 클릭하여 해당 함수를 자동 생성할 수 있습니다Function Creation | You can find the necessary API functions for each Control and automatically generate the corresponding function by double-clicking it. | |
③ | API Document필요한 API | 함수를 검색할 수 있습니다You can search for necessary API functions. |
Server Script
서버에서 수행할 보고서의 기능을 JavaScript로 작성할 수 있습니다You can write a report's functions to be executed on the server in JavaScript.
...
No | 구분Type | 상세 설명Description |
① | Server Script 생성 영역 Server Script 폴더를 우 클릭 후 New를 클릭하면 새 데이터 소스를 생성할 수 있습니다. Template 클릭 시 데이터 저장, 프로시저를 사용하기 위한 SeverScript 템플릿을 사용할 수 있습니다. 이미 생성된 데이터 소스에 우 클릭 시 Server Script 생성(New), 삭제(Delete), 템플릿 생성(Template), 이름 변경(Rename)을 할 수 있습니다Creation Area | Right-click the Server Script folder and click New to create a new DataSource. Clicking Template allows you to use SeverScript templates for data storing and using procedures. Right-clicking an existing DataSource allows you to create(New), delete(Delete), create a Template(Template), or rename(Rename) the Server Script. |
② | Server Script 입력 영역 보고서 동작에 필요한 소스코드를 작성할 수 있습니다. API를 선택한 상태에서 'F1' 키를 입력하면 API Document 창을 실행할 수 있습니다Input Area | you can write a source code necessary for a report's operation. With an APPI selected, pressing the 'F1' key will open the API Document window. |
③ | API Document | 필요한 API 함수를 검색할 수 있습니다. |
Server Script 등록 방법
...
You can search for necessary API functions. |
How to Register a Server Script
- Right-click the Server Script folder
- Select either New or Template
- Write code
- Click Save button to save