RE: Easiest way to set configuration key and value and retrieve with x++ in form extension
Hi Martin, thanks again for the updates.
My question was more towards having a configuration key value pair that I can set and reference in the code of my form extension.
More specific, I have a class that extends the form I need - [ExtensionOf(formStr(DimensionValueDetails))] - with some event handlers that are executed when CRUD events occur, calling an API.
For each environment, I want to target a different API:
FinOps Dev --> API DEV
FinOps Test --> API Test etc.
In other applications I would have an app.settings.{environment}.json or a web.{environment}.config
How can I set and retrieve these kinds of values?