SAPUI5 auto refresh
Hi experts, I want to have auto refresh into my UI, I’m using XML and javascript. Here is the case: I’m reading the data and filling the model(viewModel) with this data, then I build the view using...
View ArticleImport SAPUI5 project from Eclipse to Appbuilder
Hello everyone, Is it possible to import a project from Eclipse into Appbilder? I have tried but I can not manage to get it to work. I read somewhere online that Appbuilder only supports HTML view, is...
View ArticleUI5 XMLView if conditions
Hi, I was wondering if it is possible to put if statement/conditions in an XML view to show/hide content based on values on the screen.So let's say if transaction type = '1', then show a drop down...
View ArticleTabstrip css
Hello all, I want to change the width and height of tab strip panelapplied following css .sapUiTabPanel { top: 29px; border:2px solid;border-top-width:0;padding : 10000px; } this doesn't workplease...
View ArticleTesting OData in a UI5 App
Hi there, i'm trying to write some tests in Javascript/ UI5 concerning OData. I have found this document : OData acceptance tests with QUnit and datajs explaining what i need. The problem is that i do...
View ArticleExport/Import to Excel (including formulas)
Hi All,I appreciate you looking into this post. I have a requirement to export to excel from a grid. I am able to export with no problem. the only issue I have is, is there a way that anyone has been...
View ArticleRerendering bug when a ListBox is associated to a DropdownBox
As I was developing a UI that addressed a handful of related yet separate use cases, I came across a defect in the rerendering logic for ListBox (SAPUI5 library version 1.20.3 ). (Working example here:...
View ArticleHow to import a csv file and read in sap ui5?
Hi, I want to import a file and read it contents to bind it to table.How to do it? Thanks in advance.
View ArticleFocus on input field
Hi, How do I set the focus of the cursor on the first input field of a FIORI app when I launch the app.Do I need to use the DOM element to do this?Could somebody please share the code to do that?...
View ArticleModel Scope? Set Text Property for Button?
I'm trying to set the text property for a button in an ActionSheet to a field in my model like so: var oActionSheet = new sap.m.ActionSheet({ buttons: [ new sap.m.Button( {...
View ArticleSAPUI5 - Mobile/Reactive Frameworks - How to use Tabs and other controls? Or...
Hey all, We have a UI5 site that we need to convert to mobile and have it reactive so that it will appear correct between computers and tablets. Are there any good tutorials on how to use the Mobile...
View ArticleSAPUI5 App: How to make page navigation using sap.ui.commons lib?
Hi experts, I am making a web app using the sap.ui.commons lib, NOT sap.m. For the simplest case: a web app which has 2 pages showing just navigation buttons and a text "page 1" and "page 2". I am NOT...
View ArticlePass data between views without eventBus?
hello!I have two views and navigation between them works fine. However, now I want to also pass some data between them. I know that it's somehow possible to pass data as a parameter in app.to(), but...
View ArticleSAPUI5 and google app script
Hi Experts, I am new to SAPUI5. I want to use google app script in SAPUI5 app.Link for the script is https://script.google.com/macros/s/AKfycby_is-9lzO7uqOtiGaENtoSso8GPR-Gq-seMK5gGNNcjqfanCA/execIt...
View ArticleFiori - URL parameters
Hi, We are currently using CRM Fiori My Opportunities.We want to enhance the application using the Fiori extension toolkit to default values in the create screen. In the SAP project, I see that the...
View ArticleSAPUI5 - How to capture the tab loaded or tab click event from a...
How to capture the tab loaded or tab click event from a sap.ui.commons.Tab object? There is no attachClick or tabLoaded function to tap into from the object mentioned above. How can I capture the tab...
View ArticleError using BusinessCard in Fiori App
Hi,I'm creating Fiori-style application and when I want to use BusinessCard control I got this strange error: Uncaught Error: Cannot add direct child without default aggregation defined for control...
View Articlehow to pass multiple line payload in ui5?
hi, in gateway service ,my payload would be : <?xml version="1.0" encoding="utf-8" standalone="yes"?><atom:entry xmlns:atom="http://www.w3.org/2005/Atom"...
View ArticleTDG demo app down in SAPUI5 docu
Hello, in the SAPUI5 documentation the link to the TDG demo app is down:https://sapui5.hana.ondemand.com/sdk/test-resources/sap/m/demokit/tdg/index.htmlIt is in Developer Guide -> Best Practices Can...
View ArticleStop Cyclic Navigation in Carousel
Hi Experts, I am looking out for some Next and Previous event which can help stop the sap.ui.commons.Carousel navigation with the 1st and last item. I dont want the cyclic navigation. Appreciate your...
View Article