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?
Best answer by kokjietan
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:
Adding an Selector Attribute
Adding the Attribute to a UDF screen
Using the UDF in the screen
Switching the Selector Attribute to another invalid Selector Attribute and saving
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.
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:
Adding an Selector Attribute
Adding the Attribute to a UDF screen
Using the UDF in the screen
Switching the Selector Attribute to another invalid Selector Attribute and saving
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.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.