Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Error in creating Data Schema

chaitanyav
Level 2
Level 2

Hi All,

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

Capture.JPG

Please help me on this.

Thanks,

Chaitanya

1 Accepted Solution
Prem_Kumar_Gane
Correct answer by
Level 3
Level 3

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

View solution in original post

13 Replies
shrawans3153003
Employee
Employee

HI Chaitanya,

It looks like Schema recipientsindex has been incorrectly modified.

You can try to regenerate the schema and see it helps

Select the schema(s) you need to regenerate.

Right click and choose Actions > Regenerate selected schemas....

Click OK to confirm and launch the process.

Regenerating schemas

chaitanyav
Level 2
Level 2

Hi

I tried to regenerate the schema as you mentioned even then it is showing the same error.

Thanks,

Chaitanya

shrawans3153003
Employee
Employee

Hi,

If you have the same schema in any other environment, please compare both schema's xml to see the differences.

Vapsy
Employee
Employee

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

chaitanyav
Level 2
Level 2

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.

recipient Index.JPG

Vapsy
Employee
Employee

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?

chaitanyav
Level 2
Level 2

Hi,

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

chaitanyav
Level 2
Level 2

Hi Vipul Raghav

Can you please help out with this.

Thanks

Chaitanya

Prem_Kumar_Gane
Level 3
Level 3

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

chaitanyav
Level 2
Level 2

Hi Prem,

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

Thanks,

Chaitanya

Prem_Kumar_Gane
Correct answer by
Level 3
Level 3

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

View solution in original post

chaitanyav
Level 2
Level 2

Hi Prem,

The code you have provided is working

Thank you so much

Chaitanya