Skip to main content

Notifications

Announcements

No record found.

Custom images in Business Central List Pages

CUSTOM IMAGES IN BUSINESS CENTRAL LIST PAGES

The ideal would be a mediaset field, unfortunately, the display from the web client in the lists is not perfect, you need to use brickview to view; in this case, we can still use the old technology based on blob fields (deprecated).

“Hi, do you know if there is any way of displaying Mediaset fields in list pages without using brickview?”

What is the alternative (NOT using brickview) in the WebClient using Media fields instead of BLOBS (without using external components such as Meta UI)?”

https://github.com/Microsoft/AL/issues/3406

Example with Mediaset field 

https://cloudblogs.microsoft.com/dynamics365/no-audience/2017/10/04/working-with-mediaset-references-in-microsoft-dynamics-nav-2017/

Example with Brick field group

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-lists-as-tiles

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-working-with-media-on-records

NOTE

Back to the past

Example with Blob Fields

Let’s go back to the old management with BLOB Fields

While it’s not the best (and Microsoft deprecated it in theory), the resolution from the web client is better.

You have to create images and import them with an importStream function (e.g. images that determine the progress status)

BMP Images

The images must be at least 64×64 bmp to have a decent rendering on Web Client

Ex: Images (taken from others ERP)

Upload images

It is done through a page for uploading new images or replacing existing ones

Results

Ex: Analysis of transfer order shipping progress

AL Code – sample

Source https://github.com/rstefanetti/AL-Code-Samples-Education/tree/AL-ImagesListViews

L'articolo Custom images in Business Central List Pages proviene da Roberto Stefanetti Blog.


This was originally posted here.

Comments

*This post is locked for comments