If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Cognos report

Started by sunrat, 02 Apr 2008 01:20:40 AM

Previous topic - Next topic

sunrat

hi ,
I have a question.How to import the data from text file into report studio?
Please suggest the solutions.

biejorrun

I didn't do this myself, i only saw it during a demo...on your prompt page, create some javascript that imports the contents of your text file into a filter.

I only saw this in a demo, I do not have the code (unfortunately).

almeids

I would have naively suggested "read the text file into a text box prompt with Javascript and create a data item from its parameter", but from a little Googling the reading-client-text-file-with-Javascript part is an iffy proposition.
Having said that, Cognos has a Proven Practice document called "Saving Picklist Values to a Local File for Reuse" with JS examples in it.  I wasn't able to get it to work but I'm no good with Javascript, maybe you can tailor its examples for a text box and C8.