cancel
Showing results for 
Search instead for 
Did you mean: 

SplitApp not working on Hana Trial Server

sandeep_joseph
Explorer
0 Kudos

Dear All,

I just deployed my app which contains a few screens as SplitApp on the HANA Trial server. On the iPad the app works as designed. However while running on the browser, the split app part does not work. Everything appears in full screen. I tried adding the suffix sap-ui-xx-fakeOS=android_tablet and all the other combinations. The simulated behavior for the phone is also wrong. But on my local server everything runs well. I suspect if it could be a problem with the sap-ui-core.js I'm referring to. In my start HTML file, it's as follows, but there's no folder called resources, but it works.

Could you please give me some hints?

Thanks,

Sandeep

       <head>

              <meta http-equiv="X-UA-Compatible" content="IE=edge">

                                   <script src="resources/sap-ui-core.js"

                      id="sap-ui-bootstrap"

                      data-sap-ui-libs="sap.m,sap.makit"

                      data-sap-ui-theme="sap_bluecrystal" >

              </script>

              <!-- only load the mobile lib "sap.m" and the "sap_mvi" theme -->

             

              <link rel="stylesheet" type="text/css" href="css/style.css">

                               

                                   <script>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sandeep,

By adding the suffix sap-ui-xx-fakeOS=android_tablet will mock the touch based events on the browser as your browser doesn't recognize the touch events and it does not simulate mobile behaviour.

Regards,

Ajain

sandeep_joseph
Explorer
0 Kudos

Hi Ajain,

You are right. But my problem is different. I have different behavior on the same browser when the app is run on the local server and the central server. On the local server I get the split view on the desktop browser without any suffixes. I use the bluecrystal theme.

Regards,

Sandeep

Former Member
0 Kudos

Can you check console whether there is any error ... I think mobile library is not loaded (sap.m) ..

sandeep_joseph
Explorer
0 Kudos

The problem is on the central server, I cannot access the console. I don't think its a problem with the loading of the library itself, because everything else works. And the app was working well before introducing the SplitApp in some of the views.

If the library is not loaded at all, then a lot of other errors must appear too, right?

Regards,

Sandeep

qmacro
Developer Advocate
Developer Advocate
0 Kudos

I think Ajain means the browser's (developer) console, e.g. Ctrl-Shift-J on Chrome.

sandeep_joseph
Explorer
0 Kudos

Dear All,

It works now. I honestly have no idea how. I didn't upload another version meanwhile. And when I tested before, a part of it was working as per the new version I uploaded, but the SplitApp part was missing. Perhaps it was a browser gimmick, that it took part of the pages from history or so.

Thanks a lot for your support anyways.

Regards,

Sandeep

Former Member
0 Kudos

Hi Sandeep,

I had similiar problems with the chrome cache, so I would recommend to clear the cache (all checkboxes) if problems comes up next time.

Regards

Stefan

Answers (0)