Grid ExecuteBAQ fires twice on card expand

Hello all,
I’m adding a Panel Card Grid to Project Entry to pull Project Transactions from a BAQ.
I made a new dataview, added the Panel Card Grid (PCG), and setup the PCG to run the BAQ using the KeyFields.ProjectID in the where clause. Everything behaves as expected; except: monitoring the Network - the ExecuteBAQ calls Twice. Not a huge deal on a small query, and they seem to run in parallel - but probably not a best practice.
I’m strugging to figure out if there’s something I can do to get this to run only once. The work around I found is to build a seperate Event to run the Get function and fill the dataview and then triggering that off the Panel Card Expand event. It’s a solution, but more complicated.
Thanks for your input!




1 Like

Your work around is usually what I do as best practice, because of random side effects of using provider model like this.

On one of my dashboards with a lot of panels, I will do a kinetic-baq get on expand, and clear the dataview on collapse to free memory.

1 Like

Thank you Gabriel,
That seems like the best solution. I appreciate your reply!
Jody