This is the documentation for Clover Club 12.0.
Documentation for the upcoming version Rampur 13.0 can be found here.
SAP C4C - Make Custom Field Accessible via OData
This article describes how to make you your own custom field accessible in OData, so it is included in the standard dataset available via OData calls and thus available for use in the application.
The custom field created in this example is called PFXCustomerId.
Steps:
Log into SAP Cloud Application Studio.
Select solution where you want to add a new field (in our case Account).
Right click the top node and select Add > New Item.
Select OData Extension.
Name the extension and select a particular space (customer in our case).
Right click it and click Activate.
Double click the newly created *.xodata object that will take you to the web version of C4C.
For login use the same (developer) account as for Development Studio.
Load the OData screen and look for your field in the left panel.
In our case: Root > CurrentCommon > PFXCustomerId and check the checkbox.
Save changes.
From now on you will see the field and its data in OData responses.
Â