Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
I want to use the value of any environment variable configured in AEM as Cloud Service through Java or JSP or JS file.
NOTE: I don't have any OSGI config. I am trying to get the secret keys stored as environment variables in Cloud configuration (ReCaptcha).
Any help is appreciated.
Solucionado! Ir para a Solução.
Os tópicos ajudam a categorizar o conteúdo da comunidade e aumentam sua capacidade de descobrir conteúdo relevante.
Visualizações
respostas
Total de curtidas
To utilize the environment variable within your Java code, you'll first need to establish an OSGi configuration. This configuration would enable you to access the environment variable through $[env:<variable_name>]. Subsequently, you can consume the OSGi property within your Java code.
To utilize the environment variable within your Java code, you'll first need to establish an OSGi configuration. This configuration would enable you to access the environment variable through $[env:<variable_name>]. Subsequently, you can consume the OSGi property within your Java code.
So without osgi configuration, we cannot access the environmental variable?
Visualizações
respostas
Total de curtidas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas