Combine line and point feature classes attributes

5174
22
Jump to solution
08-17-2015 08:15 AM
MathewSuran
New Contributor III

I have a line feature class and point feature class in a gdb that is hosted on our server. 

I want to utilize these in a webapp using the REST url. 

I want to ultimately be able to only display a line feature and be able to select it to display both line and point attributes. 

After doing some searching, I think I need to create a relationship class in the gdb. 

Can anyone lend some expertise on best way to accomplish this?

0 Kudos
22 Replies
MathewSuran
New Contributor III

By a simple mouse click at the location.

0 Kudos
williamcarr
Occasional Contributor II

I've never tried to access any sort of click event in an info window or popup yet so I'm unsure of how to pull a feature attribute, but I'll give it a shot tomorrow to see if I can't figure something out.

0 Kudos
williamcarr
Occasional Contributor II

Looks like I'm striking out. I'll post another thread in the JS forum and see if we can't Kelly and others to help us out. I'd really like to see a solution to this for personal reference.