cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to add a custom field to CUAN_IMPORT_SRV?

pavel_denisov
Associate
Associate
0 Kudos
436

Some context - we need to send a hashed id of contact to Mkt, since we are setting up integration with Google Analytics, which has only hashed Ids of contacts. So we setup a new field "hashedId" in Mkt and try now sending it from Commerce to Marketing using CUAN_IMPORT_SRV (with ExpressWay). What happens is that Commerce makes a request first to $metadata url and only sends fields that are present in that object definition, and that new field is not present in the metadata. So apparently there needs to be some configuration done there. Anyone knows how to do it?

found this, which says it may need some "activation" - https://answers.sap.com/questions/12187416/how-to-add-custom-fields-to-content-area-of-contac.html

Not a Marketing expert so not sure what is meant by that. is there any documentation regarding how to add a new field and make it appear in OData? Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Filip_Zarnovicky
Participant

Hello Pavel,

I've written whole step-by-step guide with screen video about creating custom field. I believe answer to your question is step no. 7 (in video about 1:17). Hope it will be useful for you.

https://www.anodius.com/en/qa/how-to-create-a-custom-field-in-sap-marketing-cloud

Best regards,

Filip

Answers (1)

Answers (1)

SCHNEIDERT
Active Contributor

Hi pavel.denisov,

first you should know that the CUAN_IMPORT_SRV is deprecated since 1908 release. So maybe you should better use API_MKT_CONTACT_SRV for example.

To make the field available you should use the app Custom Fields & Logic. There you choose the field you want to make available.

In the tab OData-APIs you can activate it for your service (s. screenshot).

Hope that helps.

BR Tobias