3 replies Latest Post - ‏2013-06-24T21:55:53Z by AndrewPaier
1 Post

Pinned topic Environment variables in Coach view

‏2013-06-20T13:51:33Z |

Is there an API reference available for accessing environment variable inside a coach view, ie in the events load(), view() etc?

  • AndrewPaier
    711 Posts

    Re: Environment variables in Coach view

    ‏2013-06-20T22:42:41Z  in response to jthiru

    As far as I can tell you cannot access anything in a coach view event that wasn't mapped in some manner on the configuration of that coach view.  And in looking at the coaches there is a definite miss here as I can't seem to map an environment variable to any of the config options.  Looks like you would have to make a local variable to pull the value from the environment variable and then hand it to the the coach view that way.

    There is a chance that an eval() statement in the configuration tab might work, but I wouldn't want to depend on that since I doubt it is intentional.

    Andrew Paier  |  Director  |  BP3 Global, Inc.
    BP3 Global's Website  |  Twitter  |  Linkedin  |  Google+  |  Blogs