What language does the text editor in the AttributeManager Transformer use? is it SQL, Python, both, or ?
AttributeManager Text Editor Language?
Best answer by thijsknapen
Hi @timh ,
I'm not really sure how to answer your question but I suppose none of the above. I believe it's just an internal text editer, where you can enter and/or set plain text to be used as the value for your attributes.
To construct the text value using information of your workspace, you can use e.g. Parameter Values, FME Feature Functions, String Functions, Math Functions, etc. Some of these may be based on other Languages (e.g. when you use an Arithmetic Expression, which is based on the @Evaluate() FME Feature Function, you also see Math Operators in the left bar, which I believe are based on TCL). Nevertheless, in general I suppose functions like these are part of the FME language if you would call it as such.
But if you truly have statements c.q. query's in some other language, you probably need to use dedicated transformers to execute these. E.g. PythonCaller for Python. SQLExecutor for SQL, XMLXQueryExtractor for XQuery, TCLCaller for TCL, etc.
Furthermore, if a text string in the Text Editor would represent a statement c.q. query from some other language such as SQL or Python, you do have the option to change the Syntax highlighting. E.g. see below screenshot;
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.