Skip to main content
Question

need to take email addresses from a AGOL table, and add to an existing text file, only if it doesnt already exist within this text file

  • June 26, 2020
  • 1 reply
  • 9 views

benvk
Contributor
Forum|alt.badge.img+8
  • Contributor
  • 60 replies

Hey,

So I have an ArcGIS Online Form, users enter an email address.

FME periodically checks this AGOL table and grabs the list of email addresses within.

What I am trying to do is insert these emails addresses into a local text file, but only if this email address does not already exist within this text file. This text file is simply a list of email addresses, think of it as a single column CSV file.

If the email address is already in the text file, FME needs to go off and do other things (that part I have sorted).

What is the most efficient way to test if the email address (its just a string) exists in an existing text file?

I currently am using a feature joiner to do the test, joined means it already exists, unjoined means they dont already reside in the text file. This does not feel efficient, I am guessing there is a more suitable transformer out there?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

daraghatsafe
Forum|alt.badge.img
  • 135 replies
  • June 29, 2020

Hi @benvk, I am wondering would a ChangeDetector would do the job for you. Here is a link to the documentation.

http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/changedetector.htm

Let me know if you test it out.