Hi,
My workspace attached only takes information from the Website and shows values in the log.
How Can I expose the response in attributes using Python caller?
Thank´s
Hi,
My workspace attached only takes information from the Website and shows values in the log.
How Can I expose the response in attributes using Python caller?
Thank´s
Best answer by takashi
Hi @mr_fme ,
In the Python script, you can add a pair of name and vlaue to the input feature object as a feature attribute with FMEFeature.setAttribute method, as in:
feature.setAttribute(attribute name, attribute value)
Then, expose the attribute name with the "Attributes to Expose" parameter in the PythonCaller or with a subsequent AttributeExposer transformer, if necessary.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.