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

customize yMkt Data Hub extensions to accommodate the extra fields is showing error as Could not map ODataProperty, how to map custom target attributes to OData Property ?

Former Member
0 Likes
297

Hi Experts,

I need to update customer email from hybris. I can see CustomerEmail field value in both CanonicalParty and TargetYMKTContacts, but not getting updated to end system. Observed below error in datahub logs.

2018-10-19 00:46:11,959 [WARN] [c.h.d.o.ODataClient] Could not map ODataProperty=CustomerEmail defined by TargetItemAttribute=CustomerEmail for ODataEntity=Contacts defined by TargetItem=TargetYMKTContacts

Can you please help.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi ,

Issue shows ODataEntity "Contact" doesn't contains "CustomerEmail" property, Please use EMailAddress instead of CustomerEmail , it will work.

Dowload attached jar file and place into datahub class path along with ootb extensions, you can see all properties of ODataEntity in your info logs. Long back, I created it while digging around the odata extension 😛 , It will help you :).

customymktodataextension.zip

Thanks, Kiran

Former Member
0 Likes

Thanks a lot , it is working fine. Your jar is awesome, When I trigger cronjob, it is printing all properties of ODataEntity corresponding to triggered TargetItem.

Answers (0)