I would like to create a BP that performs an editor task based on data in ANY Data Table that implements a specified Struct. I am very frustrated because all of the examples I have found (and all of my own attempts) all require hard coding a specific Data Table into the BP (eg the Get Data Table Row node). If I don’t specify a specific Data Table, the Out Row pin has a wildcard type. IMHO that is a terrible strategy, the logic of the BP depends on the Struct and not a specific Data Table (that implements that Struct).
A specific example might be a BP that generates instanced static meshes, with the transform parameters being read from a Data Table. This BP should be able to accept ANY Data Table that adheres to the specified Struct. As things stand, I am either (1) hard coding Data Table names (a super ugly compromise) or (2) using a macro (also ugly).
Arguably, the type of a Data Table is its Struct and the BPs should be referencing a type not a hard coded instance of a type (a Data Table). In that way a BP can be super flexible and work with any Data Table that implements the specified Struct. I would be massively grateful for a solution, suggestion or help understanding what I have misunderstood.