cancel
Showing results for 
Search instead for 
Did you mean: 

neo-app.json Vs manifest.json

0 Kudos

I am new to SAPUI5. I see that we use manifest.json to configure all our meta data details that will help the browser while launching our application. And, I also see that neo-app.json also serves the same purpose as manifest.json. Is the former replacement of the latter or is there any difference between the 2 files.

TIA

boghyon
Product and Topic Expert
Product and Topic Expert

I understand the confusion. Web IDE calls the neo-app.json file Application Descriptor whereas in UI5, the manifest.json is commonly called.. Application Descriptor. 🙂

Accepted Solutions (1)

Accepted Solutions (1)

maheshpalavalli
Active Contributor

No,

Manifest.json is for ui5 configurations like Routing, Enhancements, Models, versions etc..,

https://sapui5.hana.ondemand.com/#/topic/be0cf40f61184b358b5faedaec98b2da

https://help.sap.com/doc/saphelp_nw751abap/7.51.0/de-DE/74/038a52dcd7404e82b38be6d5fb1458/frameset.h...

Neo-app.json in on premise dont have much use, it is used in webide fro configuring the paths.. lets say, for a ui5 app to run, it needs odata service and ui5 resources,

if you want to load the ui5 resources, you load it from onpremise, openui5 or from the webide(onpremise and cloud) itself(which is fast here), so inorder to do this, you need to configure the path from which it has to reach in the neoapp.json

Also, if you will configure the odata service destination in cloud platform, you need to use that path whever an odata request is sent from you app when you are running in the webide(not from gatewaysystem) as we will get same origin issue if we directly use our odata service, so we will configure the path in neoappjson.

For cloud, its whole different game and different options are available which are not applicable to the onpremise atleast for now i think.

https://help.sap.com/saphelp_uiaddon20/helpdata/en/28/fa7538c67e4280a0b7708de2951278/frameset.htm

https://archive.sap.com/discussions/thread/3876507

https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/aed1ffa3f3e741b3a4573c9e475...

BR,

Mahesh

0 Kudos

Hi Mahesh,

Firstly thank you for the inputs. I understand that we are using neo-app.json for the configuration of data resource paths. But I believe this can also be done by using the destination option available in the cockpit and add its reference under the models section of manifest.json. Is this approach similar to what neo-app.json does?

a_havaldar
Employee
Employee
0 Kudos

Hello Mahesh,

Can I put neo-app.json file inside webapp folder and if I put it inside webapp do I need to any configuration?

Regards,

Azhar

Answers (1)

Answers (1)

former_member273190
Participant
0 Kudos

Hi maheshkumar.palavalli,

Can i use neo-app.json to configure an external API path? Let's say i need to get data from a public API but i don't need to expose the whole URL directly on javascript code in my app and also for security purposes because i won't use SCP, just on premise and the custom app into Fiori launchpad.

BR,

Maurício

maheshpalavalli
Active Contributor
0 Kudos

Hi Mauricio,.

from my understanding, it is not possible. Neo app json will not be used in on premise scenario. It will be only use for testing webide.

Thanks,

Mahesh