The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how do we display images dynamicaly in catalog item

knight
Tera Expert

Friends any idea..how do we display images dynamicaly in catalog item..Ex when I select device it should also change image at the place of test image..I tried with UI macro but not working.

 

find_real_file.png

10 REPLIES 10

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Knight,

Try following;

1) have 4 UI macros containing individual images based on device

2) onload hide all ui macro variables

3) based on which value is selected show that specific macro variable

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards
Ankur

Thanks Ankur for your help.

Problem is Device count is not limited to 4..It may increase or decrease..So i want to prepare something that will change dynamically, or it will fetch report from table where i stored these images using column type image.

Hi Knight,

To make it dynamic have following;

create a custom table where 2 fields would be there

1) value

2) image field

create after insert business rule on this table and create an UI macro from script with the html content by adding <img> tag

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards
Ankur

Hi Ankur,

 

Could please elaborate more about this

"create after insert business rule on this table and create an UI macro from script with the html content by adding <img> tag"

I already tried by creating table and added value in the beginning, i don't understand how to change dynamically on catalog form.