How do I update the Query for the Dataset at runtime?
Options
Suppose I have a pojo dataset, ds. In its equivalent XML representation, it will have tag somewhere, which can be set via ds.setQueryText(...)
Suppose my XML representation is something like this:
...
</Column Mapping>
if I want to add another column mapping to QueryText(), would I need to override the entire thing via .setQueryText(...) or is there some method that allows for adding more column mappings to already existing ones, for example, maybe .addToQueryText() or something like that?
0
Answers
-
you can use scripted datasource and "Describe" event to add a new column to the dataset.
Please refer below post:
https://forums.opentext.com/forums/discussion/47845/scripted-data-source-describe-event0
Categories
- All Categories
- 109 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
- 122 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management