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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Unable to Hide Fields Conditionally in FactBox

(1) ShareShare
ReportReport
Posted on by 4

I have several fields in a FactBox, and I want to control their visibility dynamically based on certain conditions.

However, even after setting the Visible property (or using a Boolean variable), I am unable to hide those fields—they remain visible.

Is there any limitation or specific approach required to control field visibility in a FactBox page?

Has anyone encountered a similar issue or knows the correct way to hide FactBox fields conditionally?

I have the same question (0)
  • Suggested answer
    OussamaSabbouh Profile Picture
    7,399 on at
    Hello,
     
    Yes, this is a common FactBox limitation: you cannot control visibility of FactBox fields from the parent page—only the FactBox page itself can do that. To hide fields conditionally, the logic must live inside the FactBox (CardPart/ListPart) using a global Boolean variable bound to Visible, usually marked with [InDataSet], and set in OnAfterGetCurrRecord or OnOpenPage, often followed by CurrPage.Update(false) so the client refreshes. If the condition depends on context (where it’s opened from), expose a public procedure on the FactBox and call it from the host page. Expecting the host page to hide individual FactBox fields is not supported.
    Regards,
    Oussama 

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,630

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 800 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 789 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans