|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Does anybody in the Focus Nation have a way to retain WHERE conditions from a user's session when filtering on dropdowns? We anticipate two or three dropdowns for filters in addition to dates. Optimally the user would have access to the filters and be able to run a the report in the future applying different dates by clicking on an HTML list of saved filters.
Next question - if you have a way to retain the filters how do you delete old WHERE statements. Thanks to all! Production: WF 7.6.1 Test: WF 7.1.4 Jax |
||
|
|
Virtuoso |
There is "Save Entered Values" functionality which I think will provide what you are looking for. The functionality must be turned on for a each specific user, and then after entering parameters, the user has the option of saving them from the HTML launch screen and giving the parameter set a report name. The parameters are saved in the user's "My Reports" under "Saved Parameters Reports"
Regards, Darin WF Server: 7.1.6 on Z/OS and Linux, ReportCaster, Self-Service, MRE, Java Data: DB2, DB2/UDB, Adabas, SQL Server Output: HTML,PDF,Excel2K WF Client: Linux w/WebSphere, Servlet, CGI |
|||
|
|
Member |
Darin – thanks! I'll suggest that to the client. Right now they are not working with users' "My Reports" but it is worth mentioning.
In earlier discussions the users had a mentioned a preference to just keep named code snippets that would be available in a dropdown box. If anybody else has had success with just saving a code string for later access in a dashboard please let me know. Jax |
|||
|
|
Virtuoso |
All this functionality really does is set default values for parameters and then -INCLUDE a fex. I'm sure you could duplicate this with a few simple fexes that could write out the fex code for the -DEFAULTs and -INCLUDEs to an appropriate folder using parameter values.
This is the contents of the fex that goes into "My Reports." -IF &OUTPUT.EXIST EQ 1 THEN GOTO INCFEX; -DEFAULTS &OUTPUT=PDF; -IF &PARM1.EXIST EQ 1 THEN GOTO INCFEX; -DEFAULTS &PARM1= 1; -IF &PARM2.EXIST EQ 1 THEN GOTO INCFEX; -DEFAULTS &PROCESS=Y; -IF &PARM3.EXIST EQ 1 THEN GOTO INCFEX; -DEFAULTS &EXCL=N ; -INCFEX -INCLUDE app/testfex.fex You could then read the contents of the directory back in and populate a dropdown with the name of those fexes. This is all "in theory" but I don't see a reason why it wouldn't work. Regards, Darin WF Server: 7.1.6 on Z/OS and Linux, ReportCaster, Self-Service, MRE, Java Data: DB2, DB2/UDB, Adabas, SQL Server Output: HTML,PDF,Excel2K WF Client: Linux w/WebSphere, Servlet, CGI |
|||
|
|
Expert |
One method that I used at a previous Client was to have a JS function that read through the whole DOM and, if the value for the control wasn't the default option, write a list of parms that were then written to an MS SQL table. The JS module also had functions for loading the saved variables.
T Current Client: WebFOCUS 7.6.2 Win XP SP2/IIS 6/Tomcat 5.5 - MRE / BID MS SQL / Oracle - DevStudio 7.1.6 for good reason!! Local: WebFOCUS 7.1.3 on Win XP SP2/Apache/Tomcat 5.5 - Self Service |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

