How to Use JavaScript Variables in WebReport Tags
Options
I've made an ajax request to ?func=personal.settings in order to get the user's language settings. I then used JavaScript to see if en_CA" SELECTED>English or fr_CA" SELECTED>Français is present. I like to put the results into a WebReport tag but I noticed two things.
1. WebReport tags seem to ignore JavaScript rules so if you put one tag in an IF and the same tag in an ELSE, it will still populate the first (regardless if it meets the if requirements) and override it with the second.
2. I might be missing something but i don't see a way to put a JavaScript var in at WebReport tag var. It only seems to accept strings.
Is there a way to work around the two above issues? Also, please let me know if there is a better place to post this. This is for an active view but it uses the same tag system as WebReports.
1. WebReport tags seem to ignore JavaScript rules so if you put one tag in an IF and the same tag in an ELSE, it will still populate the first (regardless if it meets the if requirements) and override it with the second.
2. I might be missing something but i don't see a way to put a JavaScript var in at WebReport tag var. It only seems to accept strings.
Is there a way to work around the two above issues? Also, please let me know if there is a better place to post this. This is for an active view but it uses the same tag system as WebReports.
0
Comments
-
This forum community is for OpenText Analytics Designer and Eclipse BIRT Designers. It does not feel like you are using these product. Correct me if I am wrong. If you are using OpenText Analytics Designer, I would say attach a sample report to get a faster response.
0 -
If you are unable to find the community, let me know the product name and I will look it up.0
Categories
- All Categories
- 108 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 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
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management