검색의 구성 Now Assist 버튼
모바일의 표준 카탈로그 검색 결과에 대화형 채팅 단추를 추가합니다. 채팅 버튼은 적격 카탈로그 항목에 대한 새 가상 에이전트 대화로 사용자를 리디렉션합니다.
시작하기 전에
필요한 역할: 관리자
AI 검색 및 Now Assist 셀프 서비스 고급 채팅에서 채팅 단추를 표시할 카탈로그 항목에 대해 활성화되어 있는지 확인합니다Now Assist. 자세한 내용은 AND Display your chat assistant on a portal, channel, or mobile app 문서를 참조하십시오Now Assist in AI Search.
프로시저
- 에서 템플릿 05 카드 템플릿 기록 sys_sg_view_template.do?sys_id=822e2f530f202010e70a4abec4767eee으로 이동합니다.
- 편집할 템플릿 JSON 필드를 엽니다.
-
루트 셀의 하위 배열에서 다음 필수 필드를 포함하는 새 버튼 객체를 추가합니다.
표 1. 버튼 필드 필드 값 유형 "버튼"ID "menu_01"셀 ID "menu_01"컨텍스트메뉴 {"프레젠테이션": "검색 메뉴"}다음은 필수 필드가 추가된 JSON 템플릿의 예입니다.
{ "Type": "ViewGroup", "Margin": { "Top": 12, "Bottom": 12, "Right": 12, "Left": 12 }, "Orientation": "Horizontal", "Alignment": "Center", "Distribution": "Auto", "Id": "root", "CellId": "root", "Children": [ { "Type": "ViewGroup", "Id": "container_02", "Orientation": "Horizontal", "Alignment": "Center", "Distribution": "Auto", "CellId": "container_02", "Children": [ { "Type": "Image", "Id": "image_01", "Scaling": "Fill", "Height": 44, "Width": 44, "CellId": "image_01", "Margin": { "Right": 16 } }, { "Type": "ViewGroup", "Id": "container_03", "Margin": {}, "Orientation": "Vertical", "Alignment": "Left", "Distribution": "Equal", "CellId": "container_03", "Children": [ { "Type": "Text", "TextColor": "#151920", "TextColorVariable": "--now-color_text--primary", "MaxLines": 2, "CellId": "text_01", "Id": "text_01", "Margin": {}, "TextAlignment": "Left" }, { "Type": "Text", "TextColor": "#2C323F", "TextColorVariable": "--now-color_text--secondary", "MaxLines": 1, "Margin": { "Top": 8 }, "CellId": "text_02", "Id": "text_02", "TextAlignment": "Left" } ] } ] }, { "Type": "Button", "TextAlignment": "Center", "Id": "menu_01", "CellId": "menu_01", "ContextMenu": { "Presentation": "SearchMenu" }, "TextColorVariable": "--now-color--primary-1", "BorderColorVariable": "--now-color--primary-1", "BorderWidth": 0, "Height": 24, "Width": 24, "Margin": {} } ] } - 저장을 선택합니다.
- 카드 템플릿 요소 목록(sys_sg_template_slot.list)으로 이동하고 새로 만들기 를 선택하여 새 기록을 생성합니다.
-
새 카드 템플릿 요소에서 다음 필드를 작성합니다.
표 2. 카드 템플릿 필드 필드 값 이름 menu_01유형 메뉴카드 템플릿 템플릿 05 - 저장을 선택합니다.
-
다음을 사용하여 세 개의 카드 템플릿 요소 속성을 만들고 menu_01 카드 템플릿 요소와 연결합니다.
표 3. 카드 템플릿 요소 속성 속성 유형 설명 값 속성 1 추가 작업 유형menu_01_type대화속성 2 아이콘menu_01_icondbc96e63ff523210c63effffffffff8f속성 3 TextColorVariablemenu_01_TextColorVariable--now-color--primary-1