API Add Custom Config to /portal/qer/projectconfig

Hello Community,

is there a defined way to add custom configurations that i created on the API Administrationportal to the API /portal/qer/projectconfig ?

i want create an new Config value (like ServerConfig/PersonConfig/VI_PersonalData_Fields ) with own settings and add this to the projectconfig api.

after that i get this settings in angular and depending on the type of the identity show different fields in the main data.

is there a possibility to extend the response for projectconfig api or can i only create a new/own api?

 

Parents
  • Hi Bertram,

    The defined way is to declare a new configuration object. There is a simple example in the SDK (Sdk03_Customization\07-Configuration.cs) on how to do this. Then define an API endpoint to consume the configuration object on the client (if you even need the values on the client).

    The default portal/qer/projectconfig corresponds to a .NET type so it is fixed and cannot be extended with new properties.

    Hope this helps,

    Hanno

Reply
  • Hi Bertram,

    The defined way is to declare a new configuration object. There is a simple example in the SDK (Sdk03_Customization\07-Configuration.cs) on how to do this. Then define an API endpoint to consume the configuration object on the client (if you even need the values on the client).

    The default portal/qer/projectconfig corresponds to a .NET type so it is fixed and cannot be extended with new properties.

    Hope this helps,

    Hanno

Children