Skip to Content
Technical Articles
Author's profile photo Ferry Djaja

Add and Use SAPUI5 Elements in SAP Analytics Cloud Custom Widget

In this tutorial, I would like to share how you can add and use SAPUI5 elements in SAP Analytics Cloud. In this case, is add and use sap.m.Input – Password.

From my trials and errors experience, not all UI5 elements can be added and used in the custom widget. It depends on which version of UI5 libraries that are being loaded and used in SAP Analytics Cloud itself. For my case, is version 1.60.13 for SAC version 2020.8.9. See below screenshot.

I can use sap.m.Input in custom widget since it is available from version 1.10. Unlike sap.ui.integration.widgets.Card, I can’t use it since the minimum version is 1.62.

Let’s wait and see if we can use this integration card element once SAC libraries are upgraded to version 1.62 or higher.

Build Web Components

Let’s start by building the Web Components and its properties.

Create the inputpassword.json property file to define the properties, methods and events in Web Components. You may refer to my blog in References section below for more details. Don’t forget to update the URL link http://localhost to your localhost accordingly.

{
  "id": "com.fd.djaja.sap.sac.inputpassword",
  "version": "0.0.2",
  "name": "inputPassword",
  "description": "Input Password",
  "newInstancePrefix": "inputPassword",
  "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA9UAAAGcCAYAAADXgoOSAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAASAAAAEgARslrPgAAP/pJREFUeNrt3Xmcj/X+//HX9ZndrJZsg8HYDllHlF2WssuWIkQ4J0m3o6LkF0522bJElLKcQpHs6aCGTjGWSIRscTiDwTBj1vfvj9P4piwzn7k+1/u65vO4325zS+Yz1/v1/sx7Pub5eb2v6zKUUgJ7SU9PV4mJidl+fFJSkqSkpGT78QkJCdl+bGpqqty4cSPbj79+/bqkpaVl67GZmZly9erVbB/75s2bkpycnO3HX7t2TTIyMrL9+NxIS0uT69evWzLWH6WkpEhSUpKWsXP6PTFTcnKy3Lx5U8vYQF4QEBAg+fLl012GxwQHB4u/v7/uMjwmPDxcX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rvWMjAy1b98+2b59u2zbtk1iY2O59ZtFKlasKP369ZPnn39egoODvXYNAgAAe/nrX/+q5s2bp7uMe0pPTydU4/4uXryovv7661th5+DBg5KZmam7LMfy9/eXmJgYqV+/vjRs2FCaN28u+fLlY43/QWZmptq/f79s375dtm/fLt98841cunRJd1l5QmRkpDRs2FDq168vjRo1kmrVqrH+AACA7QwcOFDNnz9fdxn3RKiGWy5duqS++eYb2bZtm2zbtk0OHDhAyL4Lf39/qVSpklStWlWqVasmDz/8sDz00EMSFBTEms6hzMxMdfDgwVsB++uvv+bWT/fh4+MjZcuWlWrVqsmDDz4oDz74oMTExEiZMmVYfwAAwPYGDBig3nvvPd1l3BOhGqa4fPmy+vrrr70+ZBcvXlyqV68u1atXl6pVq0rVqlWlUqVK4ufnx/r1kCNHjqisgL19+3Y5ffq07pK0iYyMlCpVqkjVqlVvBegqVarwBg4AAHCs/v37qwULFugu454yMjII1TBfYmKi+u6772TLli2yZcsW2bt3b54K2b6+vlKqVCmpXLmyxMTESExMjDz00ENStGhR1qlmR44cUZs2bZJNmzbJtm3bJCkpSXdJpvP395eqVatKTEyM1KhR41aAzp8/P+sPAADkKf369VPvv/++7jLuiVANSzg5ZIeFhUnVqlWlSpUqt0J0rVq1OAfaAVJSUlRsbKysWbNGVq5cKefOndNdklsqV64s9evXv/UGTrVq1cTf35/1BwAA8ry+ffuqDz74QHcZ95SZmUmohvXsGrKLFSsmMTExtwXoypUri2EYrD+Hy8zMVDt27JDly5fLsmXL5PLly7pLuquoqChp27atNG7cWBo1aiRFihRh/QEAAK/Up08f9eGHH+ou454I1bCFL7/8UrVq1UoyMjK01jF//nzp378/ay2Pu3Hjhho9erRMnjxZdyl/MnHiRHnllVd4IwcAAEBEevfurT766CPdZdxTZmamuHQXAe+2d+9e1b17d+2BWkRk0KBBsm3bNlu/yYTcCw4ONho1aqS7jDvKyMggUAMAAPxGKWf8ak6ohjZ79+5VzZs3t81W3LS0NOnSpYv88ssvzvjphVvS0tLUqFGjd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a9daPvarr74qf/nLX7K99lq2bGk8+eSTltZ47tw56dChgyQlJbHuAABAnmD37d+cU40c+fXXX9Wjjz6qLVAHBgbK9OnTc/x1PXr0kCZNmlhe75YtW+TJJ5+UjIwMAo4J0tLS1JNPPilr1qyxfOyoqCgZPnx4jr9u+vTpEhERYWmtcXFxXBEcAADkGU75lYZQjfu6cOGCatmypRw/flxbDS+//LKULl06253CLIZhGLNmzRI/Pz/La169erWl983OqzIyMlSvXr1k9erVWsafPXu2BAcH53jtFS1a1MjO+f9mW7FihYwbN87ycQEAAMxGqEaecP78edW4cWP56aeftNVQvHhxGTZsmNtfX6VKFeOFF17QUvu8efNk5MiRzng1sKGMjAzVs2dP+fjjj7WM36VLF2nTpk2OA3WW559/XmrXrm153SNHjpTVq1ez7gAAgKPZfft3FkI17io+Pl41b95cjhw5orWOiRMnZvviZHczevRoKVq0qJb633rrLZk6dSoBJ4cyMzPVs88+qy1Qh4aGunXKwe/5+PgY7777rqW3dxP537u6vXr1kiNHjrDuAACAY9m9U8051binixcvqmbNmsmPP/6otY6HH344W7cxup/Q0FBj9OjR2ubx8ssvy6JFi+z9qmAjmZmZql+/frJ48WJtNYwZM0YiIyNz9WaOiEhMTIzx/PPPW15/YmKidO/eXZKTk1l3AADAkehUw9FOnz4t58+f11qDYRgyffr0bN3GKDv69esn1atX1zIXpZQMGDBANmzYQMC5D6WUGjhwoCxatEhbDTVr1hQzTxl46623JDIy0vJ57Nu3T1588UXLxwUAADCD3TvVWQjVuKNatWoZO3fulPLly2uroVevXlK3bl1TArXI/7biTps2Tdt80tLSpEuXLrJz505nvDpoMnbsWFmwYIG28X18fGTevHni6+tr2toLCwszZsyYoWU+CxYskK1bt7LmAACA4xCq4XjlypUz/v3vf0vDhg0tHzs8PFzGjx9v+nGbNm1qdOrUyfL5ZKlfv76UKlVK2/hOMGTIELH6Hs+/N3jwYHnooYdMC9RZOnfubLRt21bLnGbPnq1lXAAAgNyw+/ZvzqlGthQoUMD48ssvpXv37paOO27c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AwCaaNWsmb7/9tlSvXt0WYTqLrUJ1lsOHD6uXX35Z1q1bp7sUAAAAAIBGlSpVkilTpkibNm1sFaazaN/+fSeVKlUy1q5da+zYsUMaNGiguxwAAAAAgMVKlCgh8+bNkwMHDtg2UIvYtFP9R1988YUaOnSoHD16VHcpAAAAAAAPKlCggLz66qvy4osvSlBQkG3DdBZHhGoRkbS0NPXBBx/IqFGj5D//+Y/ucgAAAAAAJgoODpYXXnhBhg8fLhEREbYP01kcE6qz3LhxQ82aNUvGjx8vV69e1V0OAAAAACAX/P39pU+fPjJ69GgpWrSoY8J0FseF6iyXLl1SkydPlunTp0tKSorucgAAAAAAOeByuaRz584yYcIEKVu2rOPCdBbHhuosp0+fVmPHjpUFCxZIZmam7nIAAAAAAPfRvHlzmTJliu1uj+UOx4fqLHFxceqNN96Qn3/+WXcpAAAAAIA7KF++vIwZM0bq1Knj+DCd5f8D5FIxT5Tgtx0AAAAldEVYdGRhdGU6Y3JlYXRlADIwMTktMDYtMjlUMTI6NDE6NTErMDg6MDDJ4um7AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE2LTA0LTIzVDAwOjM5OjU2KzA4OjAw5jrKXgAAAFR0RVh0c3ZnOmJhc2UtdXJpAGZpbGU6Ly8vaG9tZS9kYi9zdmdfaW5mby9zdmcvOTAvNzYvOTA3NmUwNTE2NzcwNGNmOWI2OWU0ZjUzZjI2MTNiNjYuc3ZnzO38rQAAAABJRU5ErkJggg==",
  "vendor": "Ferry Djaja",
  "eula": "",
  "license": "",
  "imports": [ "input-controls" ],
  "webcomponents": [
    {
      "kind": "main",
      "tag": "com-fd-djaja-sap-sac-inputpassword",
      "url": "http://localhost/SAC/sacinputpassword/inputpassword.js",
      "integrity": "",
      "ignoreIntegrity": true
    }
  ],
  "properties": {
    "metadata": {
      "type": "string",
      "description": "For internal use",
      "default": ""
    },
    "password": {
      "type": "string",
      "description": "password",
      "default": ""
    }
  },
  "methods": {
    "getPassword": {
      "returnType": "string",
      "description": "Get password",
      "parameters": [],
      "body": "return this.password;"
    },
    "setPassword": {
      "description": "Set password",
      "parameters": [
        {
          "name": "value",
          "type": "string",
          "description": "The new password"
        }
      ],
      "body": "this.password = value;"
    }
  },
  "events": {
  	"onStart": {
      "description": "onStart events trigger"
    }
  }
}

 

