Hi All,
I’m using the JSONTemplater and I am getting the following errors from FME when it parses the root template:
JSONTemplater (XMLTemplaterFactory): The following error occurred near line 81, column 59 of the query:
JSONTemplater (XMLTemplaterFactory): "fme.get-attribute": function with arity 1 not declared
In the root template, I have the following starting on line 80:
"Subfeature1Array": y
fme:process-features("Subfeature-First", "xxxNumber", fme.get-attribute("xxxNumber"))
],
"Subfeature2Array": e
fme:process-features("SecondFt", "xxxNumber", fme.get-attribute("xxxNumber"))
],
"Subfeature3Array": f
fme:process-features("ThirdFeat", "xxxNumber", fme.get-attribute("xxxNumber"))
]
Both the root features and the sub-features have an xxxNumber attribute. I am following what is documented in the Help for the JSONTemplater “Selecting the Sub-Features to Process” section example but have no clue what the issue is.
Any help would be greatly appreciated!