Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Browsing all 8124 articles
Browse latest View live

Re: how to combine values of a json array?

I found a solution with your help thanks...var oDataModel=new sap.ui.model.odata.ODataModel("odataurl", true);     var items;...

View Article


Re: how to combine values of a json array?

Hi Rajeesh, the Lo-Dash library is an excellent helper for these kind of problems. Unfortunately I can't give you the complete solution of your problem right now. Maybe these functions will help you on...

View Article


Routing - ID of view

Hi, I am using the routing examples from Best Practise tutorial.SAPUI5 SDK - Demo Kit My Problem is how the give an xml view an id?Can I define the id in the routing table at component.js?If there is...

View Article

Re: setting Model to sap.ui.getCore not working

Actually it just cant be exactly figured out why this doesn't work for you unless you provide a snippet replicating the issue. Some of the possible reasons could be, You're making a typo. (model set as...

View Article

SAPUI5 : HANA Cloud Platform Account Management functionality

Hello Experts, We are planning to integrate HANA Cloud Platform using SAPUI5 application to integrate with C4C system. I need to check how to handle the account management into the "HANA Cloud...

View Article


Re: Using richtooltip directly in XML Views

Hi Mayank, Here for you:JS Bin - Collaborative JavaScript Debugging kind regards,Kai

View Article

Re: How to load table Key/Value pair directly in Combobox using oDataModel in...

Hi Muhammad,Please mark this Discussion with a Correct Answer and Helpful Answer where appropriate.  See http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why   Even if...

View Article

Re: setting Model to sap.ui.getCore not working

Hi Elango, I have check in my code, there is not typo mistake. your 2nd point is not valid as I am able to bind when I set model to view. On 3rd point, I have check in chorme console, data is set...

View Article


Accessing Custom Themes through Web Dispatcher

Hi, I have a question regarding productive use of a custom theme where the ABAP Front End server sits behind a web dispatcher... In terms of routing, we access our ABAP Front End server through a url...

View Article


Re: How to correctly use the component-concept with multiple components

Hi Michael, I don't really understand your problem. All your components have unique names, the components are in different folders. Now you just have to map the name to the folder like this:...

View Article

sap.ui.getCore() --> byId() or getElementById()?

Hi, what is the better way to access a View-Control from the Controller by its ID: sap.ui.getCore().byId() or sap.ui.getCore().getElementById()? Where is the difference?

View Article

Re: sap.ui.getCore() --> byId() or getElementById()?

Both are the same & getElementByID() is deprecated. So, its better to use byId(). JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.core.Core

View Article

Re: sap.ui.getCore() --> byId() or getElementById()?

If you're in the controller, you shouldn't use neither of them (for the most part).Use byId of the controller. It will resolve the generated id prefixes automatically.- Max

View Article


Re: Bar id using this.byId() gives error when try to set its vibility

i get below error when used: sap.ui.getCore().byId("yourId").setVisible("true"); Cannot read property 'setVisible' of undefined

View Article

Re: Bar id using this.byId() gives error when try to set its vibility

hi Florian, i've tried this before, didnt worked. tnx

View Article


Re: Bar id using this.byId() gives error when try to set its vibility

since this is an xml view, this.getView().byId("idBar") will not work....xml view adds a prefix to the control ids.. you have to usethis.getView().byId("viewID--idBar")  , where viewID is the id you...

View Article

Re: Bar id using this.byId() gives error when try to set its vibility

"yourID" is the id of your control not the string "yourId".if your control id is "listabc" then change "yourId" to "listabc"

View Article


Re: Bar id using this.byId() gives error when try to set its vibility

ya i was using the actual control id itself.

View Article

Re: Master-Detail page and Single page in one app

HI, Are you embedding your application in Fiori LauchPad. If yes then i think launchpad shall take care of this.

View Article

Re: Bar id using this.byId() gives error when try to set its vibility

hi Sandip, i did tried using the viewID & BarID combination. not sure why even this is not working..! gives me same error. this.byId("id of controller") - this is working for other ui controls.....

View Article
Browsing all 8124 articles
Browse latest View live


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