Tag Info

New answers tagged

0

If you could provide what type of database you were using I could provide a better answer but you could change the column settings to allow null. If your data is versioned I would recommend unversioning that layer which will require you to do a post/reconcile and compress or at least a compress. This way you can just go into the backend and change the ...


1

I have not tested this but the Field (arcpy) documentation says that the required property is Read and Write so I think that will be the place to start experimenting. There is a code sample there that could be used as a starting point. I would try using: field.required = False and see if it sticks. This sentence: Updating a field property only ...


0

Here is a function that I wrote for PostgreSQL geodatabases that grants permissions on all user tables and views. It ignores the SDE i*, sde_log*, n_* (network), nd_* (network dataset), t_* (topology) tables but includes the version tables a* and d*. CREATE OR REPLACE FUNCTION public.mgis_gdb_grant_all(dbrole text) RETURNS void AS $BODY$ DECLARE schemaname ...


0

You could have all of your connections previously established. When you want to run the script as "SDE" you could then establish your workspace using the connection file as "SDE". If you wanted to run the script as "DATA" you could then establish your workspace using the connection file as "DATA". That would be an effective way to utilize different ...


0

This example post from the GeoNet forum is javascript-based, but it essentially accomplishes what you want to happen. However, for the case of ESRI's 'ArcObjects for .Net' API (which we can tell you are using based on the Namespaces) you should implement the IArcGISSingleSignon.GetToken method. This object's method will sign on a user to ArcGIS Online ...


2

Your layerUrl is similar at: http://services1.arcgis.com/cFi1BRRsYB2fYqCl/arcgis/rest/services/NameService/FeatureServer Just add the token to Url: ...


0

Please refer the below link, seems to be that you do have some proxy issue. For accessing a secured services you need to have username and password and just write a code where token is generated at run time and you just need to append it properly http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//0048000000sv000000


2

You can use the Attribute Assistant add on to do this.


0

Since this is an ArcSDE geodatabase, consider using database views for queries that do not include spatial columns, or spatial views for those that do, to join related tables via their FKs as needed to flatten them into single logical 'tables', then you can publish those views/spatial views via ArcGIS Server as either map layers (spatial views) or tables ...


2

If you are using ArcGIS for Server, there are a couple of steps you need to take. Register your ArcSDE Database Create Map/Feature Service with layers and setup the Related Tables to the layers Once published and accessible, you will need to setup your JavaScript to query the service AND the related records. The links I provided for you are for the ...


0

Since you can't work with indexed views, your next best solution is to build a regular spatial view that joins up your tables. Only use necessary columns (NO SELECT *!) Publish as a service. Then use QueryTask, Query and FeatureSet from the JS API to call the results. If you know you will only need a subset of the joins for a certain situation (i.e. there's ...


0

You're going to need some sort of middleware which can expose the geodatabase to the JS application. There are a number of options. ArcGIS Server is the most logical, having the best integration, though of course it's expensive. GeoServer has an extension for ArcSDE geodatabases but in my experience it can be a little tricky to use. - ...


1

Think about the bigger picture - GIS data is just a means to an end for most people, especially when it comes to government entities. My experience has been that relationship classes are primarily useful (and appropriate) when you need to incorporate non-spatial data with one:many relationships to your spatial data, especially if it is from an external ...


1

I think the set of PostgreSQL drivers you downloaded are incomplete, and here's why: ArcGIS Server was installed as an x64 (bit) app, while the ArcGIS 10.2 Desktop client is an x86 (32-bit) app. So, referencing this ESRI documentation means the 64-bit postgreSQL libraries (libeay32.dll, libintl.dll, libpq.dll, and ssleay32.dll) go into the Server ...


0

Never mind. I figured out how to migrate a feature class from a file geodatabase to an enterprise geodatabase. I simply had to copy the feature class from the file geodatabase and paste it enterprise geodatabase, and all the attachments will be carried across. (I was previously importing the data from the file to the enterprise geodatabase.) Still not sure ...


2

I think your proposed solution may be too complicated. I don't think there really is any such thing as a "non-spatial database". In my view, there's just data, some of which happens to have geometry, and some of which doesn't happen to have direct relationship to geometry (in the end, most data is at least somewhat spatial). Best practice for integration ...


0

The problem was that I was not completing the geodatabase administrator field since it says that it is optional. When I provided one, it worked properly.


1

You will need the sys password of that Oracle instance in order to run the create enterprise geodatabase. If you have another user with dba privileges you can run this to change the password: alter user sys identified by NEWPASSWORD; If you have a database administrator in your organization, they should have the sys password. Optionally, if you have an ...



Top 50 recent answers are included