Select to view content in your preferred language

Map Services and Joins.

4124
4
03-05-2015 06:51 AM
jaykapalczynski
Honored Contributor

I have access to a basic Map Service.  I also have a dataset/table with a bunch of additional information. 

  1. Can I join this Map Service with the table, register it in AGO and use it in a AGO template?
  2. In JavaScript API.  Can I do this join and then have the data available in my JS App?
0 Kudos
4 Replies
JakeSkinner
Esri Esteemed Contributor

Hi Jay,

You will not be able to perform the join to the map service.  You will need to perform the join to the actual data.  Here is a tool you can use to download the data from the Map Service.  Once it's downloaded, you can then join the table to feature class, and then re-publish as a new map service.

0 Kudos
jaykapalczynski
Honored Contributor

Thats what I was figuring....

Question...Can I use this tool for any map service out there....especially one that is not in AGO but on someones own server....I have credentials to view it...can I download it?

0 Kudos
jaykapalczynski
Honored Contributor
0 Kudos
FionaRenton1
Frequent Contributor

I found a sample on github, but it looks like it connects to a File geodatabase.

I don't know how you can relate two map services even if one is a table.

https://github.com/Esri/developer-support/blob/master/web-js/join-data-source/JoinDataSource_Final.h...

0 Kudos