
Dynamic tables - links and events (launched)
New controls for dynamic tables - links instead of text, event passing. Continuing to make tables fully dynamic.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
thank you demo um so the first of the um like new column types uh has landed there's still some improvements coming to it but we have link columns now so um if you go into the configuration for a field on a table there's this now like display Tab and I can display it as a link and then that gives me some options so if I want to do a custom URL just like google.com then you know these now um pop open to a static URL but probably more interesting would be to point them at a field so now these are pointing at this you know it's a static but imagine these were like people's social media or whatever um then uh that'll open up to
whatever website you post them to um and then finally and this is the part that hasn't landed quite yet is we have an embed event so if we want like to put my event in here um then these will now they don't do anything when you click on them but they send out a post message to the parent frame so if I add a listener on post message and click then you can see that I get the parent frame along with some you know a data payload and so the data payload is basically like a description of what it is the event and inside that we have what was clicked on and then what is in the row that was clicked on so people want
to populate a form or something like that they'll have that information um and I think that's it for the link types the next types we're going to do are probably image which will have a lot of the same configuration um Richard underneath that stuff is their model like how are we thinking about that Vis A the model I think that there is some work that we're talking about to add like more specifically modeled link Fields but I think that they would be configured in the model and kind of like distinct from this um okay so these will like live at the at the content level probably the table level yeah okay it's sort of like V it's like viz config effectively exactly yeah I think
uh just us having the philosophy for what lives wear is going to be helpful for people um colors is like a great example where I feel like um you could see wanting to have like a field values have colors in the model like that seems pretty elegant but then if we put everything from color in the viz config into the model that's obviously not going to make any sense or work but um like paths for it can be really really powerful to totally and we'll want reusability along along the lines of V viz config 2 that could be coming from model for certain things that sort of makes they're a little bit like more semantically defined like you know I do think that color associated
with like if this it's status and complete is green and failed is red and in progress is yellow or something make makes sense and like there's probably beyond that that really just needs to be reusable viz config kind of kind of logic too Eli do you intentionally have your hand up yeah um because I'm because I don't know much could somebody give me like a product SP like explain like I'm five uh like use case and why those events like why we want those like I like it was cool but I don't get uh I don't get it's really people building out operational uh experiences on on top of data explicitly so like the the things we build automatically so drill drills and links today
end up helping people build operational workflows so you say like okay I'm looking at you know but the the uh sum of sale price I want to go see the individual um order items or see the specific constituent pieces for it uh helps the non- DAT person go and ask that subsequent question and then the the event that passes back payloads for it to mean you can kind of customize what that pay for so it's no longer just limited to drill you could instead say like if the user clicks on complete I could you know publish it and you know do things like cross filter it or I could update the status page or I could update you know other other apis or something like
that uh in sort of a more complete workflow yeah like it people would draw like a dialogue on top of the if frame that would be like maybe it's a drill but lot of times it was like interactive like because they actually like would like drive a a lot of times it was like drive a sale like they'd be like this user looks like they're about to turn so reach out you know send send a camp get them on on board for a new campaign to like bring them back things like that it's like a a power user customization facility okay it's sticky people are like buying Omni to to sell back to their own customers interplay learning was part of I think Richard correct
me if I'm wrong might have been part of what helps parted this too they have a specific use case where they're trying to do some custom drill downs and stuff in tables where they're actually popping out other pages that exist in their app uh they want to have like a drill to and kind of win together between the eye frame and the parent frame um they were kind of doing some of that through the post message that rich Richard built out through the markdown uh tile but this kind of helps enable some other stuff in the table setting as well yeah they literally re built a table in markdown so that they could do this um which isn't isn't ideal it's nice to kind of
give us a proper support for it yeah I can think of some other cute examples like essentially a download button on each cell like I want a table of all the orders this user had and you could just make that hit the download API and then download that tile without having to go through like the handshake of like open link then hit download so it's like applicationing you will thank you