Create inputpassword.js to put the app logic. I will walk through it for each section.

  • The HTML template object is created to construct the input password UI element. If you see from line 14 to 31, it is actually an XML view of the sap.m.Input element with controller name myView.Template and livechange event onButtonPress.
  • On constructor() method, The super() function is called, then the shadow DOM root element is created. The copy of the template element is added as a child element to the shadow DOM root element. And finally, initialize the variable to store the password information.
  • On connectedCallback() method, it is populated the available widgets in SAC Analytics Application. It is not currently being used anywhere in this app, but I have put it here for future use.
  • On onCustomWidgetAfterUpdate() method, is the entry point of this app. It loads the function loadthis().
  • The following functions is to fire the custom event propertiesChanged, and implement Getters and Setters Property password.
  • The loadthis() function is the main logic of the app. It has the SAPUI5 controller myView.Template and XMLView that is rendered in _oView. onButtonPress() function will be triggered from the livechange event.
    The onStart() custom event will be triggered to expose the password information so it can be retrieved by standard SAC widget.

Usage

Create an SAC Analytics Application and insert the inputPassword custom widget.

On custom widget inputPassword_1- onStart() event, put the below code to get the password information and print it in InputField standard widget.

InputField_1.setValue(inputPassword_1.getPassword());

Short Demo Video

