Skip to main content
Milan_Vucetic
Level 9
Aug 28, 2019 1:00 PM UTC
Solved

phone - dataPolicy

Hi all,

I managed to bypass default dataPolicy = "phone" on mobilePhone field in nms:recipient (shema nms:recipient extended and set dataPolicy = "none" ) which enables us storing mobile number as string in prefered format.

But there is a problem with insert mobile phone in Seed addresses (below) where is used  above mentioned field mobilePhone linked from nms:recipient (for which dataPolicy is already bypassed).

Regex is adding extra space and "+" character in any case and I am unable to bypass this.

I tried to extend nms:seedMember as nms:recipient but without success.

Any idea?

Regards,

Milan

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
DavidKangni
DavidKangniAccepted solution
Adobe Champion and Community Advisor
Sep 5, 2019 2:38 PM UTC

milanv69354962​

It was missing a piece in your extension schema. Add this xml before the </srcSchema>. and rename cus to your namespace

  <element desc="Seed to insert in the export files" img="nms:unknownad.png" label="Seed addresses"

           labelSingular="Seed" name="seedMember">

    <element aggregate="cus:seedMember:common"/>

  </element>

Thanks

David

David Kangni

12 replies

Milan_Vucetic
Level 9
Sep 10, 2019 11:50 AM UTC

Hi,

yes, all elements are properly closed.

Folder with this id is Seed Addresses folder (/Resources/Campaign Management/Seed addresses/).

Regards,

Milan

Translate
Milan_Vucetic
Level 9
Sep 11, 2019 1:59 PM UTC

Hi David,

Issue have been resolved. You provided correct solution.

It was not worked for me initially because when extending schema the element below was added by default on the top:

<element desc="Seed to insert in the export files" img="nms:unknownad.png" label="Seed addresses"

           labelSingular="Seed" name="seedMember"/>

Therefore, I had two elements after adding additional xml code following your instructions. Now it is deleted and working properly.

Thank you very much for effort.

Regards,

Milan

Translate