When your array contains multiple items, your query will look something like:
FullName eq 'a,b,c'
This will only return records where the
FullName
is exactly equal to all the names from your array combined into one comma-separated list. That's obviously not going to work.
You need to build a query for each value, and combine them with the
or
operator:
url: "...?$filter=FullName eq '" + dataarray.join("' or FullName eq '") + "'",
That will generate a query that looks like:
FullName eq 'a' or FullName eq 'b' or FullName eq 'c'