Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Claim Portal의 YAML 구성 예

Claim Portal은 청구를 분류하고 조사하는 모듈과 관련 객체를 홈 및 메뉴에 배치한 작업 공간입니다. YAML 편집에서도 그래픽 편집기와 같은 구성을 정의할 수 있습니다.

필요한 리소스

이 설정의 RID는 예제에 사용하는 리소스 식별자입니다. 적용할 때는 대상 환경의 Workshop 모듈, 객체 유형, 객체 집합, 이미지와 객체 RID로 바꿉니다. 해당 리소스가 존재하고 사용자에게 필요한 권한이 있어야 합니다. Carbon 내장 모듈의 ri.carbon..core-module 식별자는 내장 유형을 가리킵니다.

구성의 주요 부분

  • displayMetadata는 Claim Portal의 이름과 설명을 정합니다.
  • discoverableModules에는 발견 메뉴에 제공할 Workshop 모듈 두 개를 둡니다. 메뉴의 고정 탭 구성과 발견 목록은 별개입니다.
  • primary에는 Explore data, Alert Triaging, Alert Investigator와 Order View를 고정합니다. secondary에는 All Orders를 새 탭 항목으로 둡니다.
  • Alert Investigator의 variable.priority에는 P2를 전달합니다. autoRefreshOnDataChanges의 값은 이 모듈 매개변수 계약에 맞춰 문자열 'true'로 전달합니다.
  • 홈에는 최대 400×80 로고, 검색 기본 객체 유형과 세 열의 콘텐츠를 둡니다. 카드형 모듈에는 이미지 리소스를 미리보기로 사용합니다.
  • 마지막 열에는 탐색, 객체 유형과 Top Accounts의 두 객체를 배치합니다.

type과 대응하는 값 구조, RID 문자열과 null 및 빈 배열은 서로 다른 의미를 가지므로 임의로 형 변환하지 않습니다. 각 필드의 사용 예는 YAML 참조에 있습니다.

전체 설정

displayMetadata:
  title: Claim Portal
  description: Claim Department App
versionMetadata:
  description: null
discoverableModules:
  - ri.workshop.main.module.25b772f5-a095-48c6-a889-a960eeb93ce1
  - ri.workshop.main.module.6e10d8bb-90a4-47d2-86e3-3f10bfca0a1e
