Expand my Community achievements bar.

Join us for the Adobe Campaign Community Q&A Coffee Break on 30th September at 8 am PT with Campaign experts Arthur Lacroix and Sandra Hausmann.

Custom Schema Target Mapping - Direct Mail

Avatar

Community Advisor

Hi,

 

We are trying to configure the Target Mapping for Custom Schema and while configuring for Direct Mail, we are getting the error below:

 

LakshmiPravallika_0-1666786451869.png

We are getting this error because of this extraField , but here we cant able to update this field.

 

We followed this documentation for configuring the Direct Mail Target Mapping(Point 3)

 

Below is the code we used in Schema:

 

 

<element advanced="true" name="postalAddress" template="nms:common:postalAddress">
      <attribute expr="Smart([../@FIRST_NAME])" name="line1"/>
       <attribute expr="JuxtWords3([../@PO_BOX_CODE], [../@APARTMENT_NUM], [../@FLOOR_NUM])" name="line2"/>
      <attribute  expr="Upper([../@ADDRESS_LINE_1])" name="line3"/>
      <attribute  expr="Upper([../@ADDRESS_LINE_2])" name="line4"/>
        <attribute  expr="Upper([../@ADDRESS_LINE_3])" name="line5"/> 
        <attribute expr="JuxtWords([../@CONTACT_CITY_NAME], [../@CONTACT_STATE_NAME])" name="line6"/>
        <attribute  name="line7" expr= "JuxtWords([../@CONTACT_COUNTRY_NAME],[../@CONTACT_ZIP_CODE])"/>
        <element expr="@line1+'\n'+@line2+'\n'+@line3+'\n'+@line4+'\n'+@line5+'\n'+@line6+'\n'+@line7" name="serialized"/>
      <attribute expr="AllNonNull3([../@CONTACT_ZIP_CODE], [../@CONTACT_CITY_NAME], [../@FIRST_NAME])" name="addrDefined"/>
       <attribute _operation="delete" name="addrQuality"/>
      <attribute _operation="delete" name="addrLastCheck"/>
       <attribute _operation="delete" name="addrErrorCount"/>
      </element>

 

 

 

Could you Please check and let us know.

 

Regards,

@LakshmiPravallika .

1 Reply

Avatar

Community Advisor

Hello @LakshmiPravallika,

could be the form issue. sometimes happens when you selected field and click again to that input somehow it replaces the working link with text that is no longer valid.

Did you click on each field populated if it is not throwing any errors?


Marcel