Skip to main content

Hi,

We broke something when setting up a UDF in Shipments Form - the UDF is now referencing an invalid selector table. However, we are not able to click ‘Customizations > Manage UDF’ action on the Form to remove the invalid UDF, since the Form throws a trace error in load due to the invalid table.

Similarly, we are unable to delete the attribute since it is currently being used in a UDF. The Attribute is greyed out and stuck at the Selector.

Is there any way of removing UDF from a screen through a customisation project or other screen? Or prevent the form redirecting to the Error Trace screen, so I can invoke the Manage UDF action?

Hi @kokjietan,

Can you please share steps to replicate the issue and share the stack trace captured while replicating the issue?


As the problem was affecting all users using the Shipments screen, we had to troubleshoot and urgently fix the issue within the hour. Hence I no longer have the stack trace.

IIRC the steps replicating were similar to:

  1. Adding an Selector Attribute
  2. Adding the Attribute to a UDF screen
  3. Using the UDF in the screen
  4. Switching the Selector Attribute to another invalid Selector Attribute and saving
  5. This results in an invalid error when accessing the screen, and being unable to change the Attribute (greyed out) since it is currently being used in a UDF.

We ended up using a customisation project to unlink the UDF from the screen instead. It is under the User-Defined Fields of a customisation, just need to add the UDF and untick the box linking it to the screen.


Thank you for sharing your solution with the community @kokjietan!


Reply