SlideShare a Scribd company logo
2021.09.06
한국오라클
김은희 상무
APEX 입문 워크샵(Beginner Workshop)
- 실습가이드: Part 1
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
2
http://taewan.kim/apex-workshop/01.beginner_ws/
M01, M02 모듈 오픈
필수 항목입니다
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
3
- APT 인스턴스를 개별적으로 만들어 진행해 주십시요.
- APEX Workshop 실습 인스턴스 위치
- Region: Seoul
- Compartment: PROJECT >> apexws
- ATP 인스턴스 크기
- 1 OCPU / 1 TB
실습 화경 구성
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
4
- 해상도 높이기: 가능한 최고 해상도로 설정하고 시청하시기 바랍니다.
동영상 시청 팁
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
5
- 화면 키우기: Youtube 로고를 클릭하여 youtube 페이지로 이동 후 화면 키우기
동영상 시청 팁
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
6
질문 및 문의: Slack #kr_apex_users
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
7
- 금요일 10:00 : M03 모듈 오픈
- 월요일 10:00 : M04 모듈 오픈
- 수요일 10:00 ; APEX Zoom 세션
- 수요일 18:00 : 과제 제출
- 제출: 김태완, taewan.kim@oracle.com
- APEX Application 접속 정보
향후 일정
Oracle APEX 기초 워크샵 - 실습 가이드 문서:  Part 1 (1/2)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
9
M01. 실습 환경 준비 : APEX 개발 환경 구성 ( https://bit.ly/37QmBIB )
ATP 인스턴스 생성
§ Region : Seoul
§ Compartment : PROJECT > APEXWS
§ Resource : 1 OCPU / 1 TB
§ Workload : Transaction Processing
APEX Workspace
§ Workspace Name : APEXWS
§ Password : Welcome123456!
§ Database user : APEXWS
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
11
M01-1. ATP 생성 (1/6)
1
Seoul 리전, Compartment : apexws 선택
2
3 DemoATP
4
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
12
M01-1. ATP 생성 (2/6)
5
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
13
M01-1. ATP 생성 (3/6)
6 Password 기억!!!
*** APEX 로그인 때 사용***
7
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
14
M01-1. ATP 생성 (4/6)
8
9
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
15
M01-1. ATP 생성 (5/6)
M01-1. ATP 생성 (6/6)
APEX로 가는 방법 2가지
1 2
M01-2. APEX Workspace 생성과 로그인 (1/5)
ADW 생성시 사용한
Password !!!
APEX 로그인 때 사용***
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
18
M01-2. APEX Workspace 생성과 로그인 (2/5)
M01-2. APEX Workspace 생성과 로그인 (3/5)
§ Database user : APEXWS
§ Password : Welcome123456!
§ Workspace Name : APEXWS
DB유저,
Workspace 이름 기억!!!
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
20
M01-2. APEX Workspace 생성과 로그인 (4/5)
1
APEX 유저로 로그인하기
위해 클릭
M01-2. APEX Workspace 생성과 로그인 (5/5)
2
§ Workspace Name : APEXWS
§ Database user : APEXWS
§ Password : Welcome123456!
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
22
M01-3. APEX Workspace의 사용자(User) 등록 (1/10)
v 인증 정보를 변경 하자!!
Database user 정보 사용
à APEX user 정보 사용 (by user 등록)
§ Workspace Name : APEXWS
§ Database user : APEXWS
§ Password : Welcome123456!
M01-3. APEX Workspace의 사용자(User) 등록 (2/10)
§ Database user 정보 사용시 보안적, 운영적 측면에서 문제
발생가능성 있음
§ 따라서, APEX사용자를 개발자, 일반 사용자로 분류하여
별도 등록하여 사용함
1
2
M01-3. APEX Workspace의 사용자(User) 등록 (3/10)
1
M01-3. APEX Workspace의 사용자(User) 등록 (4/10)
2
M01-3. APEX Workspace의 사용자(User) 등록 (5/10)
3
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
28
M01-3. APEX Workspace의 사용자(User) 등록 (6/10)
4
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
29
M01-3. APEX Workspace의 사용자(User) 등록 (7/10)
5
6
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
30
M01-3. APEX Workspace의 사용자(User) 등록 (8/10)
1
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
31
M01-3. APEX Workspace의 사용자(User) 등록 (9/10)
2
3
§ 개발자, 일반사용자의 차이 확인!
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
32
M01-3. APEX Workspace의 사용자(User) 등록 (10/10)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
33
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
34
M02.1-1. 로그인
§ APEX 개발자로 로그인
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
35
M02.1-2. 앱 생성 (1/6)
1
2
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
36
M02.1-2. 앱 생성 (2/6)
3
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
37
M02.1-2. 앱 생성 (3/6)
4 5
9
§ 이번 실습에는 Feature 없이!
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
38
M02.1-2. 앱 생성 (4/6)
6
7
8
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
39
M02. 1-2. 앱 생성 (5/6)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
40
M02.1-2. 앱 생성 (6/6)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
41
M02.1-3. DB 테이블 생성
§ 리소스 파일 다운로드
https://taewanmerepo.github.io/2021/08/
apex/apexws_res.zip
§ DDL 파일 위치 : /sqls/base_table.sql
§ SQL Workshop > SQL Script를 통해 7개
테이블을 생성함
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
42
M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (1/8)
1
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
43
M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (2/8)
2
3
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
44
M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (3/8)
4
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
45
M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (4/8)
5
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
46
M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (5/8)
6
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
47
M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (6/8)
7
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
48
M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (7/8)
§ SQL script내용상 error 9개 발생
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
49
M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (8/8)
§ 7개 테이블과 데이터가 Loading 완료
8
9
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
50
M02.1-4. LOV 컴포넌트 생성, List of Values (1/12)
1
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
51
M02.1-4. LOV 컴포넌트 생성, List of Values (2/12)
2
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
52
M02.1-4. LOV 컴포넌트 생성, List of Values (3/12)
3
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
53
M02.1-4. LOV 컴포넌트 생성, List of Values (4/12)
4
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
54
M02.1-4. LOV 컴포넌트 생성, List of Values (5/12)
§ JOB TYPES
업무 유형: 의사, 간호사
§ EMP TYPES
(1, ‘교수’)
(2, ‘펠로우’)
(3, ‘레시던트’)
(4, ‘인턴’)
(5, ‘본과실습생’)
(6, ‘간호사’)
(7, ‘주임간호사’)
(8, ‘수간호사’)
(9, ‘간호부장’)
§ Teams
(1, 소아과)
(2, 산부인과)
(3, 간담췌외과)
(4, 신경외과)
(5, 응급의학과)
§ Gender Types
남성: M
여성: F
!"#"$%&'()*+,&-!&./&'()*0-1"&-!&,&2.(1&345*6789:
select type_id as r, type_name as d from USER_TYPES
select team_full_name as d, team_id as r from TEAMS
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
55
M02.1-4. LOV 컴포넌트 생성, List of Values (6/12)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
56
M02.1-4. LOV 컴포넌트 생성, List of Values (7/12)
§ Dynamic LOV : SQL 쿼리 사용
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
57
M02.1-4. LOV 컴포넌트 생성, List of Values (8/12)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
58
M02.1-4. LOV 컴포넌트 생성, List of Values (9/12)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
59
M02.1-4. LOV 컴포넌트 생성, List of Values (10/12)
§ Static LOV : 테이블 사용
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
60
M02.1-4. LOV 컴포넌트 생성, List of Values (11/12)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
61
M02.1-4. LOV 컴포넌트 생성, List of Values (12/12)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
62
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
63
M02.2. 결과물 미리 보기 : Interactive Report with Form
Interactive Report
Form – modal dialog
Vita sidebar
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
64
[참고] Employees 테이블 설명
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
65
M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(1/8)
1
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
66
M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(2/8)
2
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
67
M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(3/8)
3
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
68
M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(4/8)
4
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
69
M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(5/8)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
70
M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(6/8)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
71
M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(7/8)
5
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
72
M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(8/8)
6
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
73
M02.2-1. Interactive Report with Form 생성 결과
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
74
M02.2-1. Interactive Report with Form 생성 결과
§ Form으로 이동
§ Form에 입력된
데이터 없음
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
75
M02.2-1. Interactive Report with Form 생성 결과
§ 한줄에 한 item씩
§ 모두 영문 출력
§ 한글화 및 item 위치 변경
필요함(우측 결과물처럼)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
76
[참고] Page 지우기
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
77
[참고] Navigation Menu의 목록 지우기(1/2)
§ 페이지 삭제해도 ‘직원정보
관리’삭제되지 않으므로 삭제 필요함
§ 위치 : Shared component / List / List
details à 검색창: Desktop Navi Munu
에 있음
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
78
[참고] Navigation Menu의 목록 지우기(2/2)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
79
M02.2-2. 직원 정보 관리 Form 수정
1
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
80
M02.2.Form 페이지 작업 내용
Page Item 명 설정 내용 설정 위치
EMP_PW
CRE_DATE
TEMP_PW
• Form에서 보이지 않도록 • Identification –Type: Hidden
EMP_ID § Form에서 보이도록 설정
• Identification –Type: Text field
모든 항목 이름 • 한글화 • Label – Label : 한글 이름 입력
JOB_ID
TYPE_ID
TEAM_ID
• LOV 설정
• Identification –Type: Select list à LOV : shared component – 해당 아이템 선택
GENDER • LOV 설정 • Identification –Type: Radio group à LOV : shared component – 해당 아이템 선택
TYPE_ID
• 업무 유형(JOB_ID: 의사)에 따
른 직급 리스트(TYPE_ID: 교수,
펠로우 등) 가 나오도록 의존성
설정
• (1) TYPE_ID의 LOV : shared component 를 SQL Query로 변경
• (2) 부모 item을 설정(Cascading LOV : parent item : JOB_ID 선정)
Form CSS • 사진 크기 줄이기 § Form Page의 CSS 항목에서 In line에 SQL 쿼리 입력
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
81
M02.2-2. 직원 정보 관리 Form 수정 – 아이템 Hidden
1
§ EMP_PW 아래로
이동, 3개 아이템
선택 후 Hidden
처리
2
3
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
82
M02.2-2. 직원 정보 관리 Form 수정 – PK=null 수정 (1/3)
§ 필수 항목 입력 후에 Error 발생
§ Employee_ID 가 현재 null 인 것을
수정해야 함
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
83
M02.2-2. 직원 정보 관리 Form 수정 – PK=null 수정 (2/3)
1
1
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
84
M02.2-2. 직원 정보 관리 Form 수정 – PK=null 수정 (3/3)
§ New( Emp_ID : (PK) 임의 데이터
및 필수 항목 입력시 form 생성
완료
§ Report의 1개 Row 생성 완료됨
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
85
M02.2-2. 직원 정보 관리 Form 수정 – Item 한글화 (1/2)
1
2
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
86
M02.2-2. 직원 정보 관리 Form 수정 – Item 한글화 (2/2)
1
2
3
§ Identification : File Browse
확인
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
87
M02.2-2. 직원 정보 관리 Form 수정 – Item 추가 및 type 변경 (1/2)
1
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
88
M02.2-2. 직원 정보 관리 Form 수정 – Item 추가 및 type 변경 (2/2)
3
§ Identification :
Display Image로 변경
2
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
89
M02.2-2. 직원 정보 관리 Form 수정 – Item 줄 바꾸기 수정
4
§ 위치를 윗줄로 올릴때 :
Layout - Start new Row
비활성화
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
90
M02.2. Form 중간 결과물
M02.2-2. 직원 정보 관리 Form 수정 – Select List 출력 (1/3)
1
2
3
§ Type: Number field
à Select List 로 변경
§ List of Values :
Shared component /
Job Types
M02.2-2. 직원 정보 관리 Form 수정 – Select List 출력 (2/3)
1
2
3
§ List of Values :
Shared component /
emp Types
M02.2-2. 직원 정보 관리 Form 수정 – Select List 출력 (3/3)
1
2
3
§ List of Values :
Shared component /
Teams
M02.2-2. 직원 정보 관리 Form 수정 – Radio Group 출력
1
2
§ Type: Number field
à Radio Group 으로
변경
3
§ List of Values :
Shared component /
Gender Types
4
§ 한줄에 남성, 여성 나오도록 :
Setting – Number of
columns: 2
M02.2. Form 중간 결과물
setting
§ 업무유형(의사, 간호사) 에
따라 직급이 분류되어 나올
필요 있음
M02.2-2. 직원 정보 관리 Form 수정 – LOV 의존성 설정 (1/4)
1
!"#"$%&%'(")*+,"-&%'(")./&012,&3456)78954&:;"1"&<2=)./&
>&?9@@)ABC)DE&21/"1&='&%'(")./&
§ SQL Query로 지정
M02.2-2. 직원 정보 관리 Form 수정 – LOV 의존성 설정 (2/4)
!"#"$%&%'(")*+,"-&%'(")./&012,&3456)78954&:;"1"&<2=)./&>&
?9@@)ABC)DE&21/"1&='&%'(")./&
M02.2-2. 직원 정보 관리 Form 수정 – LOV 의존성 설정 (3/4)
§ Cascading
LOV에서 부모
아이템 설정
M02.2-2. 직원 정보 관리 Form 수정 – LOV 의존성 설정 (4/4)
M02.2. Form 중간 결과물 - LOV 의존성 설정
M02.2. Form 중간 결과물
§ 사진 크기 줄일 필요 있음
M02.2-2. 직원 정보 관리 Form 수정 – 사진 크기 줄임
1
2
.,F&G&:./%;?&@HH(IJ&;".F;%?&@HH(IJ&K
M02.2. Form 중간 결과물 – 사진 크기
M02.2-2. 직원 정보 관리 Form 페이지 전체 – Modal Dialog
2
§ Appearance /
Template
options에서 모달
다이아로그로 변경
1
M02.2. Form 중간 결과물 – Modal Dialog
Oracle APEX 기초 워크샵 - 실습 가이드 문서:  Part 1 (1/2)
직원 정보 관리 Report 작업 절차 (1/3)
직원 정보 관리 Report 작업 절차 (2/3)
직원 정보 관리 Report 작업 절차 (3/3)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
110
M02.3.Form 페이지 작업 내용
Page Item 명 설정 내용 설정 위치
Employee_ID • 보이게 변경(text field 타입)
• PK의 변경되지 않도록
• Identification –Type: Text field
• Read Only – Type : Item is not null, Item : P22_EMPLOYEE_ID
Email • Validation • Create Validation (좌, Rendering)
• 세부Validation à (우) Validation – Type: Item matches Regular Expression, 정규식
입력(SQL) à(우) Error message
Emp_name • Validation • 상동
Cell-Phone • Validation • 상동
Job_ID • LOV • Identification - Type : Select List
à List of Values : Shared component, Job Types, Display extra value /Null 초록색
Type_ID • LOV
• 업무 유형에 종속되도록 설정
• Identification - Type : Select List
àList of Values : SQL Query, SQL 쿼리 입력, Display extra value/null 초록색
• Cascading List of Values : Parent item : P22_JOB_ID
Team_ID • LOV (Job ID) 상동
Gender • LOV Identification - Type : Radio Group
(Job ID) 상동, Display extra value/Null 비활성화(회색)
Birth_day • Validation • 상동
Emp_Pic • 복제 (Duplicate) • Emp_Pic : Identification - File Browse
• Emp_Pic 1: Identification - Display Image
Cre_date 숨김 처리 Identification : Type : Hidden
공통 • 한글화
• 줄 바꿈 (윗줄로 이동)
• YYYY-MM-DD
• Label – 한글로 입력
• Layout : Start new Row 비활성화
• Appearance : Format Mask
M02.3-1. 직원 정보 관리 Form 수정 - PK 변경 불가 (1/3)
1
2
§ Read-only : Type
– Item is not
NULL 선택
M02.3-1. 직원 정보 관리 Form 수정 - PK 변경 불가 (2/3)
1
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
113
M02.3-1. 직원 정보 관리 Form 수정 - PK 변경 불가 (3/3)
§ Flower 입력된 후,
read only
설정으로 이제
변경이 안됨
M02.3-1. 직원 정보 관리 Form 수정 – 날짜 포맷 (Format Mask)
1
3
2
§ Birth_day :
Appearanceà
Format mask 의
새창에서 포맷 선택
M02.3-1. 직원 정보 관리 Form 수정 – 생성일 Default 설정 (2/1)
1
2
3
§ Cre_date :
Default : Type:
expression,
PL/SQL : sysdate
M02.3-1. 직원 정보 관리 Form 수정 – 생성일 Default 설정 (2/2)
§ Cre_date : form을
작성하면(좌)
오늘날짜로
credate가 자동
default로 설정됨
M02.3-1. 직원 정보 관리 Form 수정 – Validation (1/8)
1
§ P22_EMAIL
우클릭하여
validation 생성
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
118
M02.3-1. 직원 정보 관리 Form 수정 – Validation (2/8)
§ Validation의 ID를
mail validation으로
변경
2
3
§ Validation, Error
부분 설정
M02.3-1. 직원 정보 관리 Form 수정 – Validation (3/8)
4
5
6
§ 정규 표현식
(Regular expression)
입력식- 뒷장 참조
M02.3-1. 직원 정보 관리 Form 수정 – Validation (4/8)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
121
M02.3-1. 직원 정보 관리 Form 수정 – Validation (5/8)
§ Email
error message: Mail 포멧이 아닙니다. 메일 형식이어야 합니다.
(정규 표현식 – Regular expression)
^[A-Za-z]+[A-Za-z0-9.]+@[A-Za-z0-9.-]+.[A-Za-z]{2,4}$
§ 핸드폰 번호
Error message: 핸드폰 전화번호 형식이 아닙니다. (예 010-1234-1234)
(정규 표현식 – Regular expression) ^d{3}-d{3,4}-d{4}$
§ 생년월일
Error message: 생일은 오늘 이전이어야 합니다.
(표현식 - Expression) sysdate > to_date(:P22_BIRTH_DAY, 'YYYY-MM-DD')
M02.3-1. 직원 정보 관리 Form 수정 – Validation (6/8)
1
2
M02.3-1. 직원 정보 관리 Form 수정 – Validation (7/8)
1
2
M02.3-1. 직원 정보 관리 Form 수정 – Validation (8/8)
M02.3-2. 직원 정보 관리 Report 수정
M02.3-2. 직원 정보 관리 Report 수정 – PK 컬럼 출력
2
1
3
4
§ Hidden 컬럼 à
Plain Text로 변경
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
127
M02.3-2. 직원 정보 관리 Report 수정 – Hidden 컬럼화
§ CTRL 키 누르고
선택
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
128
M02.3-2. 직원 정보 관리 Report 수정 – 컬럼 한글화
Employee_ID : 직원 ID
Email : 이메일
Emp_name : 이름
Cell_Phone : 전화번호
Job_ID : 업무 유형
Type_ID : 직급
Team_ID : 팀명
Gender : 성별
Cre_date : 등록일
M02.3-2. 직원 정보 관리 Report 수정 – 날짜 포맷
1
2
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
130
M02.3-2. 직원 정보 관리 Report 수정 – LOV Value 대체(look up) (1/6)
Value(숫자, text)를 대체값(의사,
교수, 응급의학과, 남성 등)으로
변경
M02.3-2. 직원 정보 관리 Report 수정 – LOV Value 대체(look up) (2/6)
1
2
§ Plain text based
on List of values
M02.3-2. 직원 정보 관리 Report 수정 – LOV Value 대체(look up) (3/6)
3
§ LOV : Job_types
선택
M02.3-2. 직원 정보 관리 Report 수정 – LOV Value 대체(look up) (4/6)
1
2
§ Plain text based
on List of values
3
M02.3-2. 직원 정보 관리 Report 수정 – LOV Value 대체(look up) (5/6)
1
2
§ Plain text based
on List of values
3
M02.3-2. 직원 정보 관리 Report 수정 – LOV Value 대체(look up) (6/6)
1
2
§ Plain text based
on List of values
3
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
136
M02.3-2. 직원 정보 관리 Report 수정 – 리포트 꾸미기(Hero) (1/5)
§ 아이콘, 제목, 설명 추가
M02.3-2. 직원 정보 관리 Report 수정 – 리포트 꾸미기(Hero) (2/5)
§ Content body
우클릭해서 create
region (리전 생성)
1
2
§ 새로운 Region
(NEW)를 올려서
report1 위에 놓음
M02.3-2. 직원 정보 관리 Report 수정 – 리포트 꾸미기(Hero) (3/5)
1
2
M02.3-2. 직원 정보 관리 Report 수정 – 리포트 꾸미기(Hero) (4/5)
1
§ Appearance >
template : Hero로
변경
M02.3-2. 직원 정보 관리 Report 수정 – 리포트 꾸미기(Hero) (5/5)
2
§ Icon 선택 > 새로운
창에서 fa-users 아이콘
선택
3 4
Oracle APEX 기초 워크샵 - 실습 가이드 문서:  Part 1 (1/2)
M02.4-1. 직원 정보 검색 (1/14)
§ 검색 부분 추가
M02.4-1. 직원 정보 검색 (2/14)
content body 우클릭하여
Create region 클릭
1
2 New 자동 생성되면 위치
변경
M02.4-1. 직원 정보 검색 (3/14)
4
3
Identification의 Title :
Search로 변경
M02.4-1. 직원 정보 검색 (4/14)
Search 우클릭하여
Page item 2개 (검색부분)
Button 1개 (검색버튼) 생성
5
M02.4-1. 직원 정보 검색 (5/14)
6
P21_SEARCH_TEAMS
정확하게!!
*** 뒤에 SQL문에 쓰임
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
147
M02.4-1. 직원 정보 검색 (6/14)
7
P21_SEARCH_GENDERS
정확하게!!
*** 뒤에 SQL문에 쓰임
M02.4-1. 직원 정보 검색 (7/14)
8
M02.4-1. 직원 정보 검색 (8/14)
Search 를 없애고
버튼을 파란색으로 변경
M02.4-1. 직원 정보 검색 (9/14)
9
M02.4-1. 직원 정보 검색 (10/14)
10
M02.4-1. 직원 정보 검색 (11/14)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
153
M02.4-1. 직원 정보 검색 (12/14)
< Report 조회 조건 >
where
InStr(':'||:P21_SEARCH_TEAMS||':',
':'||TEAM_ID||':') > 0
and TEAM_ID IS NOT NULL
and
InStr(':'||:P21_SEARCH_GENDERS||':',
':'||GENDER||':') > 0
and GENDER IS NOT NULL
P21_SEARCH_TEAMS,
P21_SEARCH_GENDERS의 Key 값을
받아서 검색하는데 사용함
à 이를 위해 Report의 SQL 쿼리에 위의
조회조건을 추가함
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
154
M02.4-1. 직원 정보 검색 (13/14)
11
12
Source > SQL 쿼리의 우측 새창
아이콘을 클릭해서 앞서 복사한
where 절 추가
M02.4-1. 직원 정보 검색 (14/14)
13
M02.4-1. 직원 정보 검색 – default value 설정 (1/6)
Page 들어 갔을 때 데이터가 보이도록
설정하고 싶음
(default 로 팀명, 성별의 모든 값을
선택하는 설정 추가)
(이때 check box 선택이 없는 상태에서
시작하자. )
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
157
M02.4-1. 직원 정보 검색 – default value 설정 (2/6)
1
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
158
M02.4-1. 직원 정보 검색 – default value 설정 (3/6)
SQL Query returning
colon delimited list
2
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
159
M02.4-1. 직원 정보 검색 – default value 설정 (4/6)
< Default 값 지정 >
P21_SEARCH_TEAMS 칼럼에
대해서
select team_id from TEAMS
3
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
160
M02.4-1. 직원 정보 검색 – default value 설정 (5/6)
4
M02.4-1. 직원 정보 검색 – default value 설정 (6/6)
이제, Page 들어가면 기본으로 값이 모두 선택되어 있음.
따라서, 아래 리포트 내용이 모두 출력됨
M02.4-2. 직원 정보 Dynamic Search (1/10)
DYNAMIC SEARCH 란?
page item(팀명, 성별) 의 값(소아과, 남성 등)이 변경될
때마다 아래 report가 바뀌는 event를 실행하여
동적 검색이 되는 것
** page item, report 설정 필요
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
163
M02.4-2. 직원 정보 Dynamic Search (2/10)
1
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
164
M02.4-2. 직원 정보 Dynamic Search (3/10)
2
P21_SEARCH_TEAMS가 변화할 때
Dynamic actions이 발생함
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
165
M02.4-2. 직원 정보 Dynamic Search (4/10)
3
P21_SEARCH_TEAMS가 변화= True
일 때 action = Refresh
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
166
M02.4-2. 직원 정보 Dynamic Search (5/10)
4
action = Refresh 인 곳은
Region 중 Report1 임
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
167
M02.4-2. 직원 정보 Dynamic Search (6/10)
5
P21_SEARCH_GENDERS가 변화할 때
Dynamic actions이 발생함
우클릭해서 Dynamic
actions 생성
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
168
M02.4-2. 직원 정보 Dynamic Search (7/10)
6
7
P21_SEARCH_GENDERS가
변화= True 일 때
action = Refresh 인 곳은
Region 중 Report1 임
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
169
M02.4-2. 직원 정보 Dynamic Search (8/10)
8
Dynamic action 이벤트
발생하면 Report1의
변화부분을 설정
9
Source > Page items to
submit을 누른 후
P21_SEARCH_TEAMS,
P21_SEARCH_GENDERS
각각 클릭
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
170
M02.4-2. 직원 정보 Dynamic Search (9/10)
2개 item이 들어가 있음.
2개 submit 하면 다이내믹 액션
실행(change item à report refresh)
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
171
M02.4-2. 직원 정보 Dynamic Search (10/10)
8
버튼 불필요하므로
지움
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted
172
M02.4-2. Dynamic 검색 실행 결과

More Related Content

PPTX
Power BI visuals
PDF
Maximum Availability Architecture - Best Practices for Oracle Database 19c
PPTX
Apache Atlas: Why Big Data Management Requires Hierarchical Taxonomies
PPTX
SPS-Power BI Introduction
PDF
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
PDF
An Introduction to Kafka Cruise Control with Viktor Somogyi-Vass
PPTX
Business Intelligence tools comparison
PDF
Zero Data Loss Recovery Applianceによるデータベース保護のアーキテクチャ
Power BI visuals
Maximum Availability Architecture - Best Practices for Oracle Database 19c
Apache Atlas: Why Big Data Management Requires Hierarchical Taxonomies
SPS-Power BI Introduction
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
An Introduction to Kafka Cruise Control with Viktor Somogyi-Vass
Business Intelligence tools comparison
Zero Data Loss Recovery Applianceによるデータベース保護のアーキテクチャ

What's hot (20)

PPTX
powerbi-presentation.pptx
PPTX
Zero Data Loss Recovery Appliance 設定手順例
PPTX
Virtual Flink Forward 2020: A deep dive into Flink SQL - Jark Wu
PPT
RDF and OWL
PDF
Database-Migration and -Upgrade with Transportable Tablespaces
PPTX
Oracle REST Data Services: Options for your Web Services
PPTX
Using Spark Streaming and NiFi for the next generation of ETL in the enterprise
PDF
Customer migration to azure sql database from on-premises SQL, for a SaaS app...
PPTX
Introducción a Microsoft Power BI. Uso de Herramientas de Apoyo para la Toma ...
PDF
Nové vlastnosti Oracle Database Appliance
PPTX
Oracle database performance tuning
PDF
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
PDF
Power BI Training | Getting Started with Power BI | Power BI Tutorial | Power...
PDF
Scaling and Modernizing Data Platform with Databricks
PDF
Oracle Data Integrator 12c - Getting Started
PDF
GoldenGate and Stream Processing with Special Guest Rakuten
PDF
Introduction to ETL and Data Integration
PDF
The Top Five Mistakes Made When Writing Streaming Applications with Mark Grov...
PDF
UNYOUG - APEX 19.2 New Features
ODP
Introduction to Apache solr
powerbi-presentation.pptx
Zero Data Loss Recovery Appliance 設定手順例
Virtual Flink Forward 2020: A deep dive into Flink SQL - Jark Wu
RDF and OWL
Database-Migration and -Upgrade with Transportable Tablespaces
Oracle REST Data Services: Options for your Web Services
Using Spark Streaming and NiFi for the next generation of ETL in the enterprise
Customer migration to azure sql database from on-premises SQL, for a SaaS app...
Introducción a Microsoft Power BI. Uso de Herramientas de Apoyo para la Toma ...
Nové vlastnosti Oracle Database Appliance
Oracle database performance tuning
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Power BI Training | Getting Started with Power BI | Power BI Tutorial | Power...
Scaling and Modernizing Data Platform with Databricks
Oracle Data Integrator 12c - Getting Started
GoldenGate and Stream Processing with Special Guest Rakuten
Introduction to ETL and Data Integration
The Top Five Mistakes Made When Writing Streaming Applications with Mark Grov...
UNYOUG - APEX 19.2 New Features
Introduction to Apache solr
Ad

Similar to Oracle APEX 기초 워크샵 - 실습 가이드 문서: Part 1 (1/2) (20)

PDF
Application Performance Cloud Service
PDF
Oracle Application Performance Monitoring Cloud Service 소개
PPTX
[SPONGE] E.BLOCK+ [10] final portfolio(181012)
PDF
On premise db &amp; cloud database
PDF
MySQL Document Store를 활용한 NoSQL 개발
PDF
Cloud for Kubernetes : Session2
PPTX
polyglot application development in the cloud
PPTX
오라클 클라우드와 함께 떠나는 마이크로서비스 아키텍처로의 여행 V3
PPTX
SOSCON2015 Robot Framework
PPTX
Application Monitoring 신규 기능 소개 (서영일)
PDF
4-1: JMP/Python 에코시스템 성공 사례 (한얼솔루션 이광기 상무)
PDF
4-1: JMP/Python 에코시스템 성공 사례
PPTX
VSD Seoul 2018: customer highlights on InfoScale
PPTX
Exadata troubleshooting
PDF
Futsal Manager 프로젝트(소프트웨어 마에스트로 2차 최종발표)
PDF
All about JDBC Performance Tuning_Wh apm
PDF
머신러닝과 사이킷런의 이해
PPTX
DB Monitoring 개념 및 활용 (박명규)
PDF
Oracle Cloud에서 Open VPN 설치 및 이용 방법
PDF
Spring-Boot (springcamp2014)
Application Performance Cloud Service
Oracle Application Performance Monitoring Cloud Service 소개
[SPONGE] E.BLOCK+ [10] final portfolio(181012)
On premise db &amp; cloud database
MySQL Document Store를 활용한 NoSQL 개발
Cloud for Kubernetes : Session2
polyglot application development in the cloud
오라클 클라우드와 함께 떠나는 마이크로서비스 아키텍처로의 여행 V3
SOSCON2015 Robot Framework
Application Monitoring 신규 기능 소개 (서영일)
4-1: JMP/Python 에코시스템 성공 사례 (한얼솔루션 이광기 상무)
4-1: JMP/Python 에코시스템 성공 사례
VSD Seoul 2018: customer highlights on InfoScale
Exadata troubleshooting
Futsal Manager 프로젝트(소프트웨어 마에스트로 2차 최종발표)
All about JDBC Performance Tuning_Wh apm
머신러닝과 사이킷런의 이해
DB Monitoring 개념 및 활용 (박명규)
Oracle Cloud에서 Open VPN 설치 및 이용 방법
Spring-Boot (springcamp2014)
Ad

More from Taewan Kim (10)

PDF
Oracle APEX 기초 워크샵 - 실습 가이드 문서: Part 2 (2/2)
PPTX
[OCI 새소식] OCI Burstable Instance
PDF
오라클 클라우드 OCI 기초 개념 & 용어 정리
PDF
20191119 Cloud Native Java : GraalVM
PDF
13회 Oracle Developer Meetup 발표 자료: Oracle Cloud Data Interface(2019.07.20)
PDF
11회 Oracle Developer Meetup 발표 자료: Oracle NoSQL (2019.05.18) oracle-nosql pu...
PDF
Cloud Native Java GraalVM 이상과 현실
PDF
2018 Oracle Impact 발표자료: Oracle Enterprise AI
PDF
Oracle Code in Seoul: Provisioning of Cloud Resource
PDF
Oracle Container Cloud Service & Docker Overview
Oracle APEX 기초 워크샵 - 실습 가이드 문서: Part 2 (2/2)
[OCI 새소식] OCI Burstable Instance
오라클 클라우드 OCI 기초 개념 & 용어 정리
20191119 Cloud Native Java : GraalVM
13회 Oracle Developer Meetup 발표 자료: Oracle Cloud Data Interface(2019.07.20)
11회 Oracle Developer Meetup 발표 자료: Oracle NoSQL (2019.05.18) oracle-nosql pu...
Cloud Native Java GraalVM 이상과 현실
2018 Oracle Impact 발표자료: Oracle Enterprise AI
Oracle Code in Seoul: Provisioning of Cloud Resource
Oracle Container Cloud Service & Docker Overview

Oracle APEX 기초 워크샵 - 실습 가이드 문서: Part 1 (1/2)

  • 1. 2021.09.06 한국오라클 김은희 상무 APEX 입문 워크샵(Beginner Workshop) - 실습가이드: Part 1
  • 2. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 2 http://taewan.kim/apex-workshop/01.beginner_ws/ M01, M02 모듈 오픈 필수 항목입니다
  • 3. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 3 - APT 인스턴스를 개별적으로 만들어 진행해 주십시요. - APEX Workshop 실습 인스턴스 위치 - Region: Seoul - Compartment: PROJECT >> apexws - ATP 인스턴스 크기 - 1 OCPU / 1 TB 실습 화경 구성
  • 4. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 4 - 해상도 높이기: 가능한 최고 해상도로 설정하고 시청하시기 바랍니다. 동영상 시청 팁
  • 5. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 5 - 화면 키우기: Youtube 로고를 클릭하여 youtube 페이지로 이동 후 화면 키우기 동영상 시청 팁
  • 6. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 6 질문 및 문의: Slack #kr_apex_users
  • 7. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 7 - 금요일 10:00 : M03 모듈 오픈 - 월요일 10:00 : M04 모듈 오픈 - 수요일 10:00 ; APEX Zoom 세션 - 수요일 18:00 : 과제 제출 - 제출: 김태완, taewan.kim@oracle.com - APEX Application 접속 정보 향후 일정
  • 9. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 9
  • 10. M01. 실습 환경 준비 : APEX 개발 환경 구성 ( https://bit.ly/37QmBIB ) ATP 인스턴스 생성 § Region : Seoul § Compartment : PROJECT > APEXWS § Resource : 1 OCPU / 1 TB § Workload : Transaction Processing APEX Workspace § Workspace Name : APEXWS § Password : Welcome123456! § Database user : APEXWS
  • 11. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 11 M01-1. ATP 생성 (1/6) 1 Seoul 리전, Compartment : apexws 선택 2 3 DemoATP 4
  • 12. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 12 M01-1. ATP 생성 (2/6) 5
  • 13. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 13 M01-1. ATP 생성 (3/6) 6 Password 기억!!! *** APEX 로그인 때 사용*** 7
  • 14. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 14 M01-1. ATP 생성 (4/6) 8 9
  • 15. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 15 M01-1. ATP 생성 (5/6)
  • 16. M01-1. ATP 생성 (6/6) APEX로 가는 방법 2가지 1 2
  • 17. M01-2. APEX Workspace 생성과 로그인 (1/5) ADW 생성시 사용한 Password !!! APEX 로그인 때 사용***
  • 18. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 18 M01-2. APEX Workspace 생성과 로그인 (2/5)
  • 19. M01-2. APEX Workspace 생성과 로그인 (3/5) § Database user : APEXWS § Password : Welcome123456! § Workspace Name : APEXWS DB유저, Workspace 이름 기억!!!
  • 20. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 20 M01-2. APEX Workspace 생성과 로그인 (4/5) 1 APEX 유저로 로그인하기 위해 클릭
  • 21. M01-2. APEX Workspace 생성과 로그인 (5/5) 2 § Workspace Name : APEXWS § Database user : APEXWS § Password : Welcome123456!
  • 22. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 22
  • 23. M01-3. APEX Workspace의 사용자(User) 등록 (1/10) v 인증 정보를 변경 하자!! Database user 정보 사용 à APEX user 정보 사용 (by user 등록) § Workspace Name : APEXWS § Database user : APEXWS § Password : Welcome123456!
  • 24. M01-3. APEX Workspace의 사용자(User) 등록 (2/10) § Database user 정보 사용시 보안적, 운영적 측면에서 문제 발생가능성 있음 § 따라서, APEX사용자를 개발자, 일반 사용자로 분류하여 별도 등록하여 사용함 1 2
  • 25. M01-3. APEX Workspace의 사용자(User) 등록 (3/10) 1
  • 26. M01-3. APEX Workspace의 사용자(User) 등록 (4/10) 2
  • 27. M01-3. APEX Workspace의 사용자(User) 등록 (5/10) 3
  • 28. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 28 M01-3. APEX Workspace의 사용자(User) 등록 (6/10) 4
  • 29. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 29 M01-3. APEX Workspace의 사용자(User) 등록 (7/10) 5 6
  • 30. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 30 M01-3. APEX Workspace의 사용자(User) 등록 (8/10) 1
  • 31. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 31 M01-3. APEX Workspace의 사용자(User) 등록 (9/10) 2 3 § 개발자, 일반사용자의 차이 확인!
  • 32. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 32 M01-3. APEX Workspace의 사용자(User) 등록 (10/10)
  • 33. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 33
  • 34. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 34 M02.1-1. 로그인 § APEX 개발자로 로그인
  • 35. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 35 M02.1-2. 앱 생성 (1/6) 1 2
  • 36. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 36 M02.1-2. 앱 생성 (2/6) 3
  • 37. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 37 M02.1-2. 앱 생성 (3/6) 4 5 9 § 이번 실습에는 Feature 없이!
  • 38. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 38 M02.1-2. 앱 생성 (4/6) 6 7 8
  • 39. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 39 M02. 1-2. 앱 생성 (5/6)
  • 40. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 40 M02.1-2. 앱 생성 (6/6)
  • 41. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 41 M02.1-3. DB 테이블 생성 § 리소스 파일 다운로드 https://taewanmerepo.github.io/2021/08/ apex/apexws_res.zip § DDL 파일 위치 : /sqls/base_table.sql § SQL Workshop > SQL Script를 통해 7개 테이블을 생성함
  • 42. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 42 M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (1/8) 1
  • 43. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 43 M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (2/8) 2 3
  • 44. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 44 M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (3/8) 4
  • 45. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 45 M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (4/8) 5
  • 46. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 46 M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (5/8) 6
  • 47. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 47 M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (6/8) 7
  • 48. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 48 M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (7/8) § SQL script내용상 error 9개 발생
  • 49. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 49 M02.1-3. DB 테이블 생성 : SQL Workshop > SQL Scripts (8/8) § 7개 테이블과 데이터가 Loading 완료 8 9
  • 50. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 50 M02.1-4. LOV 컴포넌트 생성, List of Values (1/12) 1
  • 51. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 51 M02.1-4. LOV 컴포넌트 생성, List of Values (2/12) 2
  • 52. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 52 M02.1-4. LOV 컴포넌트 생성, List of Values (3/12) 3
  • 53. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 53 M02.1-4. LOV 컴포넌트 생성, List of Values (4/12) 4
  • 54. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 54 M02.1-4. LOV 컴포넌트 생성, List of Values (5/12) § JOB TYPES 업무 유형: 의사, 간호사 § EMP TYPES (1, ‘교수’) (2, ‘펠로우’) (3, ‘레시던트’) (4, ‘인턴’) (5, ‘본과실습생’) (6, ‘간호사’) (7, ‘주임간호사’) (8, ‘수간호사’) (9, ‘간호부장’) § Teams (1, 소아과) (2, 산부인과) (3, 간담췌외과) (4, 신경외과) (5, 응급의학과) § Gender Types 남성: M 여성: F !"#"$%&'()*+,&-!&./&'()*0-1"&-!&,&2.(1&345*6789: select type_id as r, type_name as d from USER_TYPES select team_full_name as d, team_id as r from TEAMS
  • 55. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 55 M02.1-4. LOV 컴포넌트 생성, List of Values (6/12)
  • 56. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 56 M02.1-4. LOV 컴포넌트 생성, List of Values (7/12) § Dynamic LOV : SQL 쿼리 사용
  • 57. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 57 M02.1-4. LOV 컴포넌트 생성, List of Values (8/12)
  • 58. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 58 M02.1-4. LOV 컴포넌트 생성, List of Values (9/12)
  • 59. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 59 M02.1-4. LOV 컴포넌트 생성, List of Values (10/12) § Static LOV : 테이블 사용
  • 60. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 60 M02.1-4. LOV 컴포넌트 생성, List of Values (11/12)
  • 61. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 61 M02.1-4. LOV 컴포넌트 생성, List of Values (12/12)
  • 62. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 62
  • 63. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 63 M02.2. 결과물 미리 보기 : Interactive Report with Form Interactive Report Form – modal dialog Vita sidebar
  • 64. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 64 [참고] Employees 테이블 설명
  • 65. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 65 M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(1/8) 1
  • 66. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 66 M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(2/8) 2
  • 67. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 67 M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(3/8) 3
  • 68. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 68 M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(4/8) 4
  • 69. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 69 M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(5/8)
  • 70. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 70 M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(6/8)
  • 71. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 71 M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(7/8) 5
  • 72. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 72 M02.2-1. Interactive Report with Form 생성과 데이터 소스 연결(8/8) 6
  • 73. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 73 M02.2-1. Interactive Report with Form 생성 결과
  • 74. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 74 M02.2-1. Interactive Report with Form 생성 결과 § Form으로 이동 § Form에 입력된 데이터 없음
  • 75. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 75 M02.2-1. Interactive Report with Form 생성 결과 § 한줄에 한 item씩 § 모두 영문 출력 § 한글화 및 item 위치 변경 필요함(우측 결과물처럼)
  • 76. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 76 [참고] Page 지우기
  • 77. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 77 [참고] Navigation Menu의 목록 지우기(1/2) § 페이지 삭제해도 ‘직원정보 관리’삭제되지 않으므로 삭제 필요함 § 위치 : Shared component / List / List details à 검색창: Desktop Navi Munu 에 있음
  • 78. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 78 [참고] Navigation Menu의 목록 지우기(2/2)
  • 79. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 79 M02.2-2. 직원 정보 관리 Form 수정 1
  • 80. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 80 M02.2.Form 페이지 작업 내용 Page Item 명 설정 내용 설정 위치 EMP_PW CRE_DATE TEMP_PW • Form에서 보이지 않도록 • Identification –Type: Hidden EMP_ID § Form에서 보이도록 설정 • Identification –Type: Text field 모든 항목 이름 • 한글화 • Label – Label : 한글 이름 입력 JOB_ID TYPE_ID TEAM_ID • LOV 설정 • Identification –Type: Select list à LOV : shared component – 해당 아이템 선택 GENDER • LOV 설정 • Identification –Type: Radio group à LOV : shared component – 해당 아이템 선택 TYPE_ID • 업무 유형(JOB_ID: 의사)에 따 른 직급 리스트(TYPE_ID: 교수, 펠로우 등) 가 나오도록 의존성 설정 • (1) TYPE_ID의 LOV : shared component 를 SQL Query로 변경 • (2) 부모 item을 설정(Cascading LOV : parent item : JOB_ID 선정) Form CSS • 사진 크기 줄이기 § Form Page의 CSS 항목에서 In line에 SQL 쿼리 입력
  • 81. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 81 M02.2-2. 직원 정보 관리 Form 수정 – 아이템 Hidden 1 § EMP_PW 아래로 이동, 3개 아이템 선택 후 Hidden 처리 2 3
  • 82. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 82 M02.2-2. 직원 정보 관리 Form 수정 – PK=null 수정 (1/3) § 필수 항목 입력 후에 Error 발생 § Employee_ID 가 현재 null 인 것을 수정해야 함
  • 83. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 83 M02.2-2. 직원 정보 관리 Form 수정 – PK=null 수정 (2/3) 1 1
  • 84. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 84 M02.2-2. 직원 정보 관리 Form 수정 – PK=null 수정 (3/3) § New( Emp_ID : (PK) 임의 데이터 및 필수 항목 입력시 form 생성 완료 § Report의 1개 Row 생성 완료됨
  • 85. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 85 M02.2-2. 직원 정보 관리 Form 수정 – Item 한글화 (1/2) 1 2
  • 86. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 86 M02.2-2. 직원 정보 관리 Form 수정 – Item 한글화 (2/2) 1 2 3 § Identification : File Browse 확인
  • 87. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 87 M02.2-2. 직원 정보 관리 Form 수정 – Item 추가 및 type 변경 (1/2) 1
  • 88. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 88 M02.2-2. 직원 정보 관리 Form 수정 – Item 추가 및 type 변경 (2/2) 3 § Identification : Display Image로 변경 2
  • 89. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 89 M02.2-2. 직원 정보 관리 Form 수정 – Item 줄 바꾸기 수정 4 § 위치를 윗줄로 올릴때 : Layout - Start new Row 비활성화
  • 90. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 90 M02.2. Form 중간 결과물
  • 91. M02.2-2. 직원 정보 관리 Form 수정 – Select List 출력 (1/3) 1 2 3 § Type: Number field à Select List 로 변경 § List of Values : Shared component / Job Types
  • 92. M02.2-2. 직원 정보 관리 Form 수정 – Select List 출력 (2/3) 1 2 3 § List of Values : Shared component / emp Types
  • 93. M02.2-2. 직원 정보 관리 Form 수정 – Select List 출력 (3/3) 1 2 3 § List of Values : Shared component / Teams
  • 94. M02.2-2. 직원 정보 관리 Form 수정 – Radio Group 출력 1 2 § Type: Number field à Radio Group 으로 변경 3 § List of Values : Shared component / Gender Types 4 § 한줄에 남성, 여성 나오도록 : Setting – Number of columns: 2
  • 95. M02.2. Form 중간 결과물 setting § 업무유형(의사, 간호사) 에 따라 직급이 분류되어 나올 필요 있음
  • 96. M02.2-2. 직원 정보 관리 Form 수정 – LOV 의존성 설정 (1/4) 1 !"#"$%&%'(")*+,"-&%'(")./&012,&3456)78954&:;"1"&<2=)./& >&?9@@)ABC)DE&21/"1&='&%'(")./& § SQL Query로 지정
  • 97. M02.2-2. 직원 정보 관리 Form 수정 – LOV 의존성 설정 (2/4) !"#"$%&%'(")*+,"-&%'(")./&012,&3456)78954&:;"1"&<2=)./&>& ?9@@)ABC)DE&21/"1&='&%'(")./&
  • 98. M02.2-2. 직원 정보 관리 Form 수정 – LOV 의존성 설정 (3/4) § Cascading LOV에서 부모 아이템 설정
  • 99. M02.2-2. 직원 정보 관리 Form 수정 – LOV 의존성 설정 (4/4)
  • 100. M02.2. Form 중간 결과물 - LOV 의존성 설정
  • 101. M02.2. Form 중간 결과물 § 사진 크기 줄일 필요 있음
  • 102. M02.2-2. 직원 정보 관리 Form 수정 – 사진 크기 줄임 1 2 .,F&G&:./%;?&@HH(IJ&;".F;%?&@HH(IJ&K
  • 103. M02.2. Form 중간 결과물 – 사진 크기
  • 104. M02.2-2. 직원 정보 관리 Form 페이지 전체 – Modal Dialog 2 § Appearance / Template options에서 모달 다이아로그로 변경 1
  • 105. M02.2. Form 중간 결과물 – Modal Dialog
  • 107. 직원 정보 관리 Report 작업 절차 (1/3)
  • 108. 직원 정보 관리 Report 작업 절차 (2/3)
  • 109. 직원 정보 관리 Report 작업 절차 (3/3)
  • 110. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 110 M02.3.Form 페이지 작업 내용 Page Item 명 설정 내용 설정 위치 Employee_ID • 보이게 변경(text field 타입) • PK의 변경되지 않도록 • Identification –Type: Text field • Read Only – Type : Item is not null, Item : P22_EMPLOYEE_ID Email • Validation • Create Validation (좌, Rendering) • 세부Validation à (우) Validation – Type: Item matches Regular Expression, 정규식 입력(SQL) à(우) Error message Emp_name • Validation • 상동 Cell-Phone • Validation • 상동 Job_ID • LOV • Identification - Type : Select List à List of Values : Shared component, Job Types, Display extra value /Null 초록색 Type_ID • LOV • 업무 유형에 종속되도록 설정 • Identification - Type : Select List àList of Values : SQL Query, SQL 쿼리 입력, Display extra value/null 초록색 • Cascading List of Values : Parent item : P22_JOB_ID Team_ID • LOV (Job ID) 상동 Gender • LOV Identification - Type : Radio Group (Job ID) 상동, Display extra value/Null 비활성화(회색) Birth_day • Validation • 상동 Emp_Pic • 복제 (Duplicate) • Emp_Pic : Identification - File Browse • Emp_Pic 1: Identification - Display Image Cre_date 숨김 처리 Identification : Type : Hidden 공통 • 한글화 • 줄 바꿈 (윗줄로 이동) • YYYY-MM-DD • Label – 한글로 입력 • Layout : Start new Row 비활성화 • Appearance : Format Mask
  • 111. M02.3-1. 직원 정보 관리 Form 수정 - PK 변경 불가 (1/3) 1 2 § Read-only : Type – Item is not NULL 선택
  • 112. M02.3-1. 직원 정보 관리 Form 수정 - PK 변경 불가 (2/3) 1
  • 113. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 113 M02.3-1. 직원 정보 관리 Form 수정 - PK 변경 불가 (3/3) § Flower 입력된 후, read only 설정으로 이제 변경이 안됨
  • 114. M02.3-1. 직원 정보 관리 Form 수정 – 날짜 포맷 (Format Mask) 1 3 2 § Birth_day : Appearanceà Format mask 의 새창에서 포맷 선택
  • 115. M02.3-1. 직원 정보 관리 Form 수정 – 생성일 Default 설정 (2/1) 1 2 3 § Cre_date : Default : Type: expression, PL/SQL : sysdate
  • 116. M02.3-1. 직원 정보 관리 Form 수정 – 생성일 Default 설정 (2/2) § Cre_date : form을 작성하면(좌) 오늘날짜로 credate가 자동 default로 설정됨
  • 117. M02.3-1. 직원 정보 관리 Form 수정 – Validation (1/8) 1 § P22_EMAIL 우클릭하여 validation 생성
  • 118. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 118 M02.3-1. 직원 정보 관리 Form 수정 – Validation (2/8) § Validation의 ID를 mail validation으로 변경 2 3 § Validation, Error 부분 설정
  • 119. M02.3-1. 직원 정보 관리 Form 수정 – Validation (3/8) 4 5 6 § 정규 표현식 (Regular expression) 입력식- 뒷장 참조
  • 120. M02.3-1. 직원 정보 관리 Form 수정 – Validation (4/8)
  • 121. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 121 M02.3-1. 직원 정보 관리 Form 수정 – Validation (5/8) § Email error message: Mail 포멧이 아닙니다. 메일 형식이어야 합니다. (정규 표현식 – Regular expression) ^[A-Za-z]+[A-Za-z0-9.]+@[A-Za-z0-9.-]+.[A-Za-z]{2,4}$ § 핸드폰 번호 Error message: 핸드폰 전화번호 형식이 아닙니다. (예 010-1234-1234) (정규 표현식 – Regular expression) ^d{3}-d{3,4}-d{4}$ § 생년월일 Error message: 생일은 오늘 이전이어야 합니다. (표현식 - Expression) sysdate > to_date(:P22_BIRTH_DAY, 'YYYY-MM-DD')
  • 122. M02.3-1. 직원 정보 관리 Form 수정 – Validation (6/8) 1 2
  • 123. M02.3-1. 직원 정보 관리 Form 수정 – Validation (7/8) 1 2
  • 124. M02.3-1. 직원 정보 관리 Form 수정 – Validation (8/8)
  • 125. M02.3-2. 직원 정보 관리 Report 수정
  • 126. M02.3-2. 직원 정보 관리 Report 수정 – PK 컬럼 출력 2 1 3 4 § Hidden 컬럼 à Plain Text로 변경
  • 127. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 127 M02.3-2. 직원 정보 관리 Report 수정 – Hidden 컬럼화 § CTRL 키 누르고 선택
  • 128. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 128 M02.3-2. 직원 정보 관리 Report 수정 – 컬럼 한글화 Employee_ID : 직원 ID Email : 이메일 Emp_name : 이름 Cell_Phone : 전화번호 Job_ID : 업무 유형 Type_ID : 직급 Team_ID : 팀명 Gender : 성별 Cre_date : 등록일
  • 129. M02.3-2. 직원 정보 관리 Report 수정 – 날짜 포맷 1 2
  • 130. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 130 M02.3-2. 직원 정보 관리 Report 수정 – LOV Value 대체(look up) (1/6) Value(숫자, text)를 대체값(의사, 교수, 응급의학과, 남성 등)으로 변경
  • 131. M02.3-2. 직원 정보 관리 Report 수정 – LOV Value 대체(look up) (2/6) 1 2 § Plain text based on List of values
  • 132. M02.3-2. 직원 정보 관리 Report 수정 – LOV Value 대체(look up) (3/6) 3 § LOV : Job_types 선택
  • 133. M02.3-2. 직원 정보 관리 Report 수정 – LOV Value 대체(look up) (4/6) 1 2 § Plain text based on List of values 3
  • 134. M02.3-2. 직원 정보 관리 Report 수정 – LOV Value 대체(look up) (5/6) 1 2 § Plain text based on List of values 3
  • 135. M02.3-2. 직원 정보 관리 Report 수정 – LOV Value 대체(look up) (6/6) 1 2 § Plain text based on List of values 3
  • 136. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 136 M02.3-2. 직원 정보 관리 Report 수정 – 리포트 꾸미기(Hero) (1/5) § 아이콘, 제목, 설명 추가
  • 137. M02.3-2. 직원 정보 관리 Report 수정 – 리포트 꾸미기(Hero) (2/5) § Content body 우클릭해서 create region (리전 생성) 1 2 § 새로운 Region (NEW)를 올려서 report1 위에 놓음
  • 138. M02.3-2. 직원 정보 관리 Report 수정 – 리포트 꾸미기(Hero) (3/5) 1 2
  • 139. M02.3-2. 직원 정보 관리 Report 수정 – 리포트 꾸미기(Hero) (4/5) 1 § Appearance > template : Hero로 변경
  • 140. M02.3-2. 직원 정보 관리 Report 수정 – 리포트 꾸미기(Hero) (5/5) 2 § Icon 선택 > 새로운 창에서 fa-users 아이콘 선택 3 4
  • 142. M02.4-1. 직원 정보 검색 (1/14) § 검색 부분 추가
  • 143. M02.4-1. 직원 정보 검색 (2/14) content body 우클릭하여 Create region 클릭 1 2 New 자동 생성되면 위치 변경
  • 144. M02.4-1. 직원 정보 검색 (3/14) 4 3 Identification의 Title : Search로 변경
  • 145. M02.4-1. 직원 정보 검색 (4/14) Search 우클릭하여 Page item 2개 (검색부분) Button 1개 (검색버튼) 생성 5
  • 146. M02.4-1. 직원 정보 검색 (5/14) 6 P21_SEARCH_TEAMS 정확하게!! *** 뒤에 SQL문에 쓰임
  • 147. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 147 M02.4-1. 직원 정보 검색 (6/14) 7 P21_SEARCH_GENDERS 정확하게!! *** 뒤에 SQL문에 쓰임
  • 148. M02.4-1. 직원 정보 검색 (7/14) 8
  • 149. M02.4-1. 직원 정보 검색 (8/14) Search 를 없애고 버튼을 파란색으로 변경
  • 150. M02.4-1. 직원 정보 검색 (9/14) 9
  • 151. M02.4-1. 직원 정보 검색 (10/14) 10
  • 152. M02.4-1. 직원 정보 검색 (11/14)
  • 153. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 153 M02.4-1. 직원 정보 검색 (12/14) < Report 조회 조건 > where InStr(':'||:P21_SEARCH_TEAMS||':', ':'||TEAM_ID||':') > 0 and TEAM_ID IS NOT NULL and InStr(':'||:P21_SEARCH_GENDERS||':', ':'||GENDER||':') > 0 and GENDER IS NOT NULL P21_SEARCH_TEAMS, P21_SEARCH_GENDERS의 Key 값을 받아서 검색하는데 사용함 à 이를 위해 Report의 SQL 쿼리에 위의 조회조건을 추가함
  • 154. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 154 M02.4-1. 직원 정보 검색 (13/14) 11 12 Source > SQL 쿼리의 우측 새창 아이콘을 클릭해서 앞서 복사한 where 절 추가
  • 155. M02.4-1. 직원 정보 검색 (14/14) 13
  • 156. M02.4-1. 직원 정보 검색 – default value 설정 (1/6) Page 들어 갔을 때 데이터가 보이도록 설정하고 싶음 (default 로 팀명, 성별의 모든 값을 선택하는 설정 추가) (이때 check box 선택이 없는 상태에서 시작하자. )
  • 157. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 157 M02.4-1. 직원 정보 검색 – default value 설정 (2/6) 1
  • 158. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 158 M02.4-1. 직원 정보 검색 – default value 설정 (3/6) SQL Query returning colon delimited list 2
  • 159. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 159 M02.4-1. 직원 정보 검색 – default value 설정 (4/6) < Default 값 지정 > P21_SEARCH_TEAMS 칼럼에 대해서 select team_id from TEAMS 3
  • 160. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 160 M02.4-1. 직원 정보 검색 – default value 설정 (5/6) 4
  • 161. M02.4-1. 직원 정보 검색 – default value 설정 (6/6) 이제, Page 들어가면 기본으로 값이 모두 선택되어 있음. 따라서, 아래 리포트 내용이 모두 출력됨
  • 162. M02.4-2. 직원 정보 Dynamic Search (1/10) DYNAMIC SEARCH 란? page item(팀명, 성별) 의 값(소아과, 남성 등)이 변경될 때마다 아래 report가 바뀌는 event를 실행하여 동적 검색이 되는 것 ** page item, report 설정 필요
  • 163. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 163 M02.4-2. 직원 정보 Dynamic Search (2/10) 1
  • 164. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 164 M02.4-2. 직원 정보 Dynamic Search (3/10) 2 P21_SEARCH_TEAMS가 변화할 때 Dynamic actions이 발생함
  • 165. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 165 M02.4-2. 직원 정보 Dynamic Search (4/10) 3 P21_SEARCH_TEAMS가 변화= True 일 때 action = Refresh
  • 166. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 166 M02.4-2. 직원 정보 Dynamic Search (5/10) 4 action = Refresh 인 곳은 Region 중 Report1 임
  • 167. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 167 M02.4-2. 직원 정보 Dynamic Search (6/10) 5 P21_SEARCH_GENDERS가 변화할 때 Dynamic actions이 발생함 우클릭해서 Dynamic actions 생성
  • 168. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 168 M02.4-2. 직원 정보 Dynamic Search (7/10) 6 7 P21_SEARCH_GENDERS가 변화= True 일 때 action = Refresh 인 곳은 Region 중 Report1 임
  • 169. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 169 M02.4-2. 직원 정보 Dynamic Search (8/10) 8 Dynamic action 이벤트 발생하면 Report1의 변화부분을 설정 9 Source > Page items to submit을 누른 후 P21_SEARCH_TEAMS, P21_SEARCH_GENDERS 각각 클릭
  • 170. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 170 M02.4-2. 직원 정보 Dynamic Search (9/10) 2개 item이 들어가 있음. 2개 submit 하면 다이내믹 액션 실행(change item à report refresh)
  • 171. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 171 M02.4-2. 직원 정보 Dynamic Search (10/10) 8 버튼 불필요하므로 지움
  • 172. Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted 172 M02.4-2. Dynamic 검색 실행 결과