Add CustomProperty to new-request-component

Hello community,

We are currently developing our Angular Web Portal using version 9.2.2 and have encountered the following issue:

I would like to display an additional field, CustomProperty02 (from the AccProduct entity), when creating new requests.

I’m aware that I could implement a custom service to retrieve this data, but I was curious if there is a default mechanism or best practice for adding such fields?

In the Angular portal project (new-request-product.ts), I can configure the displayedProductColumns and use them in the corresponding HTML:

TypeScript
this.displayedProductColumns = [
this.productApi.entitySchema.Columns[DisplayColumns.DISPLAY_PROPERTYNAME],
this.productApi.entitySchema.Columns.ServiceCategoryFullPath,
this.productApi.entitySchema.Columns.Description,
this.productApi.entitySchema.Columns.OrderableStatus,
this.productApi.entitySchema.Columns.CustomProperty02
];

However, I’m a bit confused about how to add a field to an existing endpoint. In this case, I want to include CustomProperty02, but no matter what I try, I don’t see this field in prod.entitySchema.Columns.

If anyone has an idea or can point me to a helpful article, I would be very grateful.

Best regards,
Armin