AnsweredAssumed Answered

[URGENT] Environment Variables in LAC?

Question asked by kkaus on Nov 14, 2017
Latest reply on Dec 13, 2017 by kkaus

As all servers/application has the concept of Environment Variables. I do have a use case where I need this feature in LAC. Here it is - 

 

When I am creating a Java Script Resource or a Function there I may be calling a resource using

SysUtility.getResource('URL', {}, {}, {});

 for URL  -  I need to mention the URL of LAC where it is located and now suppose I have two LAC environment - Production & Development.

When I will move the LAC components (Resources, functions, Request events) from development to production server then I have to make changes to EVERY Resource and function where I have written the URL statement. Its an overhead and rework in case of LAC. Looking for any solution/workaround for this.

 

Does anyone have a solution for this? Or I am implementing the SysUtility.getResource() function in wrong way.

 

Thanks in advance!

 

tarma06 - I always expect help from you.

Outcomes