Does anyone know if it possible to call in a button/action against a BAQ dashboard you have created please?
We have an order release updateable dashboard which will eventually have a bunch of orders in, where we’d like to create a ‘Select All’ button that updates the Firm Release flag as ticked ready for Update.
The only way we would do it currently is to copy it out into excel, change all the firm release columns to a value of 1 then paste update back in but a button would simplify the process
In classic that is 100% dooable, add a button that does selects all the rows then goes through and updates the field…and I am sure you could do that in the Kinetic UI also.
I tried playing around with the Selection Options, but that doesn’t seem to do what I was expecting…
Next-best would just be - as @Hally indicated - a button that sets all the rows to Firm…
In your event off that button, have a dataview-condition that tests for jobs that are not firm, then run the iterative event that sets that row to Firm
Thank you so much for this and the screenshots included, this has been super helpful to get an understanding of how custom events work!!
It’s not quite working for me yet, as I think I’m using the wrong EpiBinding as I’m trying to figure out at which step, if at all, do I need to reference the dashboard EpiBinding path or the actual OrderRel table.
The Ep Binding in your row-update will be the data view that you specified in the Results of the dataview-condition – I always use “matches”, because that was what I was first taught (I don’t know if there’s anything special about it)
Your event will only have access to the data views loaded on the page you’re in at the time – no direct access to the tables without calling a service or function (or BAQ) – so it looks like TT_OrderUpdateDashboard_0_0 would go in the Dataview field of your dataview-condition widget
Just a quick one on this, just wondering if you have you done this before with a dashboard with multiple BAQ queries at all please?
We are applying the same steps to a dashboard we have created but it’s not working and the only difference between the two dashboards in this original post and this new one we are attempting it for is that it contains multiple BAQs.
What does the trace look like in the browser? Are the events firing, but the actions aren’t doing what they should? or maybe the events aren’t even firing like they should? Don’t forget to look at the contents of the dataviews involved - to be sure that the data you’re expecting is actually where you expect it to be.
Sorry about this, complete newbie with the dev tools. I thought Ctrl-Alt-V shows more detail but can’t get that working, however when clicking on the button we created I get the below unhelpful errors. Is there a way I can run tracing on it a different way that you know of please?
Unless… the ERROR True is not defined means the row-update isn’t happy.
This is now working! Re-created it from scratch again, and the only difference I can spot is that the expression was ‘True’ instead of ‘true’ on the row-update.
I had just started looking at this - and that makes a lot of sense!
Most coding languages are case-sensitive, and your error message indicates it’s looking for a variable called True and not finding it