Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
derekledbetter
Contributor III
Contributor III

qmem - not displaying

I realize this has been answered and I'm still having issues with it.  This is the desire.

Qlikview V11. is the version being used.  I saw one area where V11 doesn't work.  Is that true?\

Below is the code to show the script and text object.

InLine

/* images and icons URL paths */
SET pGlobalImagePath = '.\Images';


/* Global and Local Images and Icons */

Images:
BUNDLE LOAD * INLINE [
ImageID ,ImagePath
splash ,$(pGlobalImagePath)\splash.png
splashlogo ,$(pGlobalImagePath)\splashlogo.png
infobutton ,$(pGlobalImagePath)\infobutton.png
getstarted ,$(pGlobalImagePath)\getstarted.png

logo ,$(pGlobalImagePath)\logo.png
infologo ,$(pGlobalImagePath)\infologo.png
CS_collasped ,$(pGlobalImagePath)\CurrentSelections_collapsed.png
CS_expanded ,$(pGlobalImagePath)\CurrentSelections_expanded.png
searching ,$(pGlobalImagePath)\searching.png
CompanyLogo ,$(pGlobalImagePath)\EA_Horizontal.png'
]
;

---- Notice = the images is to be in another folder.  I took it this folder needs to be under what is running.

For example, if the .qvw is running in "imageplacement" folder, then the images is under that folder. 

\ImagePlacement\Images ===== is this correct?

Then, the .png is there and is not working at all.

Text Object

='qmem://ImageID/CompanyLogo'

=== and the background is set to blue, the only thing showing is "BLUE".  the image is not showing.

What am I doing wrong?

1 Solution

Accepted Solutions
danieljfern
Contributor
Contributor

I'm also having this problem.

I've tried every way i can to bundle load images into the qmem but whichever way i do it, although the log file tells me the references from the image and location list has been picked up, qmem only show the "<bundled>/" images in the expression builder.

View solution in original post

13 Replies
marcus_sommer

I'm not sure but I think the reason for not working is your relative path to the image-folders. I suggest to replace them with a full-path contructed per documentpath() maybe similar to this:

left(documentpath(), index(documentpath(), '\', -1) & 'Images\'

- Marcus

derekledbetter
Contributor III
Contributor III
Author

Thank you for at least responding.

danieljfern
Contributor
Contributor

I'm also having this problem.

I've tried every way i can to bundle load images into the qmem but whichever way i do it, although the log file tells me the references from the image and location list has been picked up, qmem only show the "<bundled>/" images in the expression builder.

derekledbetter
Contributor III
Contributor III
Author

HI

SCRIPT Images:
Bundle LOAD * INLINE [
ImageID ,ImagePath
splash ,$(pGlobalImagePath)\splash.png
splashlogo ,$(pGlobalImagePath)\splashlogo.png
infobutton ,$(pGlobalImagePath)\infobutton.png
getstarted ,$(pGlobalImagePath)\getstarted.png

logo ,$(pGlobalImagePath)\logo.png
infologo ,$(pGlobalImagePath)\infologo.png
CS_collasped ,$(pGlobalImagePath)\CurrentSelections_collapsed.png
CS_expanded ,$(pGlobalImagePath)\CurrentSelections_expanded.png
searching ,$(pGlobalImagePath)\searching.png
CompanyLogo ,'C:\QLIK\ImagePlacement\Images\EA_Horizontal.png'
]
;

This now shows up in "Edit Expression" in Text object Properties.  It shows correctly.  However, it still is showing the "Background color and not the image.

Representation is image. 

here's the text -

'qmem://ImageID/CompanyLogo'  - which does work now, when the image is on "C".  Apparently, me using the \\dev server - does not work.

marcus_sommer

Maybe you are missing the bolded part of this example:

= 'qmem://<bundled>/ImageID/CompanyLogo.png'

- Marcus

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I don't believe DSE $() substitution will take place in your inline data

,$(pGlobalImagePath)\


You will need to specify the actual path.


-Rob

jonathandienst
Partner - Champion III
Partner - Champion III

Rob is correct. Move the dollar expansion out of the Inline part:

Images:

Bundle LOAD ImageID,

  If(ImageID = 'CompanyLogo'), ImagePath, $(pGlobalImagePath) & '\' & ImagePath as ImagePath

INLINE [

  ImageID, ImagePath

  splash, splash.png

  splashlogo, splashlogo.png

  infobutton, infobutton.png

  getstarted, getstarted.png

  logo, logo.png

  infologo, infologo.png

  CS_collasped, CurrentSelections_collapsed.png

  CS_expanded, CurrentSelections_expanded.png

  searching, searching.png

  CompanyLogo, 'C:\QLIK\ImagePlacement\Images\EA_Horizontal.png'

];

Its a bit messy because CompanyLogo comes from a different location.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
derekledbetter
Contributor III
Contributor III
Author

Rob,

Thanks.  I will try that.

What if all the images come from the same location?  Will that make it better?  Also, it still has a "blue background" and the image is not showing.  What is still wrong?

derekledbetter
Contributor III
Contributor III
Author

@jonathan dienst, I tried it and when putting in the script, it produces "errors"

I even tried taking everything and posting screen shots below.QlikIssue_Image.jpgt the company logo out.  Still can't get the