Select to view content in your preferred language

AttachmentEditor for the query result of a feature layer

818
3
Jump to solution
05-12-2013 07:51 PM
AlexChen
Occasional Contributor
Hi all,

I have no problems running the AttachmentEditor dijit example with the ArcGIS Online feature layer.

However, our feature I have to deal with has over 1000 point features within a small geographic area. So the map appears very much messy when displaying all those point features. It turns out even worse when the AttachmentEditor pops out upon click on point.

What I want to achieve is to allow the user to do a query on the point feature layer by names so that they will be narrowed down to a subset (the query result) of them, and the user to be able to show the associated attachments with the point upon clicked. I don't want to apply Attachment Editor to the entire feature layer.

I cannot find a decent example for me. Anyone could point me to the right direction? Thanks!

Cheers,
Alex
0 Kudos
1 Solution

Accepted Solutions
VivekPrasad
Deactivated User
Hi all,

I have no problems running the AttachmentEditor dijit example with the ArcGIS Online feature layer.

However, our feature I have to deal with has over 1000 point features within a small geographic area. So the map appears very much messy when displaying all those point features. It turns out even worse when the AttachmentEditor pops out upon click on point.

What I want to achieve is to allow the user to do a query on the point feature layer by names so that they will be narrowed down to a subset (the query result) of them, and the user to be able to show the associated attachments with the point upon clicked. I don't want to apply Attachment Editor to the entire feature layer.

I cannot find a decent example for me. Anyone could point me to the right direction? Thanks!

Cheers,
Alex


You might like to use "setDefinitionExpression(expression)" to set the definition expression, which filters the features to show on the map.

View solution in original post

0 Kudos
3 Replies
VivekPrasad
Deactivated User
Hi all,

I have no problems running the AttachmentEditor dijit example with the ArcGIS Online feature layer.

However, our feature I have to deal with has over 1000 point features within a small geographic area. So the map appears very much messy when displaying all those point features. It turns out even worse when the AttachmentEditor pops out upon click on point.

What I want to achieve is to allow the user to do a query on the point feature layer by names so that they will be narrowed down to a subset (the query result) of them, and the user to be able to show the associated attachments with the point upon clicked. I don't want to apply Attachment Editor to the entire feature layer.

I cannot find a decent example for me. Anyone could point me to the right direction? Thanks!

Cheers,
Alex


You might like to use "setDefinitionExpression(expression)" to set the definition expression, which filters the features to show on the map.
0 Kudos
AlexChen
Occasional Contributor
Thanks Vara.

It works like a charm!
0 Kudos
VivekPrasad
Deactivated User
Thanks Vara.

It works like a charm!


Thanks Alex!
0 Kudos