Topic scoped field building in the UI

TJ Banghart · Friday Demos · November 7, 2025 · 3:12

Omni has always had the ability to build fields for re-use everywhere, or only inside a single-topic. Now we've wired that up to the UI for way better curation of complex data models. This…

Try it yourselfThe full week on docsmodelingworkbook

Transcript

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

  1. All right. Um, okay. Let me share screen. It's kind of an anti-demo maybe because it's you're not going to see any cool new features. You're probably going to just hopefully just not see errors. So, that's that's the goal here. Um, and it's it's dealing with topic scoping of fields um and editing a topic directly. Uh, so I'll start.

  2. Let me get rid of this thing. So, if you add a field, I'm in a topic order items topic. I have this toggle that's going to determine if you're going to add it to the topic scope or if you want to add it to the shared scope or the workbook scope. Uh, I can make a field, name it test, you know, it doesn't doesn't really matter here.

  3. Add it. That's cool. Distribution centers. Now, since it's in the topic scope, when I go to edit it, this will be it'll just prevent me from sending like editing a field that may or may not exist in the shared model scope or the workbook scope. So, now that it's like overridden in a topic, we're constrained to just editing that object in the topic.

  4. Um, which is something that we didn't really have before because you could just like add a field or edit a field and it might go in the shared model, it might go in the workbook model, it might go in some some model. So now we're we're being very u explicit about where where these things are going. Um I'll just show you that in the topic.

  5. So I have some extra things in here, but this is the test that we just made. So it opens up that view and then drops that field in there. Um and then the next thing we're going to do is like working on promotion story. So, if you have a bunch of changes in a topic and you actually want to like promote them back to the shared, we're going to have like a way to like either promote just those topic changes or revert your topic changes back to the workbook model.

  6. Um, so it's not very exciting stuff, but we're we're working on the topic scoping as a thing. Um, and then I wanted to show like how we're going to test it because there's just a a kind of a large matrix of of different features that we have. You have explicitly extended views in a topic. You have implicitly extended views in a topic.

  7. Um you have topics that are in the shared model that might not have any overrides in the in the in the workbook model. Um and so using like existing components that we have in our testing infrastructure. I'm just like making this little test fixture that just has all these different variations of like how you can set up a model.

  8. Um and it's just writing the YAML. Um, and so you can take that and then you parameterize this Cotlin test and then you just hammer all of these like CRUD things that you're going to do to it like you know you're going to create a field, you're going to edit a field, you're going to change a label, things like that.

  9. Um, but instead of like writing all those tests manually, you just like write the model and then just, you know, the assertions should should work. So been working on how to how to test this stuff better and then going to work on how to uh do that promotion cycle next. Um, so pretty small stuff, but it hopefully is useful and uh makes more sense than what we got now.

  10. That's it. There you go.