Forum Discussion

  • Hi SuzieH,

    In the executeLiQLQuery function you have the API version defined as a constant (API_VERSION) per the best practice in the dev docs.

    Where do you recommend this be defined? Does it need to be defined at the top of every FTL file that makes REST calls or is there somewhere in Studio and/or the SDK to define  global variables/constants to use across the environment?

    (Thinking about it while writing this, I wonder if a good option would be to create a higher-order macro file with the constants/variables that is then imported into all other macros/endpoints?)

    Any recommendations would be much appreciated.

    Thanks!

    Jeff