최근 검색
최근 검색 없음

Christos Trochalakis
가입한 날짜: 2021년 10월 16일
·
마지막 활동: 2021년 10월 16일
팔로잉
0
팔로워
0
총 활동 수
2
투표 수
0
가입 플랜
1
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Christos Trochalakis
Christos Trochalakis님이 에 게시물을 만듦
Hello all,
We are developing a zendesk app that is loaded inside an iframe. ZAFClient is correctly initialized on the first request but the state (app_guuid, origin) is not persisted between full reloads of the iframe, as a result the reloaded iframe cannot initialize a ZAFClient instance.
There are a few workarounds to that, most of them a bit hackish or difficult to implement (e.g. using a SPA that holds the state).
We were thinking of another solution, what if Zendesk exposed an additional postMessage API (e.g. by responding to a 'getZAFParameters' message) that returned the app_guid & origin. It seems simple & clean, the parent Zendesk window has the full state and knows the app_guid since it created the iframe in the first place.
Would that sound like a reasonable addition?
ps: we are currently experimenting with a double iframe solution, where the wrapper iframe keeps app_guid and proxies message between Zendesk and the inner application iframe, but we don't quite like the added complexity of that solution.
2021년 6월 01일에 게시됨 · Christos Trochalakis
0
팔로워
3
투표 수
1
댓글