Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

How to extract prompt values from recurring webi instance

$
0
0

Hi,

 

I have few recurring instances (webi/deski) in BOE 3.1.  I want to extract its prompt values.  How to achieve it.

 

I have queried the ci_infoobject table for si_instance=1 and si_recurring=1. (I don't have any other recurrences like publication, etc.,)

 

The above query gave me all the instances.

 

I started iterating the resultset as IInfoobject.  I am able to get the title, begin date & end date.  But when I try to get the ProcessingInfo I am getting type cast error when I attempt the following thing.

 

IWebiProcessingInfo inf = (IWebiProcessingInfo) io.getProcessingInfo();

 

Also I tried.

 

IWebi webidoc = (IWebi) ios.get(1);

 

for the above command I got internal.excel cannot be casted as webi document.  (The recurrence in the question is schedule to generated excel output).

 

Where am I going wrong.

 

For crystal report I am able to do the following thing

 

IReportProcessingInfo Irptpinfo = (IReportProcessingInfo) io.getProcessingInfo().

 

Kindly guide me.

 

Thanks.

 

Regards,

Subramanian S.


Viewing all articles
Browse latest Browse all 8581

Trending Articles