Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Parameters in libraries
badhorse
We have a report with a Parameter in a Library linked in.
We want to get all the parameters in the report including name, promptText, defaultValue, etc.
We call GetParameterDefinitionTask.getParameterDefns( false );
We get the list of params ( including the inherited ones), but the inherited ones have 'null' for the promptText unlike the non-inherited ones. Is there an easy way to get the same information on the inherited parameters?
Find more posts tagged with
Comments
mwilliams
Hi badhorse,
I'm not sure I'm understanding completely. Can you explain your issue a little further? Thanks.
badhorse
Thanks for the reply. I personally am not the guy who ran into this, but I'll try to describe it as I understand it. We used to have the parameters in the report, not in a library, and at runtime we'd iterate through the params in the report and gather all the info about them - like the promptText, for example. Once we put the parameters in a library and import from the library, we still see the params and can iterate through them. But, we only see the names. The promptText, defaultVal, etc are all null.
mwilliams
badhorse,
This may be a bug. The parameters still work as expected, you just can't access the info you're wanting? Can you post all the code that you're using to access this info? Do you have your resource folder set?