SAPUI5 BSP application hosted on NW ABAP AS in public area ...
Just a question: Is it possible to create SAPUI5 BSP application in public area?We did not find this possibilities. It seems that when you load SAP UI5 project the URL path is predefined and it is not...
View ArticleRe: SAPUI5 BSP application hosted on NW ABAP AS in public area ...
Hi Olga, Sure thing! I am sure there are a few ways to do this. Personally, I would leave the application where it is created by default but also create an ICF External Alias to the application and any...
View Articleunable to create a table in MVC framework
Hi , I am new to UI5 frameworkI am trying to create a table through MVC framework in Eclipse with external Json data.during which i am getting compilation errorsPlease check the code...
View ArticleRe: unable to create a table in MVC framework
It looks like you're mixing libraries here, assuming you want to have a Fiori-like table: 1. The creation of the Table control instance is incorrect, try:var oTable = new sap.m.Table({}); 2. In the...
View ArticleRe: XMLView- Use static function as event handler
Hey Kimo, I was afraid of that answer Filed an issue for this as well: https://github.com/SAP/openui5/issues/193 Option 1 is what I actually already did. I use a validator function on liveChange to set...
View ArticleRe: unable to create a table in MVC framework
Thank you.I got the reason for error.I used sap.ui.table instead of sap.ui.table.table.
View ArticleURL of Git repository in SAP Web IDE
Hi, does anyone know how to obtain the URL of the Git repository of a SAP Web IDE project?I would like to clone this to my local pc.I know that I can do the other way round. Means I can create an...
View ArticleCombine OR & AND filter
Hi All, I've a table where I'll be applying a search from a searchField live change event based on 2 columns. This I"m doing using a sap.ui.model.Filter with the second arg as false. Now I'm need to...
View ArticleRe: How to get the parameters passed into a JSONModel?
UI5 documentation says that, attachParseError(oData?, fnFunction, oListener?): sap.ui.model.Model Attach event-handler fnFunction to the 'parseError' event of this sap.ui.model.Model....
View ArticleRe: Combine OR & AND filter
Hi All, Tried another way of achieving this. Separated out the search & filter functionality and now I'm able to perform the filter on the searched list but the problem is it is overwriting my...
View ArticleRe: How to get the parameters passed into a JSONModel?
The parameters that you passed should be contained in the url parameter of the event. It's string and you can parse it to extract the parameters.The easiest approach is probably something like...
View ArticleRe: Combine OR & AND filter
Hi Gourav, Hope you are well! I don't see any issue with your approach, I created a quick example and it seems to work find.Which model are you using? JS Bin - Collaborative JavaScript...
View ArticleRe: Get expanded data from oData provider
Hi, I did, now I get an Object as response, but still not what I'm looking for:
View ArticleRe: Get expanded data from oData provider
ok, read is done asynchronous. So data will not be returned by it. Here is the syntax.ODataModel .read(sPath, oContext?, oUrlParams?, bAsync?, fnSuccess?, fnError?) Can you try...
View ArticleRe: Get expanded data from oData provider
Does not returns the items...Just the current object itself, items are not expanded
View ArticleRe: Get expanded data from oData provider
I've found the solution based on your help, the correct way is: sap.ui.getCore().getModel().read(a.sPath, null, {"$expand": "Items"}, true, function(response) {...
View ArticleRe: Get expanded data from oData provider
And do you have any idea how is it possible to write modify some attribute which was reached this way? I want to push it back to de oData
View ArticleRe: Get expanded data from oData provider
Deep insert using Model.create()? Does this help?
View ArticleRe: Disable Code check from UI5 application
Fundamentally there is no way to prevent the client seeing the code that you serve, since this is what the client requires to build and render the page to the user. Even if somehow you disable the...
View Article