Select to view content in your preferred language

Add Data from Path — Add specific AGOL table to map using layer alias

230
4
09-12-2024 01:17 PM
Status: Open
Labels (1)
Bud
by
Esteemed Contributor

Edited. Previous title: "Add data from Path — Add specific AGOL table to map, not entire feature service"

ArcGIS Pro 2.9.5

Using the Add Data From Path option from the Ribbon > Add Data menu:

Bud_0-1726171837715.png

I can add an entire hosted feature service to the map using the URL that I got from a feature layer's Properties > Source:
https://services7.arcgis.com/<removed>/arcgis/rest/services/New_File_Geodatabase_gdb/FeatureServer

Bud_0-1726172369730.png

Bud_2-1726172407320.png

Bud_1-1726172068287.png

But as far as I can tell, I can't add a specific table using a URL.
I tried adding /Table_1 to the end of the URL, but when I clicked Add in Add Data From Path, the dialog closed, but nothing happened; no layers were added.

Could Pro be enhanced so that we can add a specific table to the map using the Add Data From Path dialog?

Use case: Reset feature layer properties.

4 Comments
KenBuja

You can add in just the table using the URL. Your mistake is using the table name instead of its layer ID. For example, I have a service set up on AGOL with a spatial layer and several tables.

Snag_2193525.png

To add the Source table to ArcGIS Pro, I use id "1", not "Source"

Snag_217384b.png

and the table is added to my project

Snag_2181703.png

Bud
by

Thanks @KenBuja.

I can see that Table_1 is layer 0:

Bud_1-1726174439676.png

 

But when I add /0 to the URL, Pro still adds the entire Feature Service, not the specific table.

Bud_2-1726174523498.png

Any idea why it's doing that?

 

KenBuja

I was testing this on ArcGIS Pro 3.3.0, so maybe this was fixed from your version.

Bud
by

A different take on this idea:

In the Add Data From Path dialog, after entering the URL of the feature service, choose the layer from a picklist:

0 - Table_1
1 - Table_2
3 -
4 -

 

I'm aware that I can browse AGOL data in the Add Data dialog. But that doesn't help me if I want to navigate to data using a URL.

Bud_0-1726250594140.png