I have to display images in list view according to the choices of a color field on form layout.

r_21
Mega Contributor

Till now what i have done...........

I have used Formatters to display color images on form view.Not able to display them on list view.

How to apply conditions on desired formatters ? So they can be displayed only after color choice selection of color field.

Please guide me for the list view presentation of color images.

If there is any other alternative,please guide me.

Thanks in advance!

6 REPLIES 6

bernyalvarado
Mega Sage

Hi Rajesh, you need to navigate to System UI >> Field Styles. Over there you can define a field style for your table / field and set the appropriate style to display a background image.



Thanks,


Berny


bernyalvarado
Mega Sage

OOB you can see how the caller field in the Incident table has a field style with something like the following:



background-image: url('images/icons/vip.gif');


background-repeat: no-repeat;


background-position: 98% 5px;


padding-right: 30px;



I hope this helps



Thanks,


Berny


Hi Berny,



I have defined the styles in the above manner for the field and changed code accordingly but it is not reflecting for list view.



I have added the url of my image from db_image_list.do.



Can you tell me other things which i am not taking care of regarding above functionality.



Thanks


Rajesh


Hi Rajesh,



Would you mind trying to use the image url: 'images/icons/vip.gif', and see if it's working? If it working, then the problem is how you have uploaded your image or how you're referencing it.



Thanks,


Berny