I'm building a top_bar (React scaffold) app that needs to load certain information specific to the current URL that the agent is on, that is, if the URL is of type "agents/tickets/<ID>" and if so fetch the ID.
I have issues with this since top_bar apps do not have a Ticket context. Also, I tried fetching the URL from within the iframe but I got cross-origin blocks (although it may because I tested this locally using ZAT dev server and my domain was localhost, so let me know if i'm wrong here and it's possible on prod environment).
Can you advise on any way to achieve this? I thought about running a hidden sidebar app together with the top_bar app that will supply the context, but there isn't really any information on how to do that.
Any other creative ideas and solutions will be very appreciated.
댓글을 남기려면 로그인하세요.