cancel
Showing results for 
Search instead for 
Did you mean: 

Environment variable in managed approuter

12-10-2021 6:08 PM
vbalko-claimate Active Contributor
1989 views 4 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello,

is it possible to set environment variables to the application which is deployed through managed approuter (HTML5 applications)?

When app is on standalone app, then I can go to space and there is app router application and I can set my custom env variable there.

But I wonder how to do it in managed approuter. Maybe through mta.yaml?

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

mariusobert
Developer Advocate
Developer Advocate
0 Likes

gregorw is right, this cannot be done with the managed approuter. All extensions and configurations that go beyond the xs-app.json configuration, require that you use a standalone approuter.

Something similar has been discussed in this comment (in case you want to dig a bit deeper).

vbalko-claimate
Active Contributor

thank you mariusobert - I changed the app to be served by standalone app router. Still have some problems - proper logout through Launchpad - but it is in different question.

Answers (0)