Select to view content in your preferred language

QueryTask on Layer with attribute filter on related table

638
2
08-27-2012 01:52 PM
YamunadeviRathinasamy
Emerging Contributor
Hello,

I have a "PointLayer" with attributes(ObjectId,Name, Geometry) which is related to a SDE Table "Information" has the following attributes ( Owner, Created Date, Description, Title, IsLocal).

PointLayer(0)
FIELDS
   --OBJECTID
   -->Name
Relationships
    Information(0) -- Related To Information(1)

I want to execute a search with Geometry filter on PointLayer and attribute filter on Information.
Search(Geometry=Point(x,y) and Name='xyz' and Owner='abc' and IsLocal=1)
Do I have  any option to do this in one ESRI task, The result should have the geometry and attributes of all related records.
I don't want to use QueryRelatedRecords for each relationship filter.

Post the best method to do this kind of search.
Tags (2)
0 Kudos
2 Replies
RhettZufelt
MVP Notable Contributor
Not sure, but I think the newest version of eSearch widget will let you do what you want and more.

http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e

R_
0 Kudos
raffia
by
Deactivated User
Hi, I was wondering if you have executed code for what you wanted to do, I am searching for the same thing.
Thanks
0 Kudos