Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Browsing all 6178 articles
Browse latest View live

SAPUI5 - DateTimeInput binding

Hello! I have recently tried to bind a date value from a 'sap.m.DateTimeInput' control to JSON Model. Do I have to use an 'id' parameter and DOM to get a value from DataTimeInput? (Now, when I use it...

View Article


binding json data to sap.ui.table

i have a json file: {     "students": [          {"name": "Abc", "Age": "13"},          {"name": "Cdf", "Age": "14"}     ]} and a sap.ui.table with two columns "name" and "age". I tried to bind the...

View Article


How to merge image objects in UI5

Hi, I created some image template like : var imgTemplate1 = new sap.m.Image({  src:{  path:"title",  formatter:function(element){  return ('images/'+element+'.png');                       }  },  width:...

View Article

Image may be NSFW.
Clik here to view.

UI5 Application: Approaches for Performance Improvement

I was recently asked by a customer to review an UI5 application and suggest improvements. One of its main complaint was performance. I thought of blogging my experience here so that it may be useful to...

View Article

Auth with SAPUI5 Mobile

I am using SAPUI5 to write a web application that will be ported to iPhone and iPad using XCode and PhoneGap. In the SAPUI5 best practice documentation, it clearly states not to create any custom logon...

View Article


UI5 Components: Component-preload.js

When using Components in UI5 apps I can see a stray GET request each time the application is loaded looking for Component-preload.js in the app directory.There is a little bit of explanation on...

View Article

Button in Table

Gurus ,I am trying to develop a table with a button in a particular column . I have been able to create this and fill the table with data .However , when I click on the button , nothing happens . The...

View Article

problem in consuming odata in sapui5 application

Hi all,   I am trying to develop an sapui5 application consuming odata. I am using sap netweaver gateway demo system. I am getting the salesorder collection from the following url...

View Article


SAPUI5 Image and Canvas(HTML5) not working in Eclipse IDE

Hi all, I have been trying to develop a simple application with SAPUI5 development toolkit in Eclipse IDE. When I try to add an image in the web page, it doesn't work. I used the following code inside...

View Article


Business card example in Demo kit is not working for me

Hi All, I am new to sapui5 and I was just trying to execute the business card example by copying the same code and execute it, but I was unable to display it.Can you please let me know where I am going...

View Article

Access resource model stored in UIComponent from View Controller

Hi, how I can access a resource model stored in the UIComponent created on SplitApp startup in Component.js file? Code from Component.js:sap.ui.core.UIComponent.extend("Test.Component", {     init :...

View Article

Split app

Hi,         i face problem in adding the tilecontainer to the detail page of the splitappex:          oTileContainer.addTile(tile1);                oDetailPage.addContent(oTileContainer);i could not...

View Article

Image may be NSFW.
Clik here to view.

How can I capture the onClick event on sap.viz.ui5.Donut chart

Hello, I need to trigger some custom code when I click on one of the arcs from the sap.viz.ui5.Donut chart. I've looked here: SAPUI5 SDK - Demo Kit and I can't figure out if I can do it.   Are the only...

View Article


parse JSON URL

HI All, I am unable to parse the JSON URL. The following is the code snippet : <script src="//code.jquery.com/jquery-1.10.2.js"></script> <script>var getUrl =...

View Article

How to get classname and superclassname for a SAP control

Hello, I would like to know if it is possible to get the classname, superclassname/superclass for a SAP control. e.g.      var myControl = sap.ui.getCore().byId('myId');     var classname =...

View Article


As per latest Fiori Guideline, Where to set the new model ? Can the model be...

I'm using Scaffolding master detail template. For the intial s2 master and s3 detail view , the model has been set by the template. Now, i've created a new master detail view s4 and s5. I've created my...

View Article

SAPUI5 tools for eclipse - Eval version

Hello Experts,We have installed SAP UI5 Runtime and Tools successfully. It is working fine as well.When we downloaded the "SAPUI5 tools for eclipse" it was listed as "Evaluation version". What is the...

View Article


How to create a new control and new model with data binding?

Hi there, I'm in the need of implementing a custom SAPUI5 control. To be more specific, I have an existing non-UI5 control and I want to do a SAPUI5 wrapper to be able to use this non-UI5 control like...

View Article

pass a variable in mvc

Hi,  i face problem in passing a variable on attachpress eventex:var a=10;var editButton = new sap.m.Button({    text : "Edit",  icon : "sap-icon://edit",  press : oController.editButton(a),  });it is...

View Article

Examples for navigation Bar

Hi all, I have been developing a page with some controls in SAPUI5. I'm trying to include the navigation Bar. If I click on a navigation Item the contents of the page should change accordingly. How can...

View Article
Browsing all 6178 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>