BAQ On The Fly?

In fact, if it’s completely unique, you could simplify the function to just do a straight replacement of the field name with another.

Like if it was UD01.MyAbsolutelyUniqueTemplateField…

Would just be →

CallService<DynamicQuerySvcContract>(dq =>
{
    var queryTS = dq.GetByID(BaqID);

    string queryTSJson = JsonConvert.SerializeObject(queryTS, Formatting.Indented);
    
    
    if(!String.IsNullOrEmpty(FieldToReplace) && !String.IsNullOrEmpty(FieldReplacement))
    {
        queryTSJson = queryTSJson.Replace(FieldToReplace, FieldReplacement);
    }
    
    var dqTS = JsonConvert.DeserializeObject<DynamicQueryTableset>(queryTSJson);
    
    output = dq.Execute(dqTS, new QueryExecutionTableset());

});