Can I use cookies to recall user selected parameters from last visit?
Options
Can I use cookies to recall user selected parameters from last visit?<br />
<br />
I have a report that is available to a few hundred users, and one of the parameters has a couple hundred choices in a list box (<em class='bbc'>multiple allowed</em>). The report is delivered in HTML via Apache Tomcat 7.0. <br />
<br />
I am very new to JavaScript, but it seems like it should be fairly easy to capture the user selected parameters when the report is run, and send them to a cookie. Then on the user?s next visit grab the values from the cookie and preselect them in the list box. <br />
<br />
I searched the forums and the web and did not find anything. <br />
<br />
Apache Tomcat 7.0 <br />
BIRT 4.2
<br />
I have a report that is available to a few hundred users, and one of the parameters has a couple hundred choices in a list box (<em class='bbc'>multiple allowed</em>). The report is delivered in HTML via Apache Tomcat 7.0. <br />
<br />
I am very new to JavaScript, but it seems like it should be fairly easy to capture the user selected parameters when the report is run, and send them to a cookie. Then on the user?s next visit grab the values from the cookie and preselect them in the list box. <br />
<br />
I searched the forums and the web and did not find anything. <br />
<br />
Apache Tomcat 7.0 <br />
BIRT 4.2
Warning
No formatter is installed for the format ipb
0
Comments
-
This is my when nothing else is happening project so it may take a while to get it all worked out.
After some research, I am moving in a slightly different direction, to achieve this and a related goal.
1. Auto populate report parameters with last values per user
2. Track report usage
I am using All in one 4.2.1 free version, on a corporate intra-net.
Current plan is to create a SQL data base (on the same server as the reportable data) and populate with time stamps, parameter names, and parameter values using Javascript.
Because we have an ASP application on our intra-net that captures login info, I can (in theory, with Java or Javascript call in the xml) capture the login ID used and include that in my SQL data base also.
This gives me (again in theory) a data base with 'by who', 'when' and 'what' was queried in the reports. I can populate like a cookie, even if cookies are disabled AND I can report on report usage, which will allow me to manage the report farm better. Obvious security applications also.
Feel free to share ideas on how to improve or thoughts on why it won't work.Warning No formatter is installed for the format ipb0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax