|
POST
|
According to Esri documentation, it does indeed mean the domain is already used somewhere. It also means that there's some case where the code is getting a false positive that the domain is unused or else it shouldn't be trying to delete it. If you comment out the line that attempts to delete the domain arcpy.DeleteDomain_management(myGDB, domain) it will just print the domain that should be deleted. It's possible that domain is used in a subtype and the code is somehow working incorrectly in that case. I may not have fully tested with subtypes.
... View more
01-17-2018
07:15 AM
|
1
|
0
|
3746
|
|
POST
|
Disable schema locking on a map service—ArcGIS Server Administration (Windows) | ArcGIS Enterprise
... View more
12-18-2017
03:19 PM
|
0
|
0
|
2652
|
|
POST
|
I've since retired these services so also retired the script interacting with them. However, I did try republishing all the services with the option to automatically acquire locks disabled and I don't recall having the issue after that (or maybe I just stopped paying attention, can't remember).
... View more
12-18-2017
12:00 PM
|
0
|
2
|
2652
|
|
POST
|
I think any time you are rolling your own SQL to take the place of an Esri-managed operation, there is risk of it being messy. I always try to use the Esri tools if I can.
... View more
11-02-2017
08:47 AM
|
1
|
0
|
5728
|
|
POST
|
We're on Oracle 12c and ArcGIS 10.5.1 and have this problem. Querying a date field either returns an empty string or errors. Had to use to_char() to convert the date to text like Chris Pedrezuela and Vince Angelo mentioned.
... View more
10-25-2017
09:49 AM
|
0
|
0
|
579
|
|
DOC
|
Hi Robert, Have you tested this widget with WAB 2.6? Is an updated release of the popup panel widget needed?
... View more
10-20-2017
08:18 AM
|
0
|
0
|
16119
|
|
POST
|
Our app built in Web AppBuilder 2.1 uses the share widget to allow users to get a URL of their current map extent. This app uses our custom basemap (not cached) published in state plane and everything works fine. We upgraded to Web AppBuilder 2.5 and used the same web map but the map extent link from the share widget doesn't zoom to the map extent. In troubleshooting this, I tried adding the Coordinate Conversion widget and it gives bogus coordinates (latitude always says 90ºN and longitude changes but is way off). Is there something special that needs to be done to allow Web AppBuilder 2.5 to play nice with anything besides WGS1984?
... View more
07-31-2017
04:08 PM
|
0
|
0
|
480
|
|
POST
|
Whether I use the 84x67 image recommended when configuring the Basemap Gallery widget or the 600x400 used in ArcGIS Online, the thumbnail image is always a little stretched horizontally (or squished vertically). Never had this problem in Web AppBuilder 2.1 but seems to be unavoidable in Web AppBuilder 2.5.
... View more
07-31-2017
03:12 PM
|
0
|
0
|
719
|
|
POST
|
Looking at the code samples, try outCellStatistics.save(r"D:\NASA\Data\SMAP\OutPut\Processed\outCellStatsImage.tif")
... View more
07-27-2017
03:23 PM
|
1
|
0
|
1824
|
|
POST
|
Joshua Bixby wrote: Blake, why do you want "current RowID"? Or, are you after the highest/largest ObjectID in use? I assumed they would be the same. Is it possible for a new feature to get an ObjectID lower than the highest ObjectID already assigned? My case is that we're trying to build a database trigger (yeah, I know, probably shaking your head already) that will assign our organization's custom "GlobalID" we call EID (for Enterprise ID). It's just a long integer assigned from a sequence. The trigger calling the sequence is built on the Adds table. When a record is created in the Adds table, it generates an EID value if: Current EID is Null (for new records) If new ObjectID > max ObjectID (for features that are copy/pasted or split) The extra catch I ran into was that finding the max ObjectID needs to look at both the Base table and the Adds table or else a brand new feature will get a new EID every time it's modified until it's been compressed to the Base table. My Original idea was to just query the base table and adds table in the trigger but apparently that causes a "mutation" error in Oracle. So my current solution is a function that queries the base and adds tables for the max ObjectID. CREATE OR REPLACE FUNCTION GIS.MaxObjectID(p_owner VARCHAR2, p_tablename VARCHAR2) RETURN NUMBER IS
max_objectid NUMBER;
regid NUMBER;
vc2SqlStr VARCHAR2(1000);
BEGIN
BEGIN
select tr.REGISTRATION_ID
into regid
from SDE.TABLE_REGISTRY tr
where tr.OWNER = p_owner and tr.TABLE_NAME = p_tablename;
EXCEPTION WHEN OTHERS THEN
regid := 0;
END;
vc2SqlStr := 'select NVL(max(objectid), 0) from (
select max(OBJECTID) as objectid from '||p_owner||'.'||p_tablename||
' union all
select max(OBJECTID) as objectid from '||p_owner||'.A'||regid||
')';
BEGIN
EXECUTE IMMEDIATE vc2SqlStr INTO max_objectid;
EXCEPTION WHEN OTHERS THEN
max_objectid := -1;
END;
RETURN max_objectid;
END MaxObjectID; This function is called in the trigger. BEFORE INSERT ON WS.A658 -- Adds Table
for each row
declare
max_objectid WS.A658.objectid%type:=0;
begin
max_objectid := GIS.MaxObjectID('WS', 'HYDRANT_PNT'); -- Base Table Owner, Name
if max_objectid <> -1 and (:new.eid is NULL or :new.objectid > max_objectid) then
SELECT HYDRANT_EID_SEQ.NEXTVAL INTO :NEW.EID FROM DUAL;
end if;
end; So I'm looking for a better way to determine the max ObjectID (or just whether a feature is new). I was hoping the <owner>.R<registration_id> sequence would be the magic bullet I could call CURRVAL on but the value it returns does not seem to be correct. Also paging David Blanchard
... View more
07-26-2017
02:21 PM
|
0
|
1
|
2702
|
|
POST
|
Original Content Removed Off topic discussion continued in new thread... https://community.esri.com/message/703697-query-max-objectid-from-base-and-adds-tables
... View more
07-26-2017
02:05 PM
|
1
|
1
|
4412
|
|
POST
|
Sorry to go off topic, but is there a way to get the current RowID without incrementing it by calling Next_RowID? Like calling CURRVAL instead of NEXTVAL?
... View more
07-26-2017
12:28 PM
|
0
|
5
|
4412
|
|
POST
|
If you have database authentication, you can create a new database user for your services. Your database administrator should be able to help you with that. If it's OS authentication, get a "service" user account created and use that.
... View more
07-21-2017
09:28 AM
|
0
|
0
|
3287
|
|
POST
|
It's pretty easy to change all of the data sources at once with the Set Data Source(s) tool in ArcCatalog. Once the MXD data sources have been changed to a user that is not DBO, just share it as a service and overwrite the existing service. Now, your Prevent Geodatabase Connections will actually stop the services from reconnecting.
... View more
07-21-2017
08:11 AM
|
0
|
2
|
3287
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-10-2026 07:32 AM | |
| 1 | 10-23-2025 03:53 PM | |
| 1 | 04-28-2026 07:25 AM | |
| 1 | 03-19-2026 08:59 AM | |
| 1 | 02-12-2026 01:37 PM |