Skip to Content

Documentation problem? Lumira viz extension with external images -- where/when to call getImageUrl

Nov 05, 2016 at 08:50 PM


avatar image

I'm trying to follow the documentation on creating SAP Lumira visualization extensions that include image files, here:

But I'm a bit lost -- It talks about loading two images, and appears to define a function called getImageUrl to get the path of an image to load into the extension -- but then doesn't seem to actually use that anywhere in the provided example. Is this a problem with the documentation, or am I just completely misunderstanding something?

Thanks in advance!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member Apr 06, 2017 at 11:40 PM

Hi Timo,

It's a documentation problem. They left out the renderImage function, which is the one calling getImageUrl. You can see the full source code on github.

10 |10000 characters needed characters left characters exceeded