20210907 - 일반 리전 - 히어로 템플릿 아이콘 대신 URL 링크된 이미지 불러오기

1. Static Content 리전 생성

Identification - Title : &P52_STORE_NM.

Appearance - Template : Hero

Template Options : Use Template Defaults, Featured, Circle

Icon : icon-hero-css


2. Page 속성

CSS - Inline

.icon-hero-css { 

    background-image: url("&P52_IMGPATH2!RAW.");

    background-repeat: no-repeat;

    background-size: cover;

    background-position: center top;

    background-color: transparent !important;

}


3. 조건에 따라 리전 보이기/감추기

Region - Server-side Condition - Type : Item is NOT NULL

Item : P52_IMGPATH2

이렇게 하면 Item에 값이 Null 이 아닌 경우에는 리전이 보임 (항상 헷갈림)




참고

https://community.oracle.com/tech/developers/discussion/4041356/how-to-make-icon-in-hero-template-get-db-image

댓글 없음:

댓글 쓰기

20250315 - 글로벌 변수 Global Variables

G_USER Specifies the currently logged in user. G_FLOW_ID Specifies the ID of the currently running application. G_FLOW_STEP_ID Specifi...