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 :
Small and medium business | Business Central, N...
Suggested answer

Comments Action - Identify if Comments exist in table record

(1) ShareShare
ReportReport
Posted on by 561
In various pages (Customers, Vendors, Sales/Purchase Orders), comments are being maintained in the various Comments Actions.  But you cannot tell if Comments exist unless you open up the Comments Sheet.  Is there a way to modify the Comments Caption to appear differently if Comments actually exist.
 
For example, in Dynamics GP & SL, the comments button has horizontal lines if comments exist, none if empty.
 
I know a field can have a different font color based on conditions, but can the same be done for an Action Caption?  Or maybe change the Caption to "COMMENTS" when data exists?
 
Or, can I hide the existing Comments actions, create a new one on each page, and make the Image conditional depending on if data exists or not?  I see in the App Action Icons page (https://bcicons-g9hhcpg4fqatfmbj.z01.azurefd.net/) there is an empty Comment (Comment) and a Lined Comment (ViewComments).
 
Thanks.
I have the same question (0)
  • Suggested answer
    Valentin Castravet Profile Picture
    30,267 Super User 2025 Season 2 on at
    Comments Action - Identify if Comments exist in table record
    As far as I know, the icon is static and can’t be changed, though other users might have different ideas.

    An alternative is to create two actions with different icons and control their visibility based on whether comments exist. This would make the icon appear dynamic.

    However, a simpler approach would be to add a Comments FlowField on the document header, a Yes/No field that indicates whether comments exist, similar to many standard fields, see the example below:
     
     
  • Suggested answer
    YUN ZHU Profile Picture
    93,689 Super User 2025 Season 2 on at
    Comments Action - Identify if Comments exist in table record
    Hi, You can add a Flowfield and display "Yes" if it exists. It's not difficult. However, it does require a little simple customization.
    PS: Dynamics 365 Business Central: FlowFields (Sum, Average, Exist, Count, Min, Max, Lookup)
     
     
    Thanks.
    ZHU

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 2,106

#2
YUN ZHU Profile Picture

YUN ZHU 1,752 Super User 2025 Season 2

#3
OussamaSabbouh Profile Picture

OussamaSabbouh 1,670

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans