Model migration mini app

Liam McCarthy · Friday Demos · April 18, 2025 · 1:57

A quick mini app for migrating data models between Omni environments. Another example of simple workflow on top of the API - especially relevant for dev, staging, prod style deployments.

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Cool. Uh, let me start sharing my screen. So, as I was saying, uh, inspired by Ariel's vibe coding, um, I set up an AI IDE, um, and within about an hour, I went from never having used it before to actually building something pretty meaningful and hopefully pretty useful. So, we have a a pair of API endpoints that you can use to transfer a dashboard or a document.

  2. um from one model to another. That model may be on the same environment or maybe on a separate environment. Um so common use case here would be you you accidentally duplicated your models, you want to send move them onto a single model or maybe you've got a development environment and a production environment or an internal environment and an external environment.

  3. Um so now rather than having to go and set up those API endpoints and and interact with them, uh you can go to this stream application which is publicly available. um you can pop in your uh source URL and the API token for that. Um that may be the same as your target uh environment. So you can just say here if you take this it just says that these are the same.

  4. So use them the same. Give a do uh the dashboard ID and then the the model associated to the target you want to send it to. And then when you click here on dark migration, you see it pulls down the spec of that dashboard. Um, and then it uploads it into the target, gives you a bunch of metadata, and then you can go and it links out to that dashboard as well.

  5. Um, so you know, this is just kind of a a showing what the art of the possible is here. Call to action and call to arms for our internal SE teams to start using this stuff more, thinking about how they can use it. Um, and then also our customers as well. Um, this was super easy to get set up with and uh really excited to see what people will be able to do with it.

  6. And uh yeah, I think Jack's going to follow up with uh one of his own. Yes.