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

Read out a parameter in Dataelements

Started by nugget, 16 Feb 2009 08:05:29 AM

Previous topic - Next topic

nugget

Hi forum,

how can i read out a parameter in a dataelement. i want something like this ParamDisplayValue(?Prompt?). But the function ParamDisplayValue() is not supportet in dataelements. how can i get a value of a prompt in a dataelement. if i write ?Prompt? into it and run the report, a promptpage is displayed. but this is not what i want i only want the value of a prompt if someone is selected.

i hope you understand my problem. my englishskills are not the bests  ;D

Rajaggopal

i think im missing something, but how do u intend someone to select a prompt value without a prompt page?

nugget

you can set a parameter over the url (add &p_parametername=foobar).

but i solved my problem so this thread can be closed.

Rajaggopal


nugget

ok i tried to explain but i have to warn you about my english ;-),

i had a tabnavigation in my reports with html-elements so i have to send additional parameters with each tablink (&p_). the problem was that it was not apple to get the parameter values in the url. now i have changed my hole concept. i dont use htmlelements for my tabnavigation anymore. now i build a new tabnavigation with a list-object (for styling the tabs with stylevariables) and textelement. to navigate i use the drillthrough option to link of the report itself to send the parameters.

its a little more waiting time between you navigation from one tab to another but its work for me and its more compatible to further changes in cognos because there is no javascript in the report anymore.

greets


Rajaggopal

Thats an interesting solution for tab navigation without java scripts :)