How do I update the Query for the Dataset at runtime?
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
- 107 Developer Announcements
- 53 Articles
- 105 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