Focal Point
[CLOSED] Usage Reports by User

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4467012376

October 22, 2014, 04:43 PM
wf1998
[CLOSED] Usage Reports by User
H,

I am looking for Usage Reports by User (Dashboard and Reporting Objects) in Version 7702. Other than Resource Analyzer Reports.

if it is not possible in webFOCUS7x, can we do in webFOCUS8x other than Resource Analyzer.

This message has been edited. Last edited by: <Kathryn Henning>,




Env Prod:WebFOCUS 7702 ,Windows xp on 64, SQL Server 2008, IRF Tool
Env 1 Local: DevStudio 7702 - MS Windows XP SP2 - Apache Tomcat 5.0.28
Output: HTML, Excel and PDF
October 23, 2014, 02:07 AM
Ram Prasad E
Resource Analyzer provides both reports as well as data for those reports. So in case you need custom reports, then use the data stored by Resource Analyzer and then develop your own reports. Or else without using RA, you need to create process to collect the user usage data(either in DB or in FOCUS or in plain text files). Create reports based on the data that you HOLD.

Hope this helps.

Thanks,
Ram


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/
October 23, 2014, 03:25 AM
Alan B
One of the approaches that can be taken is to use _site_profile to track who is running which focexec and when. This information can be loaded into a table or FOCUS db at run time for all reports.

_site_profile is set up in the Administration Console and is a focexec (normally located in baseapp) that is automatically called immediately prior to the called focexec. Variables for the focexec and user can be gathered in this focexec.


Alan.
WF 7.705/8.007
October 23, 2014, 07:14 AM
Wep5622
If you're using Tomcat, you can write a class (in Java) that implements javax.servlet.http.Filter that logs requests to a file or database. That's what we use. That does require some Java programming and Tomcat configuration knowledge, but it's not that hard to do.

The benefit of the servlet approach is that it wraps the WFServlet call, so you can run some code before the WFServlet call and afterwards as well. For example, we use this to keep track of how long reports take to complete, data that we include in our usage statistics reports.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :