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)
Can I access reportContext in a script for on mouseClick event
Subhro
Hi,
I have set reportContext.setGlobalVariable("abc", var) in beforeFactory() event.
Now I want to access the variable in Chart -> Y_ValueSeries -> Interactivity.
I am not able to do that.Could anyone tell me what I am doing is logically correct? If yes then how can I access reportContext in "Chart -> Y_ValueSeries -> Interactivity -> MouseClick" ?
Thanks In Advance
-Subhro
Find more posts tagged with
Comments
bhanley
You may want to look at setting a parameter that you can access at that point. I am not sure you can get visibility into the reportContext from an interactivity event. Instead, create a report parameter, and mark it hidden and not required (this will prevent it from being shown to a user). You can then set the parameter value in your scripting layer (initialize) and easily access it from the expression editor on the chart's Interactivity editor.