You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Besides this, the vendor within the packages was not replaces at all. I think the semantics I used is wrong. However, I did not find a way to apply something like "replace the vendor field in all the packages that are auto-generated by the ord plugin".
The text was updated successfully, but these errors were encountered:
#129 related, at SAP products are also typically added via global ORD registry repo. Maybe we add a property like existingProductORDId: to the .cdsrc.json that would prevent the creation of a customer product and packages would pickup this product. @Fannon , @StefanHenke, @aramovic79 , @zongqichen , what do you think?
@swennemers: I don´t understand the approach in total, but it sounds promising. What would existingProductORDId hold as a value? Would it be something like sap:product:eb.bm.tests: in my above example so that no products object would be included in the ord document? I´m asking because the packages object does not refer to a product, but a vendor. So, I´m wondering how this would be replaced then.
Could you shed some light on this global ORD registry repo. This is different from the system namespace repo?
By default, the ord plugin generates fields with "customer":
products.ordId
: "customer:product:...."products.vendor
: "customer:vendor:Customer:"vendor
: "customer:vendor:Customer:"I want to overwrite these values for a SAP-internal case, but faced a few troubles.
What I tried to do is adding the following config to
.cdsrc.json
:This led to an ord which had a correct product section. However, the
packages
section still had the original product referenced:Maybe this is related to #121.
Besides this, the
vendor
within thepackages
was not replaces at all. I think the semantics I used is wrong. However, I did not find a way to apply something like "replace the vendor field in all the packages that are auto-generated by the ord plugin".The text was updated successfully, but these errors were encountered: