Skip to content

Instantly share code, notes, and snippets.

View julianschmuckli's full-sized avatar
💻
Coding...

Julian Schmuckli julianschmuckli

💻
Coding...
View GitHub Profile
@julianschmuckli
julianschmuckli / schmucklicloud.js
Created January 8, 2021 18:32
schmuckliCloud template configuration
import { sCAuth } from "schmucklicloud_auth";
import { sCStorage } from "schmucklicloud_storage";
const APP_ID = "<YOUR_APP_ID>";
const APP_SECRET = "<YOUR_APP_SECRET>";
var auth = new sCAuth(APP_ID, APP_SECRET);
var storage = new sCStorage(APP_ID, APP_SECRET);
storage.setBucket(0); // Your bucket id
@julianschmuckli
julianschmuckli / com.sap.canteen.csdl.xml
Last active August 29, 2019 10:16
This is the example CSDL of the CanteenService for the openSAP course "Build Mobile Applications with SAP Cloud Platform Mobile Services" Week 2 Unit 1.
<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://docs.oasis-open.org/odata/ns/edmx http://docs.oasis-open.org/odata/odata/v4.0/os/schemas/edmx.xsd http://docs.oasis-open.org/odata/ns/edm http://docs.oasis-open.org/odata/odata/v4.0/os/schemas/edm.xsd">
<edmx:Reference Uri="vocabularies/com.sap.cloud.server.odata.sql.v1.xml">
<edmx:Include Namespace="com.sap.cloud.server.odata.sql.v1" Alias="SQL"/>
</edmx:Reference>
<edmx:DataServices>
<Schema Namespace="com.sap.canteen" xmlns="http://docs.oasis-open.org/odata/ns/edm">
<EntityType Name="Booking">
<Key>
<PropertyRef Name="BookingID"/>
@julianschmuckli
julianschmuckli / extension.js
Last active October 23, 2018 07:20
This is a code snippet for the following QlikSense Discussion: https://community.qlik.com/thread/317568
//The props get loaded via "define"
return {
initialProperties: {
qHyperCubeDef: {
qDimensions: [],
qMeasures: [],
qVariables: [],
qInitialDataFetch: [{
qWidth: 10,
qHeight: 50