Skip to Content
Former Member
May 05, 2009 at 05:33 PM

Best Practice for Global Constants in IRPT files?



For Global constants that need to be accessed inside IRPT files and would only change as the code migrates from Dev->Test-> Production, what is the preferred method of storing and accessing these constants in a reusable way so that we donu2019t have to change the code of individual irpt files. Additionally, this should not be stored in a code file, as the QA team is uncomfortable with changing code files as we migrate through environments.

It seems like just using a constant only .js file would work, but are there other methods and what is the preferred way of configuring global constants/variables?

Thanks for the help.