cancel
Showing results for 
Search instead for 
Did you mean: 

Change the conditions of a dataprovider with .Net on BO XIR2

Former Member
0 Kudos

If you want to change the conditions of a dataprovider .Net using commands similar to Java following:

DataProviders dps = doc.getDataProviders();

...

DataProvider dp = dps.getItem(i);

DataSource ds = dp.getDataSource();

Query query = dp.getQuery();

ConditionContainer cc = query.createCondition(LogicalOperator.AND);

ConditionObject co = cc.createConditionObject(ds.getHierarchies().getChildByName(filterName));

FilterCondition fc = co.createFilterCondition(Operator.EQUAL);

FilterConditionContainer fcc = cc.createFilterConditionContainer(operator);

How can I do?

Accepted Solutions (0)

Answers (1)

Answers (1)

Adam_Stone
Active Contributor
0 Kudos

It appears that you are looking to use our Report Engine SDK. Unfortunately our .NET version of this SDK does not have all the functionality that our Java version does.

You maybe able to accomplish something similar using our Web Services SDK as our providers are written in Java.

Former Member
0 Kudos

Is this still the case with the new 3.1 .Net SDK? I need to do the same thing.