Easy Heading Macro | ||||||
---|---|---|---|---|---|---|
|
실습 예제 |iPractice Example |Creating i-METADesigner를 이용한File using i-METAFile 생성Designer | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Step 1. Connect to DB
...
1.1
...
Connecting to the Database
- Launch i-META Designer 실행한 후 [DB 연결] 창에서 [EDU]를 선택합니다.
and select [DEMO_T] in the [DB Connect] window.
1.2
...
Selecting Tables
Click the [스키마] 메뉴를 클릭하여 스키마 창을 실행합니다Schema] to open the Schema Window.
스키마 창에서 META 생성에 필요한 테이블을 더블 클릭하여 작업 영역으로 배치합니다.참고사항 title 참고 : 스키마 및 테이블 추가 i-META 디자이너에서 테이블을 사용하려면 스키마 관리자에서 등록해야 합니다.
스키마 및 테이블 등록에 대한 설명은 스키마 및 테이블 추가하기를 참고하세요.
Step 2. 테이블 조인 관계 설정하기
테이블 간의 키 필드를 Drag & Drop으로 연결하여 조인 관계를 설정합니다.
연결할 필드를 Drag & Drop하여 연결합니다. 이때 기본 조인 타입은 inner join으로 설정됩니다.
...
title | 참고 : 조인 속성 변경 |
---|
연결 후 생성된 [Link]에서 마우스 오른쪽 클릭하여 연결 속성을 변경할 수 있습니다.
Step 3. 메타 필드 정의하기
3.1 폴더 추가
필드를 폴더 별로 분류하기 위해 i-META 항목 창에 폴더를 추가합니다.
i-META 항목 창에서 마우스 오른쪽을 클릭 후 [폴더 추가] 항목을 선택합니다.
...
- 폴더명 : 기간정보, 고객정보, 매장정보, 상품정보, 매출실적, 매출목표
...
참고사항 | ||
---|---|---|
| ||
i-META 항목의 폴더 또는 필드의 이름을 변경하려면 변경하려는 항목을 더블 클릭하거나 F2 키를 눌러 쉽게 변경할 수 있습니다. 또는 변경하려는 항목을 우 클릭하여 [속성] - [Description] 항목에서 변경할 수 있습니다. |
3.2 필드 추가
테이블에서 조회할 데이터 필드를 체크하여 메타 항목에 추가합니다.
...
기간정보 : sales_기간정보 테이블의 모든 필드 추가
...
고객정보 : sales_고객정보 테이블의 모든 필드 추가
...
매장정보 : sales_매장정보 테이블의 모든 필드 추가
...
상품정보 : sales_상품정보 테이블의 모든 필드 추가
...
매출실적 : sales_매출실적 테이블의 모든 필드 추가
...
Step 4. 필드 속성 정의하기
년월일, 년월 필드 및 Measure 항목 필드의 속성을 변경합니다.
- [년월일] 필드에서 마우스 오른쪽을 클릭한 후 [속성] 항목을 선택합니다. 속성 창이 나타나면 Category 속성을 변경합니다.
Category : Period
Measure 항목의 속성을 변경합니다Note : Adding Schemas and Tables To use tables in i-META Designer, they must be registered in the Schema Manager.
Refer to Adding Schemas and Tables for instructions on registering schemas and tables.
In the Schema window, double-click the tables required for META creation and place them in the workspace.
Step 2. Set Table Join Relationships
Connect key fields between tables using Drag & Drop to establish join relationships.
Drag & Drop the fields to connect. The default join type is set to inner join.
참고사항 title Note : Changing Join Properties After the connection, right-click to modify the connection properies from the created [Link].
Step 3. Define Meta Fields
3.1 Adding Fields
Select data fields from the table to add to the meta items.
Check all data fields from the table to add to the meta items.
- Rename the created folder.
- Folder Name : Date, Customer Info, Store Info, Product Info, Sales Performance, Sales Target
참고사항 title Note : Changing Folder/Field Names To rename a folder or field in i-META items, double-click the item or press F2 key to modify.
Alternatively, right-click the item and select [Properties] - [Description] to modify.
참고사항 title Note : Manual Folder Creation Option If [Table Automatic Generation] is activated in i-META Designer window [Settings], folders are created automatically.
This option is disabled, when table is created manually.
참고사항 title Note : How to Add Folders Right-click in the Items window to add a folder.
3.2 Defining Field Properties
Modify properties of Date and YearMonth fields, and Measure field.
- Right-click the [Date] field and select [Property]. In the Properties window, modify the settings.
Category : Period
DefaultFormat : yyyyMMdd Modify the properties of the [YearMonth] field.
Category : Period
DefaultFormat : yyyyMMModify the properties of the Measure item.
DefaultFormat : #,###0
참고사항 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| 명칭 | 설명
| ||||||||||
|
Step
...
4.
...
Add Hierarchical Items
Fields can be structured hierarchically, allowing for Drill Up/Down 분석이 가능합니다analysis on the added items.
- i-META 항목 창의 빈 공간에서 마우스 오른쪽을 클릭한 후 [계층 구조 항목 추가] 메뉴를 선택합니다.
Rigt-click on an empty space in the i-META items window and select [Add hierarchy items].
Now a [Field Group] 필드가 생성되었습니다. 계층 구조 항목을 '상품그룹'으로 변경합니다.기존 필드를 복사하여 계층 구조로 표현하기 위해 필드를 복사합니다.
복사한 필드를 생성한 계층 구조 항목 그룹으로 Drag & Drog하여 이동합니다.
복사할 필드 : 상품대분류, 상품중분류
Step 6. 메타 파일 공유/배포하기
생성한 메타를 서버에 저장합니다.
- [저장] 또는 [다른 이름으로 저장] 버튼을 클릭합니다.
권한이 부여된 폴더에 파일명을 설정하고 [확인] 버튼을 클릭하여 저장합니다.
field is created. Change the hierarchical item to 'Product Group'. - Copy the existing fields to represent them hierarchically.
Drag & Drop the copied fields into the created hierarchical item group.
Fields to copy : Product Category, Product Subcategory
Step 5. Share/Distribute the Meta File
Save the created meta to the server.
- Click the [Save] or [Save As] button.
- Enter the file name in the authorized folder and click [OK] button to save.