Skip to main content
Question

How create link command in Modern UI.

  • March 8, 2026
  • 2 replies
  • 20 views

mos11
Freshman I
Forum|alt.badge.img

<px:PXGridColumn DataField="UsrBZPONumber" Width="140" CommitChanges="True" Type="HyperLink" LinkCommand="BZViewPOOrders" />

how convert it to modern ui?

2 replies

Hi, ​@mos11 to convert PXGridColumn hyperlink with LinkCommand in Modern UI , we can do it from .ts file of that screen .In Modern UI Grid column is configured in the .ts file using decorators, instead of definying Hpyperlink in the aspx.

 

1.Backend Graph Action ( Same as Classic UI)

2.TypeScript – Configure the Hyperlink Column

 

import {
PXView,
PXFieldState,
columnConfig
} from "client-controls";

export class YourView extends PXView {

@columnConfig({
commandName: "BZViewPOOrders"
})
UsrBZPONumber: PXFieldState;
}

Hope this work’s for you…! 


Forum|alt.badge.img
  • Varsity I
  • March 9, 2026

Hello ​@mos11,

Hopefully this can help you.

@linkCommand("bZViewPOOrders")
@columnConfig({ width: 140 })
UsrBZPONumber : PXFieldState<PXFieldOptions.CommitChanges>;