Expand my Community achievements bar.

SOLVED

Problem in Creating new Schema

Avatar

Level 2

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 .

1 Accepted Solution

Avatar

Correct answer by
Employee

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

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

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

Avatar

Level 2

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

Thanks,

Madhan