Tabular Report Re-Run button/close parameter window

Description

We would like reduce number tabs opened, and make reporting more contextual.

changes

1. add new button on report viewer - “Re-Run” - opening rendered with last saved query

2. do not open new tab, but force/open in self tab.

use cases

actual:

  • select report (parameter window opened) +1 tab

  • select parameters, run report

  • report result rendered in viewer +1 tab

  • run the same report - return to previous tab - > click to parameters then change and run it again - > run new instance of the report so +1 tab

suggested:

  • select report (parameter window opened) +1 tab

  • select parameters, run report

  • report result rendered in viewer +1 tab in same step -1 tab (first with parameters) - > saved query saved, parameters are displayed in header

  • user need run the same reprot with new parameters (let say tuning.) - then click on icon in viewer toolbar

  • report parameter window popupped over analysed report (not as new tab), run it. (refreshing in existing tab)> as additional improvment we should able run as same instance or run new one (+1 tab)

we suggest replace current behaviour with new one

performance perspective: before this suggested change the user run the same report 3x them this destroy chrome tab ram and increase DOM objects. so indirectly save browser performance !

Environment

None

Attachments

1

Activity

Nicolas Micoud 
August 4, 2023 at 6:38 AM

Hi ,
Tested (on my v10 instance) and issue is gone ; thanks !
nb: I haven’t tested other issue

Thanks,

Nicolas

Heng Sin Low 
August 4, 2023 at 6:16 AM

hi ,

Please check whether fix your issue.

Regards,

Low

Carlos Ruiz 
August 1, 2023 at 12:55 PM

OK, I found a way to make this configurable in case somebody doesn’t want to use it, or is causing problems:

1 - Set SysConfig ZK_REPORT_TABLE_OPEN_IN_NEW_TAB = Y

2 - Using Role Toolbar Button Access hide the button Report - ReRun, this can be done for a specific process, or for a role, or for everybody. In the case of Replenishment that presents a problem, then we can hide it just for this process, or, in Nicolas’s case, if he wants to hide the button just for the report that has PredefinedContextVariables, it is possible.

Nicolas Micoud 
July 31, 2023 at 2:53 PM

Found another issue ; context is not used when re-running the process.

If you defined some PredefinedContextVariables on a Menu in order to use them when executing a report, they won't be reused when clicking on the "ReRun" button.

And is because the WindowNo is different (eg: if the tab opened from the menu is 6 (the one with the parameters), the report is displayed in 7).

So the context is "empty" (ie IsSOTrx and PredefinedVariables are not set)

 

(original message )

Norbert Bede 
July 27, 2023 at 7:25 PM

hi,

another annoying issue. when re-run open the parameter panel, doesn’t set defaults from previous run.

eg. i have 5 formats, first run use format 3, but on re-run format 1 loaded, then user accidentally re- run it but format will be wrong.

this is especially annoying when print format has different report view, with another level of grouping.

nb

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created April 25, 2022 at 12:36 PM
Updated November 1, 2023 at 11:07 AM
Resolved August 9, 2023 at 2:00 PM