on 2022 Jun 24 9:13 AM
Hi all,
I am fairly new to UI5. I created a project from a template in WebIDE, It was working fine. Then I open the same project in VScode and run it, there was an error stating that "Uncaught ReferenceError: sap is not defined".
So, what is the issue here? is coding in WebIDE vs VScode differ differently?
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi there,
Can you please confirm that you have the SAP Fiori tools extension pack installed in VSCode? Once this is installed, please restart VSCode. As long as your project is in your workspace folder, the SAP Fiori tools should detect it and prompt you to migrate it to support VSCode. Please see https://help.sap.com/docs/SAP_FIORI_tools/17d50220bcd848aa854c9c182d65b699/70d41f3ee29d453a90efab3ce0... for full details.
Regards,
Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Yes, SAP Fiori tools extension pack is installed in VSCode. I followed this blog post to set up VSCode UI5 development.
they are completely different tool, why you expect the project can work interchangably.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
30 | |
9 | |
7 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.