Addin an image to the report of Add-In<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Hi JMP-gurus!
While working on my Add-In I am facing the following problem: One of my reports uses a bitmap which I added in the addin-builder as ""Additional File". After installing the add-in everything seems to work.
But after a while I'll get the error:
Error with file: Path is invalid: \all.png.
in the log when running the function.
Sadly I could not figure out when exactly this happens. Any ideas how JMP can "forget" where the image is? Or what would be the right way to add a bitmap as a resource to an add-in?
Regards,
Sebastian
Re: Addin an image to the report of Add-InThanks a lot. Currently it works. 
Re: Addin an image to the report of Add-InSebastian,
I would make the path explicit. You can store the bitmap in your addin location. For example suppose the "alias" for your addin is com.mycompany.test_addin. Then you could simply refer to the file using $ADDIN_HOME:
"$ADDIN_HOME(com.mycompany.test_addin)\all.png";