Display Data Source name in report
Hi there,
I have 3 Data Sources (Development, Acceptance and Production) and I want to display in my report which Data Source I'm using. This to prevent I'm not deploying a report to Production while the Data Source is still on Acceptance. How can I do this?
Thank you.
0
Answers
-
To display a data source name on a report, do the following:
- On the Data Explorer tab, add a report variable named something like "dataSourceName".
- In the beforeOpen event of the data source, add code like: vars["dataSourceName"] = this.getName();
- Drag the report variable to the layout and drop it. A data element will automatically be created to display the value.
If there are multiple data sources on a single report, follow the instructions above for each data source and create visibility expressions for the data elements that display the names to control which name(s) are displayed.
Warning No formatter is installed for the format ipb0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 104 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management