I’m trying to get a custom field to appear on the Mobile App in 26r1. It seems like any field I try to add simply doesn’t appear. No errors, just isn’t there. I can remove a field, so I know my customization is publishing. I’ve used the name from the WDSL, tried adding the group, refreshed the mobile (and removed existing fields so I know I’m getting the update.)
The custom field is in both the ASPX and Modern UI versions of the desktop form.
I’m sure I’m missing something stupid, but I can’t see what it is.
The DAC
public sealed class EPExpenseClaimDetailsTEKServiceTradeExt : PXCacheExtension<PX.Objects.EP.EPExpenseClaimDetails>
{
public static bool IsActive()
{
// Todo: Decide when to turn this on?
return true; // PXAccess.FeatureInstalled<FeaturesSet.rutRotDeduction>();
}
#region UsrTEKServiceTradeJobID
[PXDBLong]
[PXUIField(DisplayName = "ST Job #")]
[PXSelector(typeof(SearchFor<TCServiceTradeJob.sTJobID>.In<SelectFrom<TCServiceTradeJob>.OrderBy<TCServiceTradeJob.createdDateTime.Desc>>),
typeof(TCServiceTradeJob.sTJobNumber),
typeof(TCServiceTradeJob.name), CacheGlobal = true, SubstituteKey = typeof(TCServiceTradeJob.sTJobNumber), DescriptionField = typeof(TCServiceTradeJob.name))]
public Int64? UsrTEKServiceTradeJobID { get; set; }
public abstract class usrTEKServiceTradeJobID : PX.Data.BQL.BqlLong.Field<usrTEKServiceTradeJobID> { }
#endregion
Field Name in WDSL
<s:complexType name="ClaimDetails">
<s:sequence>
...
<s:element minOccurs="0" maxOccurs="1" name="Location" type="tns:Field"/>
<s:element minOccurs="0" maxOccurs="1" name="STJob" type="tns:Field"/>
Code from Mobile In Customization Package
update screen EP301020 {
update container "ClaimDetails"
{
add field "STJob" {
placeAfter field "ExpenseItem"
special = AllowEdit
SelectorDisplayFormat = KeyDescription
pickerType = Searchable
selector {
fieldsToShow = 2
add field "STJobNumber"
add field "Name"
}
}
add field "STJobItemID"
}
}

