Hi I have a requirement to make one action button only visible on list view but not on detail view. I am wondering how to make that happen?
Problem solved.
Hi Yvonne Huang
Could you share your solution to help more people.
Thank you!
Yes, I utilized the PageActivated event on detail page tab and add the logic like the following, then the action pane button would completely disappear after goes into Detail page mode.
[FormControlEventHandler(formControlStr(CustFreeInvoice, TabPageDetails), FormControlEventType::PageActivated)] public static void TabPageDetails_OnPageActivated(FormControl sender, FormControlEventArgs e) { FormRun formRun = sender.formRun(); FormDesign formDesign = formRun.design(); FormControl control = formDesign.controlname(formControlStr(CustFreeInvoice, <Name of Your Control>));
control .visible(false); }
Hi Yvonne,
Thank you for sharing and marked the solution.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 1,850
André Arnaud de Cal... 795 Super User 2025 Season 2
Sohaib Cheema 519 User Group Leader