Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how can i define the name space in component.js file

Hi All,

I have created SAPUI5 application with the following structure.

Zemployee - root folder

------WEBCONTENT folder

                          --- Z employee---> zemployee.controller.js

                                             ---> zemployee.view.js

                           -- index.html

It is executing fine in my local system. But while i using it in fiori launchpad, its throwing an error like component.js not found.

So, How can i include my component.js file, and i searched in some samples of component.js, But iam not able to understand the method. What is the namespace i have to pass here according to my folder structure. Could you any please help me in this issue.

Thanks in advance.



Former Member
Not what you were looking for? View more on this topic or Ask a question