Update presentation with REST call?

  • 1
  • Question
  • Updated 3 years ago
  • Answered
  • (Edited)
I'm trying to wrap my head around all the parts and pieces of Rise Vision and wanted to make sure I'm understanding how everything works together.

I'm attempting to create a presentation with (some) content that can be update through our backend services.  For instance, a user has our app on their phone, they walk near a digital sign that is located by the phone through a beacon.  The phone calls our backend, which sends a REST call to the Core API using Endpoints, which then updates a widget on the digital sign to display "Hello <username>" to the person.

I'm assuming that this would be done by...

1) Creating a custom widget for the presentation
2) Have this widget use "channels" to connect to the Rise Vision Viewer to listen for updates
3) Have our backend use Core API Endpoints to deliver the new content for the custom widget

I would think that this would NOT require a custom Viewer on App Engine.

Am I on the right track so far?
Photo of OC Zingo

OC Zingo

  • 220 Points 100 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
OC Zingo,

I'll pass this along to our developers to look at. Since it's a holiday, most of them are out of the office, someone will respond as soon as they can.

Thanks!
Photo of OC Zingo

OC Zingo

  • 220 Points 100 badge 2x thumb
Thanks!  I'm trying to get a handle on how the widget and the API's all work together to make this happen.
Photo of OC Zingo

OC Zingo

  • 220 Points 100 badge 2x thumb
Blake,

I really need some help here.  Is there a developer available to provide some guidance?
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Zingo,

I have resubmitted this thread to our developers, however they have been swamped. I'm making every effort to get someone to look into this today.
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
OC ZIngo,

Here is the response I received from our back end developer.

"At this point the channel support in our Viewer is limited to content updates. What the user describes cannot be done via channels the way he describes it (developing their own viewer wouldn't help because the Core only transmits signals over the channel when the content updates). If they desire real-time communication with their widget, the widget itself would have to connect to their server and use some other kind of real-time communication (pub/sub etc)."
Photo of Mr Nice

Mr Nice

  • 60 Points
Any update on this or is pub/sub still required?
Has OP been able to get this working with this set up or is there another work around?
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Mr Nice,

No updates to this. pub/sub is still required.
Photo of Byron

Byron, Keener

  • 9,658 Points 5k badge 2x thumb
Mr Nice, my apologies for being late to the discussion. Curious, why not just build a custom html page and use rise vision to deliver that page to your displays? And use something like socket.io or socksjs for the realtime link between your server side app and your web page. Does that make any sense? Thanks