Hi,
I’m trying to make the CustomerID selector field display as a hyperlink in the Modern UI, but it is not showing up as expected. Below is my code snippet. Could anyone help me identify what I might be missing or how to make it work?
Code:
DAC:
#region CustomerID
[PXDBInt()]
[PXUIField(DisplayName = "Customer ID",Enabled =false)]
[PXSelector(typeof(Search<BAccount.bAccountID,Where<BAccount.type,Equal<BAccountType.customerType>>>),
SubstituteKey = typeof(BAccount.acctCD),
DescriptionField = typeof(BAccount.acctName))]
public virtual int? CustomerID { get; set; }
public abstract class customerID : PX.Data.BQL.BqlInt.Field<customerID> { }
#endregion
HTML:
<template>
<field name="CustomerID" config-allow-edit.bind="true"></field>
</template>
I also tried by adding config-type.bind="1"
Thanks in advance.
Premalatha N
