POST
|
The feature service contains the HTML popup information, however, the web clients don't use it. Thanks, Mike Thanks for the reply Mike. Any chance of this being possible in the future? IMHO, and from a user point of view, it makes sense to author and design all the aspects of a map from ArcMAP, if I have the skills to do that, and just push it all into ArcGIS Online. Thanks, Tiago
... View more
04-24-2013
08:22 AM
|
0
|
0
|
228
|
POST
|
Hi all, In my Map Document I have defined HTML Popup's for the layers and I hoped that when I published the document onto AGO as a Feature service, I could reuse this as a Popup. Isn't this possible? If it is how? Thanks for all the help. Tiago
... View more
04-24-2013
07:25 AM
|
0
|
3
|
822
|
POST
|
tribeiro: You've made a GP Service to perform this publishing routine? I'd strongly recommend against that. The Upload and Stage tools (which are required in this workflow) are not designed to be re-published in your own geoprocessing service. I'd suggest making it a scheduled task on one of your desktop machines. Thanks for the reply Kevin, that's what I thought, and the scheduled task approach was (and now will be) my next step. Any plans of making those tools, Upload and Stage, available through geoprocessing services in the future?
... View more
04-22-2013
07:31 AM
|
0
|
0
|
821
|
POST
|
I've been following this thread, which has helped me a lot, so let me start with a big THANK YOU! I already have a script that updates my feature service but... this needs the desktop installed to run right? For example: If you publish this as gp task on ArcGIS for Server the upload part will throw this error:
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Server: Dataset My Hosted Services does not exist or is not supported
Failed to execute (UploadServiceDefinition).
Is there a way around this or the way is to have ArcGIS For Desktop installed, and the "ArcGISConnection.exe" process running?
... View more
04-22-2013
07:15 AM
|
0
|
0
|
1865
|
POST
|
Follow this thread for more details: http://forums.arcgis.com/threads/80680-How-to-publish-a-feature-service-to-ArcGIS-Online-from-an-mxd-USING-PYTHON
... View more
04-22-2013
06:46 AM
|
0
|
0
|
173
|
POST
|
So I kinda get around it. What I did is: I Created this custom Python Tool...
import arcpy
mapDoc = arcpy.GetParameterAsText(0)
service = arcpy.GetParameterAsText(1)
sddraft = 'C:\\GISData\\NIEA\\{}.sddraft'.format(service)
# create service definition draft
analysis = arcpy.mapping.CreateMapSDDraft(mapDoc, sddraft, service, 'MY_HOSTED_SERVICES')
# stage and upload the service if the sddraft analysis did not contain errors
if analysis['errors'] == {}:
arcpy.SetParameterAsText(0, sddraft)
else:
arcpy.SetParameterAsText(0, sddraft)
... and the Service Definition Draft is created without a hitch. Now I'm trying to pass the output SD draft to the Stage Service (Server) tool, inside the model, but I haven't yet been able to pass the output of the custom tool to the Stage Service tool. The stage tool is expecting a file type input parameter, but even though I set the output of the custom tool to be a file, it's still not working... There's a way around it, but it's not very "elegant". Use a preexisting SD Draft as the input of Stage Service tool, and have the custom tool just replace that sddraft file... any other ideas?
... View more
04-17-2013
07:45 AM
|
0
|
0
|
173
|
POST
|
Hi guys, In my model I have a "Stage Service" tool. The propose of the model is to push data into ArcGIS Online every week. This model will run automatically. As it says in documentation, the draft file is deleted after the tool runs, but I wanted to preserve this file so that it can be used again. It's the only step missing on this model. I can get around it by creating a python tool that verifies if the file exists, and if doesn't, copy it from another directory, but I was wondering if there's an "out-of-the-box" way to do it. Any help will be appreciated. Thanks
... View more
04-17-2013
12:26 AM
|
0
|
2
|
719
|
POST
|
Thank you for your response. I know that, but that's not the point. I want to access the services hosted on my ArcGIS Server using ALWAYS the proxy, but the basemaps from arcgisonline (for eg.) to use a "normal" access... I think that this is not possible because there'e no parameter to define it. Just delete that line. Having it in there does just what said you don't want - every call goes through the proxy. Leaving it out doesn't mean your proxy is ignored, it means it will only be used "as needed" and not for every layer.
... View more
11-26-2012
06:29 AM
|
0
|
0
|
353
|
POST
|
Hello, Is there anyway to force a layer to always use a proxy? "esri.config.defaults.io.alwaysUseProxy = true" forces all the layers to use the proxy, but I wanted only my services to go throug it, and not the ESRI Basemaps. Thanks
... View more
11-23-2012
08:00 AM
|
0
|
4
|
1101
|
POST
|
hi there, In case you didn't solve the problem yet. The solution is, that you also have to set the height and width of the IdentifyParameters. Cheers, Chris Hi Chris, Thank you for your response. I don't remember what I did, but I resolved the issue. Maybe with what you said. 🙂 Tiago
... View more
11-16-2012
01:52 AM
|
0
|
0
|
217
|