web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

how to add a one image field in a list page and print that image according to the Boolean field

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

   I am trying to add a "high priority image"(it is a BLOB fileld from another table) column in sales list page. Now i want to show that column according to a boolean field from sales list page. that is assume that "high priority order" is a boolean field and i want to show that "high priority image" column according to that boolean value.

I have written code in onaftergetrecord of that page like

Xtable.calcfields("High priority image")

if "High priority Order" Then

  Xvis :=true

else

  Xvis:=false;

Then i given this xvis(Boolean Global Variable) To that column visible property but it is not working.

Can any one help me out from this problem

Thanks,

Ramesh

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mohana Yadav Profile Picture
    60,967 Super User 2025 Season 2 on at
    RE: how to add a one image field in a list page and print that image according to the Boolean field

    Do you have "high priority image" field in Table 36?

    When "High priority Order" is yes then import the blob to table 36 or delete from table

    Make sure that it may decrease the performance If there are lot of records in table.

  • Verified answer
    Suresh Kulla Profile Picture
    50,233 Super User 2025 Season 2 on at
    RE: how to add a one image field in a list page and print that image according to the Boolean field

    As Mohana mentioned you may encounter some performance issues if you display the image on the list page, for your query make sure your variable xVis property IncludedInDataSet is set to true and make sure you execute your code in OnAfterGetRecord, OnAfterGetCurrRecord and OnOpenPage triggers

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#2
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans