Chat이 시작되어 에이전트에 라우팅되면, 에이전트에게 빈 채팅 창이 표시될 때가 있습니다.
재현 단계:
에이전트 측의 JS 콘솔에서 입력: $A.getComponent('<chatBody 컴포넌트 글로벌 ID>').set('v.chatDataFetched', false), Lightning 플러그인을 이용하거나 ChatBody 컨트롤러/헬퍼 코드에 브레이크 포인트를 설정하고 cmp.getGlobalId()를 호출함으로써 글로벌 ID를 얻을 수 있습니다.
engagedChat/conversationLog 구성 요소를 인스턴스화하되 숨김 처리하여(DOM에 남겨둠) 새 메시지를 적절히 수신하고 추가할 수 있도록 합니다.
chatBody에서 본문을 렌더링할 때 서버에서 Chat 데이터를 로드합니다.
고객은 Chat 라우팅/수신 시 실행되는 자동화를 제한하여 이러한 잠재적 영향을 최소화할 수 있습니다. 에이전트가 영향을 받았다는 의심이 들면, 브라우저를 새로 고침하여 최신 Chat 데이터를 로드할 수 있습니다.
002826046

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.