Skip to content

anticam/project6

Repository files navigation

Application Details

Generation Date and Time
Fri Feb 16 2024 14:00:43 GMT+0000 (Coordinated Universal Time)
App Generator
@sap/generator-fiori-freestyle
App Generator Version
1.12.4
Generation Platform
SAP Business Application Studio
Template Used
simple
Service Type
None
Service URL
N/A
Module Name
project6
Application Title
App Title
Namespace
UI5 Theme
sap_horizon
UI5 Version
1.120.7
Enable Code Assist Libraries
False
Enable TypeScript
False
Add Eslint configuration
False

project6

An SAP UI5 Fiori application calls Chuck Norris Jokes API https://api.chucknorris.io/.

Starting the generated app

  • This app has been generated using the SAP Fiori tools - App Generator, as part of the SAP Fiori tools suite. In order to launch the generated app, simply run the following from the generated app root folder:
    npm start

Pre-requisites:

  1. Active NodeJS LTS (Long Term Support) version and associated supported NPM version. (See https://nodejs.org)

Configuration in BTP

  1. Create an HTTP destinations in the subaccount:

import the destinations:

  • destination-chuck.txt
  • destination-north.txt
  • destination-webhook.txt
  • destinaiton-webhook2.txt
#todo include CF CLI to create destinations
  1. Subscribe to one of the services:
  • SAP Build Work Zone, standard edition
  • SAP Build Work Zone, advanced edition
  • SAP Cloud Portal
  1. clone the repository
git clone https://github.com/anticam/project6.git
  1. build, deploy, download deployment logs:
mbt build
cf deploy mta_archives/project6_0.0.1.mtar 
cf dmol -i <ID>  
  1. access the User API endpoints /user-api/currentUser - it returns all details of logged in users. /user-api/attributes - it returns the main user properties.

Links

Developing HTML5 Applications in the Cloud Foundry Environment
Deploy Content Using the Generic Application Content Deployer Managed Application Router
Application Router

Community - How to access a BTP destination within SAPUI5 when executing AJAX call
Community - Calling Service using AJAX in Fiori Elements Extension doesn't work in Launchpad

Custom controller AJAX call is returning a 404 when calling the API

About

Accessing API from SAPU5I application via destination

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published