I have to display images in list view according to the choices of a color field on form layout.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2016 09:49 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2016 09:57 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2016 09:59 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2016 03:16 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2016 07:11 PM
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