Select to view content in your preferred language

ArcGIS Online, Web Maps and Flex Viewer - Widget Functionality

1410
8
Jump to solution
05-24-2012 09:48 PM
BenScott1
Deactivated User
Hi - I have experimented with inserting an arcgis online map into a Flex viewer (by calling the web map id in the config).  This works fine, however I was wondering if there was a way to access the rest endpoint of the services in ArcGIS online so that you can configure things like Query widgets to use them etc.  If not available in the free arcgis online, does anyone know if this is planned for the subscription-based version?

If not, is there a different way to expose services to a query widget when using a web map from ArcGIS Online?

Cheers,
Ben
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable
Hi Ben,

Yes, publishing your data as services in ArcGIS Online is only available with a Subscription.

BUT... if you upload your zipped up shapefile into the web map, configure pop ups for the layer in the web map, save and share it publicly, you will be able to identify/query when you click on the features. So even though you cannot configure the Query Widget to use the Service url, the Flex Viewer application will automatically honor the pop-ups set in the web map.

Cheers,
Andrew

View solution in original post

0 Kudos
8 Replies
MikeMinami
Esri Notable Contributor
Are you trying to build a custom application with Flex? I'm not clear what query widget you're talking about. You might get a better response by posting your question in either the Flex API or Flex viewer forums.

Thanks,

Mike
0 Kudos
BenScott1
Deactivated User
Hi Mike,

To phrase my question more clearly, is it true that both the free arcgis onine and the new subscription version operate entirely using web maps, and do not expose rest endpoints for the data you have uploaded?

If this is the case how do you query data (e.g. by attribute) in a web map when accessing it through an external web application such as a flex or javascript viewer?

Cheers,
Ben
0 Kudos
by Anonymous User
Not applicable
Hi Ben,

When you publish a Feature Service in ArcGIS Online there is a URL to the service end point that you can use to configure the Query Widget in the Flex Viewer. This URL would be exposed in the contents of the Web map, as shown on the Web map item page in ArcGIS Online.

Cheers,
Andrew
0 Kudos
BenScott1
Deactivated User
Is this only available for subscription customers?  I have discovered the instructions in the online help at http://help.arcgis.com/en/arcgisonline/help/index.html#/Using_hosted_services/010q00000085000000/

but when I upload a file it only appears as type 'shapefile', and there does not seem to be a way to access the url.

Cheers,
Ben
0 Kudos
by Anonymous User
Not applicable
Hi Ben,

Yes, publishing your data as services in ArcGIS Online is only available with a Subscription.

BUT... if you upload your zipped up shapefile into the web map, configure pop ups for the layer in the web map, save and share it publicly, you will be able to identify/query when you click on the features. So even though you cannot configure the Query Widget to use the Service url, the Flex Viewer application will automatically honor the pop-ups set in the web map.

Cheers,
Andrew
0 Kudos
RobDunfey
Regular Contributor
Ben,

I had exactly the same question.  If widgets would support the web map going forward, it would allow us to abstract away the services, if we had to change them at some point in the future, as long as them web map still looked the same, gives lots more flexibility.

Looks like its a no at the moment.

Rob
0 Kudos
BenScott1
Deactivated User
Thanks - yes I had already discovered the popup functionality.  I am not surprised that the rest endpoints are only available under the subscription model - will await the launch and pricing of this service...

By the way how do we get on the beta program for ArcGIS online subscription?
0 Kudos
by Anonymous User
Not applicable
Hi Ben,

When you load a shapefile into a webmap, the data is stored within the web map... that's why there's no service URL. When you have a subscription, you can create a service. When a service is available, that's when you'll have a URL.

The beta program for ArcGIS Online is now closed. You can request an evaluation from the ArcGIS Online product page, or you can always contact your Account Manager for details.

Hope that helps,
Andrew
0 Kudos