SAP Cloud Platform Cockpit
+ Overview over all applications, connections, services, etc.
+ First start: Services → SAP Web IDE → enable/open SAP Web IDE
SAP Cloud Platform, Portalservice (known as Admin Space)
+ under tools you find the links to the Cockpit and Web IDE
SAP Web IDE
+ recommendation for testing: right click on folder → Run → Run as → SAP Fiori Launchpad Sandbox
Tutorial:
+ right click on Workspace → New → Project from Template (Ctrl+Alt+Shift+E)
+ SAPUI5 Application with SAPUI5 Version 1.44 *next → Project Name tutorialProject *next → set View Type to XML *finish
+ include your zipped graphomate library into the resource folder by right click on res → Import → From File System
+ change your manifest.json to the correct paths of your resource folder by adding a "resourceRoots" property to your "sap.ui5" property and add value "graphomate.ui.charts": {} to libs under "dependencies"
+ to create a chart in your xml we need to define the namespace first by adding xmlns:charts="graphomate.ui.charts"
+ you can now create your chart by using <charts:Chart series1="X,Y,Z" width="XXpx" height="XXpx" ... >
Known Issues:
+ sometimes when using the sandbox or by using deployed apps on your launchpad you might face an 503 Error or "Uncaught SyntaxError: Unexpected token <", which doesn't allow to open your app properly. Try to click on the upper left icon and log out and in again. This should fix this bug. (Tip: Anonymous may not using apps as far as we know)
+ Sometimes you need to clear your cache so libraries can load properly (F12 → Ctrl+Shift+R)
+ It is recommended to add seriesLabels and aggregations through your Controller and not your View, so far absolute Deviations and seriesLabels are not working in correct in pure XML
+
0 Comments