cancel
Showing results for 
Search instead for 
Did you mean: 

SSCE webpage

Former Member
0 Kudos

Hi,

I created a layout in MII SSCE and saved.I can see 2 irpt pages created.

  • Test.irpt
  • Test_mobile_irpt.

If I want to use a webpage for IPad, Do I need use Test.irpt or Test_mobile.irpt?

All UIcontrols in both the pages defined as TextViewM,TextFieldM, etc.. when I create a layout in SSCE.

Eg: var TextView1_c0c0 = new com.sap.xmii.ui.UIElementTextViewM({

what is the difference between these 2 irpt pages?


Regards,

Naga.

Accepted Solutions (1)

Accepted Solutions (1)

swaroop_anasane
Active Contributor
0 Kudos

Hi Naga,

You would have seen some websites when opened from mobile gives an options "go to desktop site/version". In such cases, it's imperative to develop 2 different irpts/htmls one each for mobile and desktop.

Same is the here, when you open a dashboard on mobile, SSCE's page composition has functions to identify device and render mobile version of page which has a link to go to desktop version and hence _mobile.irpt. You could see "desktopVersion" button id in code to confirm the same.

Regards,

Swaroop

swaroop_anasane
Active Contributor
0 Kudos

Please refer the image below and button in it:

Former Member
0 Kudos

Hi Swaroop,

Thank you for the explanation. In my case User wants to access the dashbaord in IPad and Desktop.

So I need to provide test.irpt url to user if user wants to access the dashbaord from desktop and

test_mobile.irpt if the user wants to access from IPad/Mobile.

Is it correct?

Regards,

Naga.

swaroop_anasane
Active Contributor
0 Kudos

Not needed, just provide test.irpt and it auto detects the device and renders corresponding link.

Former Member
0 Kudos

Hi Swaroop,

Thank you.

Regards,

Naga.

Answers (0)