Skip to Content
author's profile photo Former Member
Former Member

Access LSAPI in JavaScript

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 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:

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:

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

Anybody knows to help me?

Thanks a lot!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2016 at 09:18 AM

    This is in fact not an EP question, is it? Not sure NWBC LSAPI and EP LSAPI are working on same manner resp are comparable at all. The thread you are pointing to is about EP framework customizing, this is not your requirement, is it?


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.