POST
|
[Male] + "\n" + [Female] will not work becuase [] are vba expressions which is not used in Pro anymore. if you are using python expressions use! instead of [] !Male! + "\n" + !Female! Although, it looks like Arcade has more potential in Pro.
... View more
03-01-2020
10:03 AM
|
5
|
3
|
9765
|
POST
|
Hi Jamal, Can we go one step further? How can we synchronize the mdf folder to gdb folder without the need to stop the ArcGIS Server? Having the ArcGIS Server stopped means that our online App is down! Yes you can, if you truncate the existing tables in the gdb and append the data from the mdf. the downside of this approach is that it doesn't count for schema changes, if you added/ deleted a field in mdf you still have to add it manually to the gdb. I still can develop a new tool that automates the whole process ( updates the schema and the data ), but you will still have to stop the service at a certain point when you change the table schema. Regards,
... View more
11-01-2019
09:00 AM
|
7
|
3
|
1174
|
POST
|
Majdoleen Awadallah it looks like you have a space somewhere and its hard to tell using Notepad ++. as Dan said try to use python IDE like spyder or pyscripter it will help you to find the errors and fix them in real time. the attached tool works in ArcMap
... View more
09-19-2019
07:21 AM
|
9
|
0
|
690
|
POST
|
Hi Majdoleen Awadallah I see that you have one error in the script which is something normal since you are learning python scripting. -You created a function called shift_features but you didn't call it in your script. the function is there sitting in your script but the tool will not execute it because it's not called. here is a small edit that will make the tool works: import arcpy
Feature = arcpy.GetParameterAsText(0)
X_Value = arcpy.GetParameterAsText(1)
Y_Value = arcpy.GetParameterAsText(2)
def shift_features(Feature, X_Value=None, Y_Value=None):
"""
Shifts features by an x and/or y value. The shift values are in
the units of the in_features coordinate system.
Parameters:
in_features: string
An existing feature class or feature layer. If using a
feature layer with a selection, only the selected features
will be modified.
X_Value: float
The distance the x coordinates will be shifted.
Y_Value: float
The distance the y coordinates will be shifted.
"""
with arcpy.da.UpdateCursor(Feature, ['SHAPE@XY']) as cursor:
for row in cursor:
cursor.updateRow([[row[0][0] + (X_Value or 0),
row[0][1] + (Y_Value or 0)]])
return
shift_features(Feature,X_Value,Y_Value) Thanks,
... View more
09-18-2019
07:51 AM
|
8
|
7
|
2101
|
POST
|
Hello All, Group Members still can be viewed even if it's not shared with everyone!. When a new group created and shared publicly I don't want non-group members to view whos in that group, so when I came by the question "Who can see the list of members on the Members tab" I chose All group members expecting that only the members will see whos inside that group unfortunately, everyone is able to see the members (users not a part of my organization or any other organization)! Then I tried to create a new group and this time I chose Only group owner and managers, the result was the same! members are exposed to everyone! here is the group link https://www.arcgis.com/home/group.html?id=9c01a211aff84f228c6e80d52890a410&start=1&num=20#members Thank you, Ahmad
... View more
09-17-2019
02:20 PM
|
4
|
0
|
394
|
POST
|
I think you can change the behavior by Browse to Site > Settings. You'll access these settings from the Pooling page. To change the default instance type for compatible map services, click the edit button for Default Instance Type. Select the instance type you want to have be the default setting: Select Dedicated instances if you anticipate that most of your services will receive frequent traffic, or if you will not have enough services running in your server site to present a significant load on machine memory. Select Shared instances if you publish many services that only receive infrequent requests, or if you are concerned about additional services being published that will strain your memory resources. https://enterprise.arcgis.com/en/server/latest/administer/windows/configure-service-instance-settings.htm
... View more
09-10-2019
07:57 AM
|
9
|
2
|
2275
|
IDEA
|
It doesn't make any sense to have range domains that doesn't work! The whole purpose of domains is to perform QC on the data while being edited! I think that any value outside the range should be rejected by default!
... View more
09-06-2019
08:38 AM
|
4
|
0
|
1144
|
POST
|
Jamal, Sorry I was busy for the past 2 weeks, I updated the tool to allow the user to add "Number of days to sync" by default its 1 day and you can change it from the input window. The tool will look at the sde files and find out if database was edited within the time period you specified ( today date - number of days to sync ), if the database was updated then the sde will be converted to gdb otherwise it will be skipped. let me know if you have further questions. Thanks
... View more
08-29-2019
02:07 PM
|
9
|
5
|
1043
|
POST
|
Arwa, There are two approaches to get this job done, the most simple and easy one is by creating a script tool . But first, you have to edit your script to access the parameters via GetParameterAsText() "see the attached file". then go to arcmap > create a new toolbox right click on the toolbox>add>script and follow the snapshots below let me know if you have any questions, Thanks,
... View more
08-19-2019
07:47 AM
|
11
|
8
|
1119
|
POST
|
I end up sharing "layer to kml" tool as a geoprocessing tool and it worked, but I would love if there is a native tool that does the job
... View more
08-15-2019
10:42 AM
|
0
|
2
|
1057
|
POST
|
Hello, By default AGOL rounds the numeric fields to 2 decimals which is grate in some cases, but how can that default behavior. In my case I am showing lat/long in the attribute table, and every time I add a service to a map I have to go and edit the display format for those fields from 2 to 6 decimal places. is there any way to stop this? Thank you, Ahmad
... View more
08-12-2019
11:57 AM
|
0
|
1
|
1027
|
POST
|
Hi Jamal, Use this one, but make sure to enter the full server machine name in "ArcGIS server Full Machine name" input box. to get the full machine name got to: ArcGIS Server Administrator Directory Then go to > machines > machine name use the same server name as you see it in the Server Machine properties let me know if you got into any issues using this tool.
... View more
08-09-2019
08:04 AM
|
9
|
7
|
1043
|
POST
|
Jamal, The tool failed to delete the gdb because its being used by another application, might be due to another ArcMap session or because the gdb is expanded in the catalog (sometimes ArcMap lucks the gdb when its expanded). Were you able to delete the gdb manually (by right click >Delete)? Thanks, Ahmad
... View more
07-22-2019
06:56 AM
|
8
|
11
|
1043
|
POST
|
Jamal, I assumed that you wanted to delete everything in the gdb folder. Here is an updated version of the tool that only deletes the gdb files that matches the sde connection name. Regards, Ahmad
... View more
07-19-2019
11:37 AM
|
7
|
13
|
1043
|
Title | Kudos | Posted |
---|---|---|
1 | 01-15-2019 10:54 AM | |
3 | 01-08-2019 10:42 AM | |
1 | 12-03-2018 12:18 PM | |
1 | 08-18-2020 06:32 AM | |
1 | 02-21-2018 07:20 AM |
Online Status |
Offline
|
Date Last Visited |
05-27-2024
05:35 PM
|