cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro HTML Island modify Vizframe via API

0 Kudos

Hello,

we have a request to modify pop ups in a Vizframe which is runing in a Web Dynpro ABAP environment.

I would be capable to use the UI5 / sap.viz.ui5 API to modify the PopUp behaviour. there is a blog post describing it.

However I am currently struggling to apply the API: The WebDynpro Island supports JavaScript which we can embed and which allows us to access the DOM and the ui5 API classes. But I do not know how to access the VizFrame and its content as Javascript API Objects.

Is there some way to load / initialize the UI5/Vizframe API via HTTP (div) id? Or access the API from the window document which makes sense?

To clarify, the container is not an UI5 application but a Web Dynpro ABAP which in my understanding hosts the vizframe and also some UI5 runtime/container; yet I do not know how to access the UI5 component or the vizframe, I cannot say this.getView()... I do have access to sap.ui.core, but I do not know how to initialize the API like sap.ui.getCore().getRootComponent() or something like this... All I have is window and the DOM on javascript level - plus the loaded libraries from portal, web dynpro, ui5, viz and all the depdencies like jquery...

thanks

Stefan

Accepted Solutions (0)

Answers (0)