I have a problem. I've built a workbench that allows me to dynamically pull in various data sources. This also pulls in lists, depending on the situation. But FME doesn't know anything about these lists. How can I expose them dynamically? I have an attribute that contains the list name.
At the end I have to explode the list, edit it and reassemble it with the same name.
Thanks for your support
Michael
Page 1 / 1
Unfortunately you can’t expose them dynamically. You can deal with them dynamically in Python
One way, you could dynamically rename them in Python to a known exposed list, then explode them out.
Can you expand a bit more on what you’re trying to achieve? That may help get a more detailed answer
Hi @michaels ,
I don’t think there is any way to automatically expose the list name which is determined at run-time, unfortunately.
However, if the goal is to explode the list and the list name is provided as an attribute value ("@Value(_substring)" in your case), you can rename the dynamic list to a fixed name (“_list” for example) with BulkAttributeRenamer (Mode: Regular Expression Replace), expose “_list{}” with AttributeExposer, and explode the list with ListExploder. See also the screenshot below.
Just be aware that you may have to expose the attribute names (nDynamicTitleResolved, uuid, etc.), after exploding the list.