configuration:
  moduleShortcuts:
    primary:
      - title: Explore data
        description: ''
        icon:
          type: blueprintIcon
          blueprintIcon:
            iconName: search
            color:
              type: custom
              custom: '#2965CC'
        moduleRid: ri.carbon..core-module.search
        parameterValues: {}
      - title: Alert Triaging
        description: Inbox for quantity alerts with all the data needed to make a decision
        icon:
          type: blueprintIcon
          blueprintIcon:
            iconName: inbox
            color:
              type: custom
              custom: '#FFC940'
        moduleRid: ri.workshop.main.module.a1838b32-448d-43f6-beff-3c9e40a34929
        parameterValues:
          autoRefreshOnDataChanges:
            type: string
            string:
              string: 'true'
      - title: Alert Investigator
        description: Shows all alerts connected to an order
        icon:
          type: blueprintIcon
          blueprintIcon:
            iconName: badge
            color:
              type: custom
              custom: '#B6D94C'
        moduleRid: ri.workshop.main.module.25b772f5-a095-48c6-a889-a960eeb93ce1
        parameterValues:
          variable.priority:
            type: string
            string:
              string: P2
          autoRefreshOnDataChanges:
            type: string
            string:
              string: 'true'
      - title: Order View
        description: null
        icon:
          type: blueprintIcon
          blueprintIcon:
            iconName: layers
            color:
              type: custom
              custom: '#FF66A1'
        moduleRid: ri.workshop.main.module.6e10d8bb-90a4-47d2-86e3-3f10bfca0a1e
        parameterValues: {}
    secondary:
      - title: All Orders
        description: ''
        icon:
          type: blueprintIcon
          blueprintIcon:
            iconName: clipboard
            color:
              type: custom
              custom: '#202b33'
        moduleRid: ri.carbon..core-module.exploration
        parameterValues:
          objectSetRid:
            type: string
            string:
              string: >-
                ri.object-set.main.versioned-object-set.d1e3f2e1-849e-4aaa-ae01-5c63e8771be7
  parameters: []
  homePage:
    type: internalHomePage
    internalHomePage:
      logo:
        source:
          type: compassResource
          compassResource:
            resourceRid: ri.blobster.main.image.77b48452-73e0-431a-909e-efa286a2d5e2
        maxWidth: 400
        maxHeight: 80
      welcomeText: null
      shouldHideSearchBar: false
      defaultObjectTypesFilter:
        specific:
          selectedObjectTypes:
            - ri.ontology.main.object-type.af927662-698b-42ab-8e91-5d67304b0e8f
        type: specific
      columns:
        - sections:
            - title: null
              description: null
              displayAs: CARD
              contents:
                type: custom
                custom:
                  items:
                    - type: module
                      module:
                        displayMetadata:
                          thumbnail:
                            source:
                              type: compassResource
                              compassResource:
                                resourceRid: >-
                                  ri.blobster.main.image.b551eeb1-ad11-4f19-b166-241a6463f096
                        moduleRid: >-
                          ri.workshop.main.module.a1838b32-448d-43f6-beff-3c9e40a34929
                        parameterValues: {}
                    - type: module
                      module:
                        displayMetadata:
                          thumbnail:
                            source:
                              type: compassResource
                              compassResource:
                                resourceRid: >-
                                  ri.blobster.main.image.545f9fb8-14dc-4b3b-a823-e57492e502d5
                        moduleRid: >-
                          ri.workshop.main.module.25b772f5-a095-48c6-a889-a960eeb93ce1
                        parameterValues: {}
            - contents:
                custom:
                  items: []
                type: custom
        - sections:
            - title: null
              description: null
              displayAs: CARD
              contents:
                type: custom
                custom:
                  items:
                    - type: module
                      module:
                        displayMetadata:
                          title: Order View
                          description: '360 order view '
                          icon:
                            type: blueprintIcon
                            blueprintIcon:
                              iconName: layers
                              color:
                                type: custom
                                custom: '#FF66A1'
                          thumbnail:
                            source:
                              type: compassResource
                              compassResource:
                                resourceRid: >-
                                  ri.blobster.main.image.46edffad-903f-4434-84f0-f0892d861ae4
                            position: TOP
                        moduleRid: >-
                          ri.workshop.main.module.6e10d8bb-90a4-47d2-86e3-3f10bfca0a1e
                        parameterValues: {}
        - sections:
            - title: null
              description: null
              displayAs: null
              contents:
                type: custom
                custom:
                  items:
                    - type: module
                      module:
                        displayMetadata:
                          title: Explore all data
                          description: Search objects and links
                          icon:
                            type: blueprintIcon
                            blueprintIcon:
                              iconName: search
                              color:
                                type: custom
                                custom: '#2965CC'
                          thumbnail: null
                        moduleRid: ri.carbon..core-module.search
                        parameterValues: {}
                    - type: module
                      module:
                        displayMetadata:
                          title: Dispatch Alert
                          description: ''
                          icon:
                            type: blueprintIcon
                            blueprintIcon:
                              iconName: warning-sign
                              color:
                                type: custom
                                custom: '#ff7373'
                          thumbnail: null
                        moduleRid: ri.carbon..core-module.exploration
                        parameterValues:
                          objectSetRid:
                            type: string
                            string:
                              string: >-
                                ri.object-set.main.object-set.3f583a3e-5847-447e-8184-a56fef9a1ccc
                    - type: objectType
                      objectType:
                        objectTypeRid: >-
                          ri.ontology.main.object-type.14014a36-91d6-45b7-a288-bda5f2881568
                    - type: objectType
                      objectType:
                        objectTypeRid: >-
                          ri.ontology.main.object-type.fec52161-983f-40cc-8233-f73112c3850c
                    - type: objectType
                      objectType:
                        objectTypeRid: >-
                          ri.ontology.main.object-type.e5a5adea-cfa4-4a80-808b-3dbbe7e0bc4b
            - title: Top Accounts
              description: null
              displayAs: null
              contents:
                type: objects
                objects:
                  objects:
                    - objectRid: >-
                        ri.phonograph2-objects.main.object.fea24c1e-582d-40ab-85a4-423a523cfb7f
                    - objectRid: >-
                        ri.phonograph2-objects.main.object.9c145afd-baa3-4734-a76d-f5f15f77899d
targetDeviceTypes: []