function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Flex grid and merge fields

Is there any way to get access to a merge field within the flex code?

I have a grid on one of my custom object detail pages and I need to know in my flex code what the id of the custom object's page is, so I can show the proper information in the grid...

Any ideas? thoughts?

Thanks in advance...
Ron HessRon Hess
yes, you can set paramaters in the object imbed where the flex SWF is called , these are 'flashvars'

then you can read the value of these from inside Flex / ActionScript.

look for Application.paramater inside the toolkit to see how these values are passed from the scontrol to flex
I tried that and it lets me compile fine but when I test it out in salesforce, I get a huge error log stating something about a null reference...
never mind...I had the syntax wrong for getting the value in my flex code...

application.parameters.(name of variable) works great...