docker-pega-web-ready
docker-pega-web-ready copied to clipboard
Env Variable
Describe the bug How to define custom variable in context.xml and how to refer it in pega code
To Reproduce How to define custom variable in context.xml and how to refer it in pega code.
Expected behavior How to define custom variable in context.xml and how to refer it in pega code.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (if applicable, please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Server (if applicable, please complete the following information):
- OS: [e.g. Ubuntu 18.04]
- Environment: [e.g. Open Source Kubernetes 1.11]
Additional context Add any other context about the problem here.
@amitdangayach can you provide more details on your use case, what is the custom variable you are talking about and how you want use in pega code ?
@amitdangayach Can you respond to above question?
I would like to provide more details about different configuration options available to update context.ml
.
- Pega shipped OOTB data source properties can be updated through environment variable, ref here for the list. These properties overrides the defaults in the context.xml
- Through pega-helm-charts, extra data source configurations or any other resources can be set using CONEXT_XML_SNIPPET environment variable ref here for more details.
This issue has been marked as stale because it has been open for 60 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
This issue was closed because it has been inactive for 30 days since being marked as stale.