Quantcast
Channel: SCN : Discussion List - SAP Enterprise Portal : Administration and Development
Viewing all articles
Browse latest Browse all 2686

Access LSAPI in JavaScript

$
0
0

Hi friends,

 

I'm embedding a custom html page in the Sidepanel and want to write to the Data Context.

I'm already able to read from it using the window.external.DataContext.read(...) function and I'm also able to write to it using window.external.DataContext.write(...). However this does not update the values in the GUI view even though I'm sending it all kind of events through EPCM.

 

It seems like I need to pass the values through LSAPI in order to get the GUI to actually update:

 

2016-08-11 16_52_37-SAP NetWeaver Business Client.png

 

It seems like EPCM is letting me access the LSAPI through window.external.epcm.getSapTop().lsapi but this always returns 'undefined'.

A similar issue was posted here:

 

https://scn.sap.com/thread/2053413

 

but no other solution than applying a note (which I've done) has been found.

Anybody knows to help me?

 

Thanks a lot!


Viewing all articles
Browse latest Browse all 2686

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>