Found 4 Questions for SAP UIS

Checking column properties in an Attribute view in SAP HANA

John SAP
Updated on 18-Jun-2020 09:02:41
This can be easily checked in Details pane. You need to select column name for which you want to check Properties of a column → right click → Properties

Creating a copy of an existing Attribute view in SAP HANA

SAP Expert
Updated on 18-Jun-2020 08:41:53
Yes, it is possible to create a copy of an existing Attribute view. While passing View name and View type, you can select the option of “Copy From” and this will enable Browse option from which you can select any of existing view to copy.

Loading External Libraries in SAP UI5

Nikitha N
Updated on 12-Mar-2020 12:26:25
External libraries can be inserted using a file in a normal script tag. SAP UI5 also supports JQuery so it can be done by extending your heading from the controller.var s = document.createElement("script"); s.type = "text/javascript"; s.src = "http://domainname.com/somescript"; $("head").append(s);You can also add any external file using the following command −jQuery.sap.registerModulePath("ModuleName","http://Domainname.com"); jQuery.sap.require("ModuleName.jsFileName");You can navigate to the following path for more details−https://blogs.sap.com/2016/04/22/include-external-javascript-library-in-sapui5/

Implementing tree structure in Sapui5 and restricting parent property

Nikitha N
Updated on 17-Dec-2019 06:51:18
Note that “sap.ui.model.ClientTreeBinding” which is used by TreeTable in JSONModel or XMLModel supports the parameter arrayNames. You need to pass an array of the model property names to create a sublevel. I would suggest to try below:In XML view:      ... In JSON view:treeTable.bindRows({path: '/pathToData', parameters: { arrayNames: ['children'] }});For more details about SAPui5 tree structure, you can navigate to following link:https://sapui5.netweaver.ondemand.com/sdk/test-resources/sap/ui/table/TreeTable.html?sap-ui-debug=true&sap-ui-language=en-US&sap-ui-theme=sap_bluecrystal&sap-ui-accessibility=true&sap-ui-jqueryversion=1.10.2
1
Advertisements