Page 1 of 1
Dashboard - update 1 pod
Posted:
Sat Nov 03, 2012 6:34 pm
by JeffKimmel
All,
I have the enclosed dashboard. I have a timer that fires off to check to see if there are new messages. When a driver has a new message it highlights like shown on the second report. When I click the link, it refreshes the report by calling the selnext(). This works OK but it refreshes all the pods & I would like it to only refresh the one report. Is there a way to do that?
Thanks,
Jeff
Re: Dashboard - update 1 pod
Posted:
Sat Nov 03, 2012 8:10 pm
by Carsten Sørensen
Hi Jeff,
If you try setting the refresh interval on the individual report in the package -you might be able to just call the refresh function for the list.
Best regards,
Carsten
Re: Dashboard - update 1 pod
Posted:
Mon Nov 05, 2012 2:32 pm
by JeffKimmel
Carsten,
Thanks for the advice. I think there's a problem with the refresh interval bit. When I set it, it re-runs all the reports as expected but it sets all the reports to the same driver. See the enclosed file for what I'm talking about. I'm using the multi-run report trick. I'm also assuming you are talking about the following functions for the refresh:
ACallfl15480111585486();
ACallfl25480111585486();
Will these name ever change & if so, is there a way I can tell what they are in the javascript code? And to kind of re-state the problem above, when I call these functions it refreshes the expected report but it uses the wrong driver.
Thanks,
Jeff
Re: Dashboard - update 1 pod
Posted:
Mon Nov 05, 2012 4:50 pm
by Carsten Sørensen
Hi Jeff,
I wasn't aware of the use of multi-run. You are right that the ACall.... function would not take the multi-run into account. Multi-run originated in creating a package of reports for n number of customers / companies etc. especially for print-reports - and therefore it hasn't been used previously for individual report refreshes. I think unfortunately that if you need refresh on a multi-run the only real option is "selnext" which you already used initially with the disadvantage that everything refreshes...
Best regards,
Carsten
Re: Dashboard - update 1 pod
Posted:
Mon Nov 05, 2012 7:36 pm
by JeffKimmel
Carsten,
Thanks for the reply. I'll try to tackle this a different way.
Jeff