Skip to Content

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

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

https://help.hana.ondemand.com/webide_vizpacker/frameset.htm?5bfb4f733acf476bad6030ecf17bf07c.html

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

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.

    Add comment
    10|10000 characters needed characters exceeded