Imported from previous forum
This sounds more like a product specific question (appia library) and is only related to semantics if you intend to replace a key field of the NewOrderSingle message, e.g. ClOrdID or OrdType. In general, user-defined fields should only be used to transport additional attributes that are very specific to your implementation.
If your question is about the technical aspects of adding user-defined fields then the forum “FIX Technology” (http://www.fixtradingcommunity.org/pg/discussions/169891/fix-technology/) is better suited.
I intend to add a new custom tag / user defined tag in the new order placement for equity. I am using appia library for generating FIX messages. Can someone guide to achieve it.