cancel
Showing results for 
Search instead for 
Did you mean: 

Error while creating app specific metadata

0 Kudos

Hello all

I'm developing a fiori app that has a specific data model.So i created my own metadata.xml file to reflect this. When i create an app using this xml file, i get an error that it is an invalid file. How do i check what the error is?

uploading the file for reference.

Thanks.

Meera

Accepted Solutions (1)

Accepted Solutions (1)

former_member190010
Contributor
0 Kudos

Hi Meera,

You can check if you have any syntax error using the Odata Model Editor.

Check the following post where you will find some explanation:

Best Regards,

Emanuel

0 Kudos

HI Emanuel

Thanks for sharing the post about the oData model editor.

tthe editor says that my file is an valid oData model file. when I upload this as a file for my maste detail template app The entity sets show up correctly. But when I press next to enter title etc is says invalid file error. So I'm quite confused.

former_member190010
Contributor
0 Kudos

Try not importing the file.

Instead, just copy the content of your file into the file you are creating using the Odata Model Editor.

Copy your content inside label "schema". ()

Try not to modify the header content. I've seen some differences in the order of some tags of your file, from the one created in the web ide editor.

Best Regards,

Emanuel

Answers (1)

Answers (1)

Former Member
0 Kudos

Did you find a solution for this? I am facing the same issue.

Thanks,

Roopali

Jocelyn_Dart
Product and Topic Expert
Product and Topic Expert
0 Kudos

HI Roopali

you need first to make sure you have a valid edmx file

try this Manually create a EDMX file - HCP

0 Kudos

Hi Roopali

It works best if you replace your EDMX file in a copy of the master detail template rather than create a new project based on your new edmx file. Also before replacing check if the Odata editor says that it is a valid EDMX file... that worked for me. All the best!