|
POST
|
Hey Eric, Could you turn on the feature service capabilities for that service and try using that in your JSON with security turn on and off and see if you get back the correct popup? Thanks Russ
... View more
09-27-2011
11:20 AM
|
0
|
0
|
3231
|
|
POST
|
Hey Eric Here is what I am thinking what the issue could be: It is looking like in the JSON you are using a map service item within your webmap. The service this item is referencing is changing once you go from unsecured to secured and might be breaking something along the way. I think you should add the map service into the webmap directly by going through Add>Search for layers> In a Server(select this from the drop down selection) and paste the unsecured service into the search box below it. Or doing the Add>From the Web>Enter Service URL(doing it this way you can post in basic and digest secured services into the map) Then config the popups like you have done before on the service and save off the map and extract the JSON. Then switch out the URLs(if there is a change to the service url when security is turned on) and create the webmap on your mobile content server. I think this will solve your issue. Let me know if it works out for you. Russ
... View more
09-23-2011
01:07 PM
|
0
|
0
|
3231
|
|
POST
|
When you brought the map services into arcgis.com did you enable the popups and save the configuration of the popups and then save the entire map and then extract the JSON. Could you post the JSON you extracted? You can remove the services and any other sensitive information contained within the JSON. Thanks Russ
... View more
09-23-2011
11:07 AM
|
0
|
0
|
3759
|
|
POST
|
Those properties shouldn't affect the popups within webmap and can remain within the JSON. The switch from unsecured to secured shouldn't affect the popup. Make sure the data schema being used between the secured/unsecured is mirrored. Just a couple of questions: What type of security are you using? What type of services are being used? Are you using a map service item? Thanks Russ
... View more
09-23-2011
08:45 AM
|
0
|
0
|
3759
|
|
POST
|
Check your server output directories under your service properties to make sure they are pointing to the correct location. Let me know if this works out for you. Cheers Russ
... View more
09-22-2011
11:17 AM
|
0
|
0
|
1437
|
|
POST
|
Hey Matt You'er right. Map services are only viewable/identifiable while the feature service will allow the user to perform edits on existing features or collect new features. Russ
... View more
09-09-2011
12:29 PM
|
0
|
0
|
1106
|
|
POST
|
Try this JSON. { "operationalLayers": [], "baseMap": { "baseMapLayers": [{ "id": "BingMapsAerial", "opacity": 1, "visibility": true, "type": "BingMapsAerial" }], "title": "Bing Maps Aerial" }, "version": "1.3" } Also i noticed you are using the 1.1 version of the webmap JSON format. You will also need to define popups for your map and/or feature services being used within the map to be able to identify your features if you are using the ArcGIS for iOS app version +2.0. This thread will help you in defining your popups. Let me know how this works out for you Cheers Russ
... View more
09-08-2011
12:48 PM
|
0
|
0
|
1106
|
|
POST
|
Here is a sample of popups for a polygon feature service. It has chart samples, image media, attachments, and field visibility. Let me know if you have any further questions. Cheers Russ
... View more
09-02-2011
08:28 AM
|
0
|
0
|
3759
|
|
POST
|
Glad everything has worked out for you Deya. I will post the update doc on this forum thread and will also throw up an update on twitter(RussNL) and on the ArcGIS Mobile Blog. Cheers Russ
... View more
08-23-2011
12:36 PM
|
0
|
0
|
3760
|
|
POST
|
I forgot to attach the image in my previous post to show you where you can locate your itemID. Here it is. Cheers Russ
... View more
08-22-2011
09:47 AM
|
0
|
0
|
3760
|
|
POST
|
Hey dlucero, You will find the itemid for your webmap within the webmap url on arcgis.com and/or explorer.arcgis.com. I have attached an image that shows you where to find your itemId. Remember that if your map is not public on arcgis.com/explorer.arcgis.com, you will have to generate a token before hand to be able to extract the the JSON from your webmap. Place your username and password in the sections of the url below that have been bolded. Also note that I am using https within this url to produce a token. https://www.arcgis.com/sharing/generateToken?f=json&request=gettoken&username=myusername&password=mypassword&Referer=MyToken Once you receive your token â??{"token" : "QbEq7l8HoCiUDrW9tS7I0PgjFGagX9UCJwCV4Op8J_pvDUPEQCzSy3Twct734ZG8","expires" : 13061295319â?� You will then use the token in your extract JSON url. The red font is the itemID, the blue is the token url. http://www.arcgis.com/sharing/content/items/0a27f5cb1f07478fbdf117b70231c5c2/data?f=pjson&token=QbEq7l8HoCiUDrW9tS7I0MAJLxXaS4Vzt- TJRjIhg2TjxX98_FN9jD1ZfeWTdvwk This will then extract the JSON within your browser for that webmap that is private. You can then take that JSON and paste it into your mobile content server. Let me know if this works out for you. Cheers Russ
... View more
08-22-2011
09:42 AM
|
0
|
0
|
4706
|
|
POST
|
Hey dlucero76, You dont define the popups within your actual service. You will be defining your popups within your mobile content server. it will be your server name i.e http://<server-name>/<arcgis-instance>/mobile/content This link will take you to a doc that will explain how to start creating a webmap. This doc currently talks about writing JSON for an old webmap spec and we are currently working on an update right now but as of right now it will help you in getting started on creating a webmap. http://help.arcgis.com/en/arcgismobile/10.0/apis/iphone/AppGuide/Maps.pdf A current workaround to create a webmap with popups defined correctly would be to haul the JSON from an ArcGIS Online webmap and pasting that JSON into your mobile content server. This link below will allow you to haul the JSON from your webmap. The bold section of the URL is called your webmap item ID. Each of your webmaps will have an item ID. In this instance below the webmap is shared with everyone and I do not need to add a token to the URL. In the doc link there is a section called Reading and Creating JSON from ArcGIS Online, this section will help explain to you how to create a token for private webmaps and the sections after that will show you where to place the JSON once you have extracted it from the webmap. http://arcgis.com/sharing/content/items/bb11d9317fb44a858672da9d0c94f8fe/data?f=pjson Let me know if this helps. Cheers Russ
... View more
08-18-2011
10:08 AM
|
0
|
0
|
4706
|
|
POST
|
Not a problem. Here are some answers to your questions above I must install something in my server (We have in this server ArcGIS Server for Java). No you do not need to install anything new onto your server. Popups are defined within the JSON of the webmap. These popups can be defined through arcgis.com and explorer.arcgis.com or you can write them into the webmap you have hosted on your own personal mobile content server(sample.arcgis.com/arcgis/mobile). How do I update the version of the JSON on my server? You can update the webmap in 2 ways. 1. If you are using arcgis.com or explorer.arcgis.com you can simply enable popups by clicking on the layer and saving that webmap. 2. Write the popups into your mobile content server webmap. This can take a bit more work and currently we are working on a doc to further explain the popup definition. I will post an update on the forum when this doc has been completed and hosted up on the resource center. How do I configure the pop-ups Windows on my IPAD? You cannot do any configuration of the popups on your iPad within the app. Popup configuration is limited to the authoring clients arcgis.com, explorer.arcgis.com and mobile content server(sample.arcgis.com/arcgis/mobile). I have attached a quick mock up doc/image showing the quick steps to enabling popups on arcgis.com and explorer.arcgis.com. Cheers Russ
... View more
08-17-2011
03:21 PM
|
0
|
0
|
4706
|
|
POST
|
The reason why you cannot identify certain features the maps you used on the 1.5-1.8.5 app is because the webmap spec that arcgis.com and explorer has changed. The older apps were configured to read the webmap JSON from a 1.1 webmap. Now with the new webmap spec 1.3 both the webmap clients and the app require popup infos to be defined to be able to identify features. If you open your webmap that is currently defined by the 1.1 webmap spec and enable popups for your map services and feature services you will be able to identify your features. The defining of popups allows you to also configure images and charts to further enhance the message of your data.If you have webmaps on your mobile content server you will have to write the popup info into the JSON for that webmap. Here are some sample maps you can check out that I have created to demo the popup functionality http://www.arcgis.com/home/item.html?id=c7a5d752a2eb43fd9fe333432878764f On the app type Diners in the search section on find maps and you will see Russ's DDD map popup. Tap on the feature and you will see the new popups and then tap on the media and it will enlarge the photo and if you tap on that photo it will open up the internal browser to a webpage which has been hyper-linked to that photo. Here is a webmap made in explorer with a demo of configured charts http://explorer.arcgis.com/?open=aed6555f7bd7444ab539f132e7b7a8e7 On the app search mobileios. Median household income will be one of the first results. Hope this helps you out. Write back if you have any further questions. Russ
... View more
08-11-2011
03:54 PM
|
0
|
0
|
4706
|
|
POST
|
You will need to update the JSON to obtain the identify ability within the app. The app currently reads the 1.3 webmap spec. If your map is on ArcGIS Online you will need to update your webmap and enable popups. If your webmap resides on your mobile content server you will have to add popup info into your JSON to be able to identify features. Hope this helps. Russ
... View more
08-10-2011
03:22 PM
|
0
|
0
|
4706
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 15 hours ago | |
| 2 | yesterday | |
| 3 | Monday | |
| 1 | 06-08-2022 11:22 AM | |
| 1 | a month ago |
| Online Status |
Offline
|
| Date Last Visited |
16 hours ago
|