Is there anyway to read in attachments while using the FeatureReader transformer. I know there is an option with the ArcGIS Online Reader but I don't know my Where Clause until after certain point in my workflow. Feature Reader was working perfect until I realized I couldn't read in attachments. Any help would be great!
Read ArcGIS Online Attachments using Feature Reader
Best answer by laurawatsafe
Hi @iaguilera14
Unfortunately, you've run into a shortcoming in the FeatureReader itself with this. The FeatureReader currently does not expose any parameters that would be set on the individual feature types for readers. So there is no way to tell the the ArcGIS Online reader to read the attachments when using it inside the FeatureReader. We do have an enhancement request internally to add support for changing feature type parameters inside the FeatureReader, so I've linked this post to that request. We'll update this as soon as that has been done.
For your workflow, one potential workaround might be to make use of the WorkspaceRunner. For that, you'd need to make a second workspace with the AGOL Reader in it and publish the Where clause. Then use the WorkspaceRunner in your first workspace to send the Where clause into the second workspace.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.