Acumatica Summit 2026 - January 25-28 | Seattle Convention Center — Summit Building
The title says it all.
I want to show a button only if Modern UI is being used.
Best answer by Dmitrii Naumov
@darylbowman I think you are overthinking it. Could you just set Visible=false in aspx for that action?
I'm assuming the modern UI is JavaScript driven and the old UI is .net webforms.
What version of Acumatica is the modern UI implemented in?
Hello @darylbowman I think this post gives some idea about your task.https://www.acumatica.com/blog/developer-preview-of-acumaticas-new-modern-ui/I hope it helps.
...I think this post gives some idea about your task.
No, not really at all.
The Modern UI is built on HTML and TypeScript (which gets built into JavaScript, yes).
It is in preview in 24 R2 and 25 R1.
@darylbowman , I think you could also query the SiteMap table to determine the SelectedUI value for the screen.
...set Visible=false in aspx for that action
I think this is the easiest.
The closest I got in TypeScript was defining the action as PXActionState on the view and using a @handleEvent on RowSelected to enable it. The problem is, it didn’t work.
PXActionState
@handleEvent
RowSelected
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.