Problem in Creating new Schema | Community
Skip to main content
saikat_kuila
Level 2
May 24, 2016
Solved

Problem in Creating new Schema

  • May 24, 2016
  • 2 replies
  • 1882 views

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.
Best answer by Linda_Stinson

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

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

cbvmg
Level 2
September 30, 2016

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

Thanks,

Madhan