Lookup data adapter for a single value in a list


(Davide Pala) #1

Hi guys,
There is a way to lookup if an ip is in a list? i’ve a list of IP like:
1.1.1.1
1.1.2.2
1.1.3.3
It’s published via HTTP as txt and i want to check if a field of a message is in this list
thanks


(Megan) #2

I don’t have a ton of experience with it, but DSV via HTTP adapter as the data adapter. On that adapter type there is an option for “Check Presence Only” which will return a boolean of true if it is on the list, false if it is not. Make sure your format is right though for the list (has quotes or whatever around the values).