Our sales managers want to buy a product called Hoopla but we don't have the budget, so I've been asked to build something in-house. The product does quite a bit, but the pieces they're most excited about are:
- The ability to display a rotating series of dashboards
- Notifications that interrupt the stream whenever a booking is closed
I'm then using the streaming API to trigger a confetti cannon and a pop-up modal with the deal details every time an opportunity is closed (see mock-up below)
I've got everything working, but I'm having trouble figuring out how to grab related details like the Owner.Name. The Streaming API doesn't support SOQL relationships, so while I have all of the details in the mock-up below, I have the Ids instead of the sObject names.
Other than redirecting to a new page outside of my flow with a GET variable opp Id in the redirect url, is there a way to dynamically send the streamed Opportunity Id to my visualforce controller so I can get the relationship details?
Ideally, this would be like an ajax call, so I don't have to refresh the page and/or exit my visualforce "app"