COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: ARod on 08 Sep 2016 12:04:26 AM

Title: Cognos 11.0.3 Prompt Objects - Hiding Dotted Line
Post by: ARod on 08 Sep 2016 12:04:26 AM
Greetings Everyone,

I am new to Cognos 11 , if you all remember the Java syntax we had for hiding the first 2 lines of Prompts the Header and Dotted line below it in Cognos 10 is no longer working with 11.

If you do have the script for 'Drop Down List' prompt and can share the same it will help me immensely.

Thank you.
Good Day
Title: Re: Cognos 11.0.3 Prompt Objects - Hiding Dotted Line
Post by: bdbits on 08 Sep 2016 03:09:24 PM
It's JavaScript, not Java, but in any case you've not needed JavaScript to do this for quite some time.

Check the prompt's properties for "Hide adornments" and I think the other property is "Header text" (Cognos unavailable to me from here).
Title: Re: Cognos 11.0.3 Prompt Objects - Hiding Dotted Line
Post by: ARod on 08 Sep 2016 11:47:30 PM
Hide Adornments does not remove the dotted line within the Drop Down List Value Prompt.
Header Text is also of no use as I am using a DMR model which already has an 'All' member.

There is some documentation on Prompt API for Analytics 11 , but not getting desired results -
https://www.ibm.com/support/knowledgecenter/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.ug_cr_rptstd.doc/r_prmpt_api_cognos_prompt_getControlByName.html#cognos.prompt.getControlByName