|
POST
|
Hi Ryan, On your copied code that is failing, it looks like you left off the data frame index value [0] at the end of df = arcpy.mapping.ListDataFrames(mxd). The returned error flags that line of code and basically states it can't get a data frame object. Also, I noticed you commented out the arcpy.env.workspace and did not replace it w/ an input parameter, I wasn't sure if this was intentional but you may want to add another GetParameterAsText line to allow the user to define their workspace environment. I hope this helps. Andy
... View more
12-30-2014
08:14 AM
|
0
|
5
|
1486
|
|
POST
|
Hi Marianne, What you read is correct, the credentials need to either be hardcoded in a variable or you can use the getpass method that Xander suggested but then you won't be able to automate. If you run the script from a local workstation within a non-shared folder that only you or a system admin could access, would that still violate your security protocols? I'm assuming you'll be running this script behind a firewall? Anytime you pass credentials into an automated script there will be some risk involved. I've worked with users in the past that take measures to protect the actual script file by putting it on a local folder with limited access. There are ways to encode the credentials within the script itself but the username/password are still exposed if opened. This probably isn't the answer you are looking for but I hope it helps. Thanks Andy
... View more
12-18-2014
01:06 PM
|
1
|
2
|
1045
|
|
POST
|
Hi Jamal, If you have a failure and need to retrieve your user/roles, I think your best bet would be to restore your site from a backup .agssite file. You can read more on how to properly back up and restore your site here in case you aren't familiar with this procedure. Many ArcGIS Server users take regular backups of their site by scheduling a task to run the backup utility on a regular basis. I would recommend doing this if you aren't already. I hope this helps. Thanks Andy
... View more
12-18-2014
08:16 AM
|
2
|
0
|
830
|
|
POST
|
Hi Muhammad, After changing the data source and saving those changes as a new rbj file or overwriting the existing rbj file, did you try running the batch job file on the co-workers data? I realize that the feature class name is missing from the checks in the RBJ manager but that could be a display issue with the dialog. The actual rbj file should hold the updated workspace configuration and allow you to run the checks against the co-workers data sets. Thank you Andy
... View more
12-17-2014
05:13 AM
|
0
|
1
|
1753
|
|
POST
|
Hi Muhammad, If the geodatabase schema's are the same you should be able to run the rbj on your co-workers client machines using the Batch Validate tool which will validate the workspace as part of its runtime process. However, you can avoid having to validate the workspace during runtime by saving a new rbj that references the co-workers workspace through the Reviewer Batch Job Manager: On the co-workers machine, open the Reviewer Batch Job Manager Click Open and load your rbj file Click Workspace In the Set Data Source dialog, select one of the rows and take note of the feature class name Click Change Data Source Navigate to the co-workers workspace and select the same feature class from step 4 Click OK and choose to apply to all matching paths (this will update all feature classes to the new workspace) In the Set Data Source dialog, click OK Click Save As and save the updated rbj file to the co-workers local drive They can now reference this rbj when running the checks which has been pre-configured to reference their workspace. I hope this helps, you can reference the help topic too: http://resources.arcgis.com/en/help/main/10.2/#/from_the_Reviewer_Batch_Job_Manager/010200000098000000/ Andy
... View more
12-16-2014
06:27 AM
|
0
|
3
|
1753
|
|
POST
|
Hi Heather, It sounds like you are trying to rename the feature classes stored within the geodatabase and then logically group them into feature datasets. In ArcCatalog or within the Catalog tree in ArcMap, you can simply rename a feature class by right clicking on it in the Catalog tree and selecting the Rename option. The feature class name should become editable and you can then input the new name. This help topic describes how to do this in case you need it for reference. You can use Feature Datasets to logically group your feature classes, for example if you had feature classes that stored various tree types you could create a Trees feature dataset and group all your tree feature classes within it. These two help topics cover what feature datasets are and how to create them. Once you have the feature dataset created, you can drag the applicable feature classes into it via ArcCatalog or the Catalog tree in ArcMap. However, the feature classes have to have the same spatial reference information as the feature dataset. Also, make sure none of the feature classes are loaded into the ArcMap table of contents otherwise you'll probably be unable to make any changes to the feature class due to locking. I hope this helps.
... View more
11-26-2014
06:34 AM
|
2
|
3
|
1335
|
|
POST
|
Check to see the ArcGIS Server account has r/w access to your ArcGIS Desktop folder. It should have r/w access to the arcgisjobs folder per setup, but you can check that folder as well.
... View more
11-24-2014
08:01 AM
|
0
|
1
|
766
|
|
POST
|
Hi Keisuke, If you have secure services you can set your log level to Info and then view the User Name field in the log file to see who was accessing the service. From there you could perform a simple query to see how many times the service was accessed over a time range. With un-secured services I'm not sure this would be possible b/c the client is not going to be prompted to enter credentials to be authorized on AGS. If you haven't already, this help topic describes the different log levels and the properties you can configure. I hope this helps. Andy
... View more
11-24-2014
07:27 AM
|
0
|
0
|
444
|
|
POST
|
Hi Jamal, I've seen similar behavior after updating or changing the ArcGIS Server account using the Configure ArcGIS Server account utility. Like you've discovered, I had to manually start/stop the ArcGIS Server local service in order to successfully publish services, but I haven't had to continually stop/start the local service. Did you update or change your ArcGIS Server account? I would try changing your log filter level to Verbose to see if additional information is logged when you attempt to publish a service. However, you will want to change it back to Warning since the Verbose level can bloat the size of your log files. I hope this helps.
... View more
10-06-2014
07:13 AM
|
1
|
18
|
2512
|
|
POST
|
Hi Carlos, Is your registered database pointing to a different version than the feature layers in the map document? If so, you can register a connection file pointing to the version that the feature layers are referencing and then re-analyze the map document. This would also hold true if the database connection was under a different username. I hope this helps.
... View more
09-23-2014
08:59 AM
|
0
|
1
|
2805
|
|
POST
|
Hello Daniela, Did you see this help topic which regards disabling schema locks on your map services via the ArcGIS Manager or Desktop? All map services acquire an exclusive lock on the dataset which appears to be your problem. Also, if you're using the Add Coded Value to Domain GP tool via a published service, you'll need provide an .sde connection with the data owner credentials since you're performing a schema change to the database. I hope this helps.
... View more
09-09-2014
12:19 PM
|
1
|
1
|
1228
|
|
POST
|
Hi Ryan, When you define the method within the Python codeblock, use a variable for the Reclass method's parameter and use that variable within the method's logic: def Reclass(weight): if (weight == 6): return 1.2 elif (weight == 85): return 85 ..... Then when you call the Reclass method in the Calculate Field Expression parameter, you will then pass in the SYMBOL field: Reclass(!SYMBOL!)
... View more
09-09-2014
10:28 AM
|
2
|
0
|
1168
|
|
POST
|
Hello Julie, Have you looked at the Silverlight API help section for navigating maps: ArcGIS API 3.1 for Silverlight ? Also, I would try building a map cache which you can get help with at: ArcGIS Help 10.1 I hope this helps.
... View more
09-08-2014
06:57 AM
|
1
|
0
|
832
|
|
BLOG
|
This is great Eric, thanks. I'll use this during onsite ArcGIS Server jumpstarts since many times the customer isn't sure if they need WA or not.
... View more
08-27-2014
10:38 AM
|
0
|
0
|
2555
|
|
POST
|
Is the Configure ArcGIS Server account utility supposed to update the local ArcGIS Server service with the new account information and then start/stop the service? I've had to manually update the local ArcGIS Server service and then stop/restart the service in order to access my site after successfully running this utility and was curious if anyone has come across the same issue or a known limitation?
... View more
08-21-2014
11:58 AM
|
0
|
0
|
1850
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-18-2016 10:38 AM | |
| 1 | 10-17-2016 01:05 PM | |
| 1 | 12-18-2014 01:06 PM | |
| 2 | 12-18-2014 08:16 AM | |
| 2 | 10-19-2016 06:09 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-05-2024
07:10 PM
|