AppStudio refresh dataview events

Hi all,

If I add a new dataview in App Studio, how do I create one of these next event refreshes that usually get created natively? How does one get the component ID of a new dataview? Do I have to bind the view to a new panel grid and refresh it in dev tools?

Hello Sir…Did you get anywhere on this ?

I think I’m having a related issue, my created refresh event for a dashboard is not working (works in my test environment but not production).

My suspicion is that the component Id is incorrect, but I haven’t seen where to find the id’s

thanks

Hey Scott,

I did not. The conversion I was working on here was based off a cross-company uBAQ in Classic, which is evidently an “unsupported scenario” in Kinetic so I gave up on re-creating the functionality.

I would still very much love to know how to get the correct component ID though if you should find an answer.

-C

Guys I’m sorry to necro my own thread but I’m trying this again and this still eludes me. I’m converting this global credit manager dashboard, and it includes several BAQs, one of which has a bunch of calculated columns for aging over time.

Kinetic gives me this nice little tracker:

With everything bound up correctly to this nice little dataview:

But, for whatever reason, it fails to create a “Refresh” event for this one particular dataview on its own. All of the other ones in this dashboard were wired up correctly by the conversion:

I can follow Hannah’s guide to create my own version of “Refresh all” but what I don’t understand is how these native refresh events themselves work. They all set the “Invalidated” property to “true” for some Component ID:

I don’t understand what those component IDs are, or how to make app studio refresh my dataview.

Solution here was the erp-baq widget should anyone come across this in the future.

App studio is hard.

This definitely works and I do this myself.

The component ID is the ID of your control, in this case the grid. You will find it under Properties > Basic. If that grid is bound to a Provider Model, invalidating the grid tells the Provider Model to refresh. That’s my understanding of it.

2 Likes