Skip to main content
Solved

Create a URL link button in MUI for field in the Header (NOT GRID)

  • March 29, 2026
  • 2 replies
  • 47 views

Joe Schmucker
Captain II
Forum|alt.badge.img+3

I have a custom field in the header of a screen.  I cannot find a way to add the hyperlink button to the field.

This was addressed for a grid field here:

I’ve added the [PXDBWeblink] to the DAC field, but that does not make the link button show.

I think I might have to modify the TS file, but I cannot adapt the code from the above topic.

export class CROpportunityHeader_Combined_generated {
    UsrURL: PXFieldState;
 

Any help would be super appreciated.

 

 

Best answer by premalathan35

We can also add at TS level. 

Example:

@fieldConfig({ controlType: "qp-link-editor" })
UsrURL: PXFieldState;

2 replies

Joe Schmucker
Captain II
Forum|alt.badge.img+3
  • Author
  • Captain II
  • March 29, 2026

I found how to do it by opening AR302000 in classic mode, converting to modern UI, then finding the field in the html file.  

    <field name="Opportunity.UsrURL" control-type="qp-link-editor" after="#fsHeader_C FIELD[name='Opportunity.UsrEngineer']"></field>
 


Forum|alt.badge.img
  • Jr Varsity III
  • Answer
  • March 31, 2026

We can also add at TS level. 

Example:

@fieldConfig({ controlType: "qp-link-editor" })
UsrURL: PXFieldState;