https://youtu.be/Wy_yRLIkBU0

That’s all that you need to do. Do let me know if you have questions.

References:

Assigned tags

      20 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Durairaj Athavan Raja
      Durairaj Athavan Raja

      Dear Ferry,

      Thank you very much for the blog. I have been waiting for this from you. This opens up lot of  opportunities to develop various custom widgets.

      Thanks.

      Raja

       

      Author's profile photo Ferry Djaja
      Ferry Djaja
      Blog Post Author

      Hi Durairaj Athavan Raja

       

      Great! Happy to share what I have done. Looking forward for your custom widget creations!!

       

      Cheers,

      Ferry

      Author's profile photo Durairaj Athavan Raja
      Durairaj Athavan Raja

      Sure, will share them here. I am trying to get data from backend (SSO is taken care) using the json model

      durl = "https://hhh.ddd.com:8888/sap/bc/bsp/sap/ybl_data_se/flightdata" ;
      fmodel = new sap.ui.model.json.JSONModel(durl);
      sap.ui.getCore().setModel(fmodel, "listofflights"); not sure this will work if i am doing this from inside shadow DOM

       

      Although i have set the below http header at bsp page response (ybl_data_se/flightdata)

      CALL METHOD response->if_http_entity~set_header_field
      EXPORTING
      name = `Access-Control-Allow-Origin`
      value = `*`.

      within SAC when i tried to connect i always get "No 'Access-Control-Allow-Origin' header is present on the requested resource", but if i call the bsp outside in browser i can see the headers i have set.

      Do you know how i can handle this?

      Thanks.

      Raja

       

      Author's profile photo Ferry Djaja
      Ferry Djaja
      Blog Post Author

      I think you need to set that in Trusted Origins. See this blog: https://blogs.sap.com/2018/04/20/sap-analytics-cloud-apis-getting-started-guide/

      Regards,

      Ferry

      Author's profile photo Durairaj Athavan Raja
      Durairaj Athavan Raja

      Thanks. I thought that was for the other way around scenario (embedding SAC in custom web apps)

      I have set that up but didn't help. Will explore further and if i succeed will update here.

      Regards

      Raja

      Author's profile photo Durairaj Athavan Raja
      Durairaj Athavan Raja

      the CORS setting at the back end system has to be updated (live data connection - CORS config) . Earlier i had only allowed sap/bw/ina and sap/opu/odata for sac. will have to add sap/bc/bsp/sap as well. Will test and confirm.

      Regards

      Raja

      Author's profile photo Durairaj Athavan Raja
      Durairaj Athavan Raja

      Confirm that after adjusting the CORS configuration to allow sap/bc/bsp/sap its working fine.

      Author's profile photo Ferry Djaja
      Ferry Djaja
      Blog Post Author

      Great!!!

      Author's profile photo Henry Banks
      Henry Banks

      I've been very much enjoying your series. Thank you! regards, H

      Author's profile photo Ferry Djaja
      Ferry Djaja
      Blog Post Author

      Thank you !!

      Regards,

      Ferry

      Author's profile photo Jyothirmayee A
      Jyothirmayee A

      This is helpful. Thank you for sharing Ferry!.

       

      Thanks,

      Jothi

      Author's profile photo Ferry Djaja
      Ferry Djaja
      Blog Post Author

      Thank you Jyothirmayee A !

      Author's profile photo Dania Almadani
      Dania Almadani

      Hi Ferry,

      I am trying to create a Date picker custom widget using https://sapui5.hana.ondemand.com/#/entity/sap.m.DatePicker

      However, I am getting an error that xmlns: URI sap.m is not absolute

      what can the reason be? I copied the View from here https://sapui5.hana.ondemand.com/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker/code

      thanks

      Dania

      Author's profile photo Dania Almadani
      Dania Almadani

      Well this problem is solved now, however, I have a new problem.

      I am not able to get the value of the date at all !!!

      The loadthis() function is the main logic of the app. It has the SAPUI5 controller myView.Template and XMLView that is rendered in _oViewonButtonPress() function will be triggered from the livechangeevent.

      I made the same as your code I have the loadthis() function and in sap.m.DatePicker

      there is the Event change https://sapui5.hana.ondemand.com/#/api/sap.m.DatePicker%23events/change

      so actually onButtonPressed function should work!!

      I tried to debug and find that it is not entering the function onButtonPressed at all.

      In the Photos you can see the code

       

       

       

      Thank you

       

      Dania

      Author's profile photo Ferry Djaja
      Ferry Djaja
      Blog Post Author

      Hi Dania,

      Sorry for late reply. Could you provide the full source code so I can check ?

      Thanks,

      Ferry

      Author's profile photo Dania Almadani
      Dania Almadani

      Hey Ferry,

      please check if you can see the code in github

      https://github.wdf.sap.corp/i070041/SAC-Custom-Widgets

      Or: 

      https://github.com/Dania94/SAC-Custom-Widgets

      Thanks,

      Dania

      Author's profile photo Dania Almadani
      Dania Almadani

      Hey Ferry,

      I know you may be busy.

      Did you the chance to look at my code?

       

      Thanks,

       

      Dania

      Author's profile photo Ferry Djaja
      Ferry Djaja
      Blog Post Author

      Hi Dania,

       

      I am looking at your code now. Sorry for late reply

      Regards,

      Ferry

      Author's profile photo Ferry Djaja
      Ferry Djaja
      Blog Post Author

      Hi Dania Almadani

      I checked your code. I think you have forgotten to add the change button event for  change="onButtonPressed"

      See this updated code:

      <m:Panel
      		    id ="DatePanel"
      		    headerText="Choose Date"
      		    width="auto">
      		    <m:Label text="" labelFor="dateInput"/>
      		    <m:DatePicker
      			    id="dateInput"
      			    placeholder="Enter Date ..."
      				change="onButtonPressed"
      			    class="sapUiSmallMarginBottom"/>
      		    
      	    </m:Panel>

       

      Regards,

      Ferry Djaja

      Author's profile photo Huimin Li
      Huimin Li

      Hi Ferry,

       

      thank you for sharing this, your tutorial is really helpful, appreciate your efforts so much ^^ !

       

      Huimin