cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 OPENING URL IN VIEW

Former Member
0 Kudos

Hi,

I am using webide to create sapui5 apps.I have created an app using split container.

I need to open a URL inside the detailed view when i click on the item listed in the master view.

How can i achieve this .sample code if any,

Thanks

Safel

Accepted Solutions (1)

Accepted Solutions (1)

kammaje_cis
Active Contributor
0 Kudos

You need to use html element iframe. http://www.w3schools.com/tags/tag_iframe.asp

I would suggest to use sap.ui.core.HTML and use an iframe within it.

Answers (2)

Answers (2)

Former Member
0 Kudos

Ok let me try thanks

SergioG_TX
Active Contributor
0 Kudos

are you wanting to open an external URL ? like an iview? or just the detail of the master list item ?

if the detail of the master list item, then, you can get the item in context, bind the view to it... and the view properties have to be a part of the model properties.

here is a walkthru of how to develop custom sapui5 apps

https://sapui5.netweaver.ondemand.com/sdk/explored.html#/entity/sap.m.tutorial.walkthrough/samples