Is there a way to add a User Code Region within a TDL for loop? If the following code is used, all the regions end up with the same name, and the contents of the first instance of the region are copied into all the following instances when the code is next generated.
<[Foreach RelatedEntity OneToMany]>
---
<[ UserCodeRegion "UserCodeRegionName" ]>
---
<[NextForeach]>
Is there perhaps a way to create a unique name for the region within the loop? For example, something like the following (which does not work):
<[Foreach RelatedEntity OneToMany]>
---
<[ UserCodeRegion "UserCodeRegionName_<[RelatedEntityName]>" ]>
---
<[NextForeach]>
Any help appreciated