Skip to main content
saikat_kuila
Level 2
May 24, 2016 9:14 AM UTC
Solved

Problem in Creating new Schema

When I am trying to create a new schema , I am getting the following error: "No primary keys found from path in schema 'nms:order'.Error while generating schema 'nms:invoiceLine'.

I have followed the videos in the support portal and am not sure as to why it is not working .

For info I work under my company's proxy .

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Linda_Stinson
Linda_StinsonAccepted solution
Adobe Employee
May 26, 2016 7:27 PM UTC

Which is the schema that you are creating? All schemas must have a primary key defined. It sounds like either the schema you are creating or linking to does not have one. Also, keep in mind that when multiple developers are working on the data model at the same time, you can see other developer's errors in addition to your own when you save.

Can you post some of the XML?

Linda

2 replies

Linda_Stinson
Adobe Employee
Linda_StinsonAdobe EmployeeAccepted solution
Adobe Employee
May 26, 2016 7:27 PM UTC

Which is the schema that you are creating? All schemas must have a primary key defined. It sounds like either the schema you are creating or linking to does not have one. Also, keep in mind that when multiple developers are working on the data model at the same time, you can see other developer's errors in addition to your own when you save.

Can you post some of the XML?

Linda

Translate
cbvmg
Level 2
Sep 30, 2016 12:39 PM UTC

If it's a custom schema, may be try autopk="true"?

Thanks,

Madhan

Translate