docker-pega-web-ready icon indicating copy to clipboard operation
docker-pega-web-ready copied to clipboard

Env Variable

Open amitdangayach opened this issue 1 year ago • 3 comments

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 avatar Apr 22 '23 13:04 amitdangayach

@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 ?

arvasrikanth avatar Jul 24 '23 12:07 arvasrikanth

@amitdangayach Can you respond to above question?

I would like to provide more details about different configuration options available to update context.ml.

  1. 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
  2. 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.

kishorv10 avatar Apr 29 '24 09:04 kishorv10

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.

github-actions[bot] avatar Jul 05 '24 23:07 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Aug 04 '24 23:08 github-actions[bot]