Carbon YAML 설정 참조
Carbon YAML은 표시 메타데이터, 발견 가능한 모듈, 메뉴와 홈 구성을 정의합니다. 전체 Claim Portal 예제와 함께 사용합니다.
각 블록은 지정한 경로의 설정 예입니다. 기존 파일의 같은 경로에 병합하거나 값을 바꾸며, 여러 블록을 이어 붙여 configuration 같은 최상위 키를 중복시키지 않습니다. RID는 대상 환경의 실제 리소스 식별자로 바꿔야 합니다.
이름과 설명
작업 공간의 표시 이름과 설명은 displayMetadata에 둡니다.
displayMetadata:
title: Claim Portal
description: Everything related to claim management
아이콘
메뉴 항목의 icon 또는 사용자 정의 항목의 displayMetadata.icon에 다음 구조를 사용합니다. type 값과 그 이름에 대응하는 내부 필드를 함께 지정합니다.
Blueprint 아이콘
icon:
type: blueprintIcon
blueprintIcon:
iconName: music
color:
type: custom
custom: '#FF66A1'
Palantir 애플리케이션 아이콘
icon:
type: applicationIcon
applicationIcon:
iconName: contour-app
color:
type: custom
custom: '#FF66A1'
발견 가능한 모듈
discoverableModules는 Open in 후보로 제공할 모듈 RID 목록입니다. 실제 표시에는 입력의 객체 유형 제약과 접근 권한도 적용합니다.
discoverableModules:
- ri.workshop.main.module.25b772f5-a095-48c6-a889-a960eeb93ce1
- ri.workshop.main.module.6e10d8bb-90a4-47d2-86e3-3f10bfca0a1e
메뉴 바로가기
configuration.moduleShortcuts.primary는 고정 모듈, secondary는 새 탭 메뉴의 모듈입니다. 각 항목에 표시 정보, moduleRid와 parameterValues를 지정합니다.
parameterValues의 값은 자료형을 나타내는 type과 값 구조를 함께 사용합니다. 아래 객체 뷰의 objectRid는 type: object이지만, Object Explorer의 objectSetRid 매개변수는 type: string으로 RID 문자열을 전달합니다. 서로 다른 입력 계약이므로 같은 형태로 바꾸지 않습니다.
고정 Workshop
configuration:
moduleShortcuts:
primary:
- title: Alert Inbox
moduleRid: ri.workshop.main.module.a1838b32-448d-43f6-beff-3c9e40a34929
parameterValues: {}
고정 객체 뷰
configuration:
moduleShortcuts:
primary:
- title: Order BF645S
description: null
icon:
type: blueprintIcon
blueprintIcon:
iconName: eye-open
color:
type: custom
custom: '#FFC940'
moduleRid: ri.carbon..core-module.object-view
parameterValues:
objectRid:
type: object
object:
objectRid: ri.phonograph2-objects.main.object.ab863bd7-c82c-482f-9218-9ba1df79bd3c
고정 Object Explorer
configuration:
moduleShortcuts:
primary:
- title: Cancelled Orders
description: null
icon:
type: blueprintIcon
blueprintIcon:
iconName: clipboard
color:
type: custom
custom: '#2EE6D6'
moduleRid: ri.carbon..core-module.exploration
parameterValues:
objectSetRid:
type: string
string:
string: ri.object-set.main.versioned-object-set.36824ec3-3746-4d74-9e96-5094b8c8630e
고정 Search
configuration:
moduleShortcuts:
primary:
- title: Search
moduleRid: ri.carbon..core-module.search
parameterValues: {}
새 탭 Workshop
configuration:
moduleShortcuts:
secondary:
- title: Alert Inbox
moduleRid: ri.workshop.main.module.a1838b32-448d-43f6-beff-3c9e40a34929
parameterValues: {}
새 탭 객체 뷰
configuration:
moduleShortcuts:
secondary:
- title: Order BF645S
description: null
icon:
type: blueprintIcon
blueprintIcon:
iconName: eye-open
color:
type: custom
custom: '#FFC940'
moduleRid: ri.carbon..core-module.object-view
parameterValues:
objectRid:
type: object
object:
objectRid: ri.phonograph2-objects.main.object.ab863bd7-c82c-482f-9218-9ba1df79bd3c
새 탭 Object Explorer
configuration:
moduleShortcuts:
secondary:
- title: Cancelled Orders
description: null
icon:
type: blueprintIcon
blueprintIcon:
iconName: clipboard
color:
type: custom
custom: '#2EE6D6'
moduleRid: ri.carbon..core-module.exploration
parameterValues:
objectSetRid:
type: string
string:
string: ri.object-set.main.versioned-object-set.36824ec3-3746-4d74-9e96-5094b8c8630e
새 탭 Search
configuration:
moduleShortcuts:
secondary:
- title: Search
moduleRid: ri.carbon..core-module.search
parameterValues: {}
기본 홈의 구조
기본 홈은 configuration.homePage의 type을 internalHomePage로 지정하고 실제 구성을 internalHomePage 아래에 둡니다. columns는 열 목록이며, 각 열의 sections에 위젯 구역을 넣습니다.
사용자 로고
logo.source의 compassResource.resourceRid에 이미지 리소스를 지정합니다. maxWidth와 maxHeight는 로고의 최대 크기입니다.
configuration:
homePage:
type: internalHomePage
internalHomePage:
logo:
source:
type: compassResource
compassResource:
resourceRid: ri.blobster.main.image.50505d65-4001-4f55-8fda-669f52347745
maxWidth: 60
maxHeight: 60
구역 제목과 설명
title과 description은 선택 사항입니다. 이 예의 contents는 자동 모듈 목록으로 구성합니다.
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- title: Triaging apps
description: All the apps you need to triage claims
displayAs: null
contents:
type: modules
modules: {}
목록 표시
List가 기본 표시 방식이며 명시할 때는 LIST를 사용합니다.
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- displayAs: LIST
contents:
type: modules
modules: {}
카드 표시
카드형의 값은 CARD입니다.
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- displayAs: CARD
contents:
type: modules
modules: {}
자동 및 선택 목록
contents는 type과 대응하는 세부 설정으로 콘텐츠를 정합니다.
자동 모듈 목록
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- contents:
type: modules
modules: {}
저장 탐색 목록
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- contents:
type: savedExplorations
savedExplorations: {}
주요 객체 유형 목록
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- contents:
type: objectTypes
objectTypes: {}
지정한 객체 유형
objectTypes.objectTypes에 각 objectTypeRid를 나열합니다.
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- contents:
type: objectTypes
objectTypes:
objectTypes:
- objectTypeRid: ri.ontology.main.object-type.14014a36-91d6-45b7-a288-bda5f2881568
- objectTypeRid: ri.ontology.main.object-type.e5a5adea-cfa4-4a80-808b-3dbbe7e0bc4b
지정한 객체
objects.objects에 각 objectRid를 나열합니다.
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- contents:
type: objects
objects:
objects:
- objectRid: ri.phonograph2-objects.main.object.17474c05-bfa3-4477-adc8-9c98e65b0269
- objectRid: ri.phonograph2-objects.main.object.048f39e4-10af-48be-9736-d24191242732
사용자 정의 항목
contents.type을 custom으로 지정하고 custom.items에 항목을 배치합니다. 항목마다 자체 type과 세부 설정이 있습니다.
Workshop 모듈
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- title: null
description: null
contents:
type: custom
custom:
items:
- type: module
module:
displayMetadata: {}
moduleRid: ri.workshop.main.module.525ab70b-d24b-42f4-ad25-a407f0273b83
parameterValues: {}
Workshop 모듈 인터페이스 입력
external ID가 status인 String 변수에 Open을 전달하려면 parameterValues의 키를 variable.status로 지정합니다.
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- title: null
description: null
contents:
type: custom
custom:
items:
- type: module
module:
displayMetadata: {}
moduleRid: ri.workshop.main.module.525ab70b-d24b-42f4-ad25-a407f0273b83
parameterValues:
variable.status:
type: string
string:
string: Open
외부 ID의 URL 전달과 지원하지 않는 값은 모듈 탐색에서 구분합니다.
객체 뷰
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- title: null
description: null
contents:
type: custom
custom:
items:
- type: module
module:
displayMetadata: {}
moduleRid: ri.carbon..core-module.object-view
parameterValues:
objectRid:
type: object
object:
objectRid: ri.phonograph2-objects.main.object.ab863bd7-c82c-482f-9218-9ba1df79bd3c
객체 집합 탐색
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- title: null
description: null
contents:
type: custom
custom:
items:
- type: module
module:
displayMetadata: {}
moduleRid: ri.carbon..core-module.exploration
parameterValues:
objectSetRid:
type: string
string:
string: ri.object-set.main.versioned-object-set.36824ec3-3746-4d74-9e96-5094b8c8630e
객체 유형 항목
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- title: null
description: null
contents:
type: custom
custom:
items:
- type: objectType
objectType:
objectTypeRid: ri.ontology.main.object-type.14014a36-91d6-45b7-a288-bda5f2881568
개별 객체 항목
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- title: null
description: null
contents:
type: custom
custom:
items:
- type: object
object:
objectRid: ri.phonograph2-objects.main.object.17474c05-bfa3-4477-adc8-9c98e65b0269
Compass 리소스
표시 정보와 targetResource.resourceRid를 지정합니다. 다음은 Fusion 문서입니다.
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- title: null
description: null
contents:
type: custom
custom:
items:
- type: compassResource
compassResource:
displayMetadata:
title: Fusion Sheet
description: For spreadsheet use cases
targetResource:
resourceRid: ri.fusion.main.document.01eaf763-c721-4557-b368-42be112e40a3
Foundry 애플리케이션
workspaceApplicationName으로 앱을 지정하며, 이 예는 Contour 앱을 사용하고 relativeUrl을 null로 둡니다.
configuration:
homePage:
type: internalHomePage
internalHomePage:
columns:
- sections:
- title: null
description: null
contents:
type: custom
custom:
items:
- type: foundryApplication
foundryApplication:
displayMetadata: {}
workspaceApplicationName: contour-app
relativeUrl: null