SAP-archive / sap-devtoberfest-2020

The home of Devtoberfest 2020 - an open celebration of what makes us developers – coding and collaboration!
Apache License 2.0
180 stars 86 forks source link

How to set the Fiori elements as an standalone app in order to register in launchpad #72

Closed jhonj98 closed 3 years ago

jhonj98 commented 3 years ago

Hi @IObert ,

I was asking myself how to create the fiori application you taught us but with the capability of being registered in a Fiori Launchpad site (the new service in cf) in a "easy" way (I already know how to add applications in Fiori launchpad site). I don't know if I am wrong but I have read that I can do it creating the app as standalone approuter, but this option is only visible when creating sapui5 free style application, but not in Fiori elements app.

Could you explain or may be guide me with some links where I can find information?.

Thank you in advanced.

Jhon Jairo.

IObert commented 3 years ago

Hi @jhonj98,

I assume you want that your app is automatically exposed in the "content explorer" so you won't have to add it manually in the Launchpad Site Manager, right? As of today, the Fiori Tools (which generated the Fiori Elements project) only support the "standalone approuter" approach but I know that there are working hard to support the "managed by SAP Cloud Platform" approach as well.

You can follow the instructions in summarized in this post to transform your app manually if you need this today.

Does this answer your question?

jhonj98 commented 3 years ago

Thank you @IObert , The only thing is when I create a Fiori elements application there is not a mta file (among other things), but when I create a sapui5 free style app I do see this file, I assume that with the instructions of your post the idea is to create that mta file manually in order to build and deploy to cf, tell me if I'm wrong.

Thanks again.

Jhon Jairo.

IObert commented 3 years ago

You can run npm run deploy to create the mta file (and other resources) :)

jhonj98 commented 3 years ago

Ok I see, thanks for the information, I'm going to try the steps from your post and see what happens, thank you very much.

Jhon Jairo.

IObert commented 3 years ago

I'll close the issue for now. Please reopen if you still face issues