on ‎2021 Apr 20 7:36 AM
Hi SAP,
We have a requirement, where we need a multivalue field (Tag) in the SAP marketing cloud.
Our scenario is: Action: Loading contact "A" with tag "new" through contact API
Result: Contact A should have a tag of "new"
Action: Loading the same contact A with tag "latest" through contact API
Result: Contact A should have tag "new" and "latest"
In our scenario at one-time contact will have only one tag value, but we require to see all the tag values(past tag) for that contact in segmentation, in this situation can we use the Marketing attribute feature?
Please let me know if we can build some custom solutions for this.
Thanks!
Anuja
Request clarification before answering.
I think you can use MarktingAttributes for your use case.
I would suggest to create a custom field to store the import time stamp, so you can use this time stamp to geht the latest attribute within the segmentation (if you want).
When Importing a Contact, you need to set a PATCH operation:
PATCH MarketingAttributes(ContactID='<ContactID>',ContactOrigin='<ContactOrigin>',MarketingAttributeCategory='<MarketingAttributeCategory>',MarketingAttributeValue='<MarketingAttributeValue>') HTTP/1.1
Content-Length: 1035
Accept: application/json
Sap-Cuan-RequestTimestamp: '2017-09-29T12:13:14'
Sap-Cuan-SourceSystemType: EXT
Sap-Cuan-SourceSystemId: HYBRIS
Sap-Cuan-SequenceId: UpdatePatch
Content-Type: application/json
{
"ContactID": "<ContactID>",
"ContactOrigin": "<ContactOrigin>"',
"MarketingAttributeCategory": "<MarketingAttributeCategory>",
"MarketingAttributeValue": "<MarketingAttributeValue>",
"CustomField_ImportTimestamp": "2017-09-29T12:13:14"
}
<br>
PUTUpdate or create marketing attributes.
PATCHYou must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anuja,
Yes for the Multi Value field , You are right , you can go with Marketing Attributes feature which ideally should solve your requirement.
Regards,
Saravana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.