Error in creating Data Schema | Community
Skip to main content
chaitanyav
Level 2
Jul 12, 2018 1:44 PM UTC
Solved

Error in creating Data Schema

Hi All,

I are trying to create data schema in Adobe Campaign and I am getting the following error

Please help me on this.

Thanks,

Chaitanya

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Prem_Kumar_Gane
Prem_Kumar_GaneAccepted solution
Level 3
Jul 18, 2018 12:47 PM UTC

Then , I believe there is error in your XML .  It should be as below . Also its recommended not to use 'nms'  namespace for creating any custom schema. If you still want with nms namespace, try deleting your schema and recreate as shown below . else try creating with different namespace as per your need and this should resolve your issue.

<srcSchema _cs="Recipients index (nms)" created="2018-06-19 10:06:12.190Z" createdBy-id="1133699433"

           desc="Recipients index" entitySchema="xtk:srcSchema" img="" label="Recipients index"

           labelSingular="Recipients index" lastModified="2018-07-13 07:38:49.082Z"

           md5="2B5B0D3667159163610E2DAC2AB51559" modifiedBy-id="1133699433" name="recipientsIndex"

           namespace="nms" xtkschema="xtk:srcSchema"/>

 

 

     <element label="Recipients Index" name="recipientsIndex"/>

</srcSchema>

Thanks,

Prem Kumar Ganesan

13 replies

chaitanyav
Level 2
Jul 18, 2018 1:31 PM UTC

Hi Prem,

The code you have provided is working

Thank you so much

Chaitanya

Translate
Prem_Kumar_Gane
Prem_Kumar_GaneAccepted solution
Level 3
Jul 18, 2018 12:47 PM UTC

Then , I believe there is error in your XML .  It should be as below . Also its recommended not to use 'nms'  namespace for creating any custom schema. If you still want with nms namespace, try deleting your schema and recreate as shown below . else try creating with different namespace as per your need and this should resolve your issue.

<srcSchema _cs="Recipients index (nms)" created="2018-06-19 10:06:12.190Z" createdBy-id="1133699433"

           desc="Recipients index" entitySchema="xtk:srcSchema" img="" label="Recipients index"

           labelSingular="Recipients index" lastModified="2018-07-13 07:38:49.082Z"

           md5="2B5B0D3667159163610E2DAC2AB51559" modifiedBy-id="1133699433" name="recipientsIndex"

           namespace="nms" xtkschema="xtk:srcSchema"/>

 

 

     <element label="Recipients Index" name="recipientsIndex"/>

</srcSchema>

Thanks,

Prem Kumar Ganesan

Translate
chaitanyav
Level 2
Jul 18, 2018 12:28 PM UTC

Hi Prem,

I have copied the entire XML which is there in our schema.

Thanks,

Chaitanya

Translate
Prem_Kumar_Gane
Level 3
Jul 18, 2018 12:11 PM UTC

Hi Chaitanya,

In the above XML, I couldn't see any attribute definition and srcSchema ending tags . Can you please copy the entire XML of your schema ?

Thanks ,

Prem Kumar Ganesan

Translate
chaitanyav
Level 2
Jul 18, 2018 8:38 AM UTC

Hi Vipul Raghav

Can you please help out with this.

Thanks

Chaitanya

Translate
chaitanyav
Level 2
Jul 16, 2018 9:33 AM UTC

Hi,

No I did not modify the Schema manually and i am not sure how was this created.

Translate
vraghav
Employee
Jul 16, 2018 9:31 AM UTC

Your screenshot says that recipientsIndex is a factory schema which is not true.

Did you happen to modify a factory schema manually?

How was this created in the first place, can you please help answer that?

Translate
chaitanyav
Level 2
Jul 16, 2018 9:05 AM UTC

Hi Vipul

<srcSchema _cs="Recipients index (nms)" created="2018-06-19 10:06:12.190Z" createdBy-id="1133699433"

           desc="Recipients index" entitySchema="xtk:srcSchema" img="" label="Recipients index"

           labelSingular="Recipients index" lastModified="2018-07-13 07:38:49.082Z"

           md5="2B5B0D3667159163610E2DAC2AB51559" modifiedBy-id="1133699433" name="recipientsIndex"

           namespace="nms" xtkschema="xtk:srcSchema"/>

This is the recipientIndex Schema which is available with us.

Translate
vraghav
Employee
Jul 14, 2018 5:16 AM UTC

Please copy the schema XML for "recipientsindex" here so that we can review and also attach the screenshot showing your scehma.

Translate
chaitanyav
Level 2
Jul 13, 2018 10:03 AM UTC

Hi,

Thanks will try this

Translate