Thanks for your reply - I think a few clarifications are in order!
How are you doing this renaming in the custom transformer? It sounds
like you aren't using AttributeRenamer. Are you using TCL or Python. I
know that for TCL any attributes you create in the script won't
automatically appear in the workspace because there's no way that
Workbench can parse the TCL to find out what attributes are created.
I just typed straight into an FMX file. Is that TCL? It was mainly AttributePrefixer it was based on.
From the second half of what you say above, it looks as though it might not be possible - so why are some of FME's default transformers able to access this functionality?
The attributes will be there (which is why you see them in the Viewer)
but just don't get automatically exposed in Workbench. If this is the
case then I think the AttributeExposer is your only hope - though it
could be a lengthy process to set up for many attributes.
I believe that just exposes the ones you type into a list - I need something which works whatever the attribute value you type in.
My function works fine if I route it to a visualiser; or if I do the whole operation in two FMWs (i.e. SHP -> SHP; SHP -> PostGIS or whatever); but neither of those is especially useful.
> More mysterious is that if you rename AttributePrefixer and try toNot sure if I know what you mean - can you send an example?
> use it, it loses that capability altogether. Presumably something is
> hardcoded somewhere else up the line.
Go to your fmesuite.fmx file; search for 'AttributePrefixer' in a text editor; when you get to the transformer, rename it 'AttributePrefixer2'; and then try it out in Workbench... You should see what I mean (the attributes won't get renamed when you route them through).
I'll freely admit that I'm messing with things I don't fully understand, which might not be too sensible, but it will be a bit of a nuisance if it's not possible.
Anyway, thanks again for your help.
Roland.
__._,_.___
Join us at the FME Worldwide User Conference Sept. 21-22, 2006 Vancouver BC Canada. For more information, visit www.safe.com/2006uc.
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
