When deploying streaming apps to customers (or different SAS environments) we have no way of knowing in which logical folder (appLoc) the files will be deployed.
Therefore we have additional logic in sasjsout to dynamically calculate the appLoc at runtime, and replace the paths to the streamed web files.
With this in place, we do not need to hard code the appLoc when compiling the app - and the app can be compiled once / used anywhere.
When deploying streaming apps to customers (or different SAS environments) we have no way of knowing in which logical folder (appLoc) the files will be deployed.
Therefore we have additional logic in sasjsout to dynamically calculate the
appLoc
at runtime, and replace the paths to the streamed web files.With this in place, we do not need to hard code the appLoc when compiling the app - and the app can be compiled once / used anywhere.
FILE=
references