Programmatically Creating Presentations with Widgets

  • 1
  • Question
  • Updated 3 years ago
  • Answered
We're looking to create a number of presentations programmatically which would include our own custom widget and the Cenique video widget... the only differences between generated presentations being the widget confgurations.

I've taken a look at the https://help.risevision.com/developer/core-api/presentation/core.presentation.add and https://help.risevision.com/developer/core-api/presentation/core.presentation.patch documentation, but I was hoping someone could confirm that this was possible before going through the whole process.

I get the feeling that creating a simple presentation through the API can be done easily enough, but has anyone ever successfully created a presentation with an embedded and configured widget through the Core API?
Photo of Shawn Marincas

Shawn Marincas

  • 220 Points 100 badge 2x thumb
  • hopeful

Posted 3 years ago

  • 1
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Hi Shawn,

I just wanted to check in to let you know we're not ignoring you! I've asked one of our core developers to take a look at your question as this is outside of my wheelhouse!
Photo of Shawn Marincas

Shawn Marincas

  • 220 Points 100 badge 2x thumb
Cool, thanks!  Let me know, we've got some cool stuff we're putting together and we're hoping this will facilitate putting it together pretty quickly.
Photo of Blake Freeman

Blake Freeman, Official Rep

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

I've spoken with our core team. This is uncharted territory and no one has ever done this before. We don't know if this will work, or if it will break as things change and evolve with Rise Vision. We can't recommend that you do this, but you are certainly welcome to try! 
Photo of Stephen Garrett

Stephen Garrett, Champion

  • 2,674 Points 2k badge 2x thumb
Ack! We started building our admin tools using the presentation API after it came out that there was no plan to implement white labeling. I am getting close to being done with interface now. Please don't change it too much.
Photo of Stephen Garrett

Stephen Garrett, Champion

  • 2,674 Points 2k badge 2x thumb
Hey Shawn,

I have been doing exactly this for the last couple of weeks with our custom widgets. Before you build anything, you can test submitting presentations with Rodrigo's API tester...

http://rise-vision.github.io/core-api/

I have been building a presentation with rise vision's layout tools in the dashboard and using it as a template for building the "layout" string. I submit it with either "add" or "patch" and then make it live with "publish."
(Edited)
Photo of Shawn Marincas

Shawn Marincas

  • 220 Points 100 badge 2x thumb
Excellent Stephen!  I was assuming that the widgets are configured through the presentationData json?

Blake, as the platform evolves are you expecting to change how this API works?  Are there plans to make this more or less difficult?  Also, would we get a heads up regarding any planned changes before they go live?

Thanks for the help guys, excited to test out this integration.
Photo of Stephen Garrett

Stephen Garrett, Champion

  • 2,674 Points 2k badge 2x thumb
Exactly. I just have some functions that loop through an array that holds the settings for each widget Then, I use that information to build the presentationData object.