Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 1.66 KB

use-live-data-497aee2.md

File metadata and controls

49 lines (27 loc) · 1.66 KB

Use Live Data

Start the application using the npm start command. Then, the application runs on localhost:8080 and connects to an OData service endpoint. The preview of the application opens automatically in a new browser tab. If the OData endpoint requires authentication, the browser prompts you to enter your credentials.

  1. In VS Code, open the terminal.

    Note:

    To open the terminal in VS Code, perform the following steps:

    • Use the [Ctrl+`] keyboard shortcut with the backtick character.
    • Navigate to the View > Terminal menu command.
    • From the Command Palette ([CMD/CTRL] + [Shift] + [P] ), execute the View: Toggle Integrate Terminal command.
  2. Ensure you are in the root directory of your project.

  3. In the terminal pane, type npm start and press Enter.

    The preview of your application starts automatically.

Note:

If port 8080 is already in use, the system selects the next available port to start the application.

  1. In SAP Business Application Studio, open the terminal.

    Note:

    To open the terminal in SAP Business Application Studio, perform the following steps:

    • Select Terminal > New Terminal from the menu bar.
  2. Ensure you are in the root directory of your project.

  3. In the terminal pane, type npm start and press Enter.

    The preview of your application starts automatically.