|
POST
|
Is this a versioned feature class? And, if so, regular or branch versioning? --Rich
... View more
06-11-2019
07:51 AM
|
0
|
5
|
4201
|
|
POST
|
Getting a list of edits that have taken place on a geodatabase is on our roadmap, but unfortunately not yet implemented.
... View more
05-21-2019
10:26 AM
|
1
|
0
|
1478
|
|
POST
|
Hi Berend, Take a look at the EditCompletedEventArgs that are passed in EditCompletedEvent. There is a CompletedType property. If the value of this is EditCompletedType.Save then you're in the process of saving edits to the geodatabase. I hope this helps, --Rich
... View more
05-16-2019
09:56 AM
|
1
|
2
|
1478
|
|
POST
|
Yes, we actually added Datastore.GetPath() for use with geoprocessing. Use this and append the table name: Uri path = geodatabase.GetPath();
string fullPath =Path.Combine(path.LocalPath, TABLE_NAME);
... View more
05-09-2019
02:22 PM
|
0
|
0
|
4527
|
|
POST
|
Geodatabase feature classes rarely correspond to a single file on disk. If you open up a File Geodatabase using File Explorer, you'll see there's a large number of different files. So there isn't really a path to a feature class. There is (sometimes) a path to the geodatabase itself. If the feature class belongs to a file geodatabase (Geodatabase.GetGeodatabaseType() returns GeodatabaseType.LocalDatabase) , the Geodatabase.GetConnector() routine will return a FileGeodatabaseConnectionPath object. This object has a Path property. There are other kinds of geodatabases, of course, including SDE geodatabases and feature service workspaces. SDE geodatabases may or may not be opened from a .SDE file, but feature service workspaces don't have a file at all, just a URL. Hope this helps explain why it isn't straightforward! --Rich
... View more
05-09-2019
12:22 PM
|
1
|
2
|
4527
|
|
POST
|
Are you trying to get the file path for the data that the layer is pointed to?
... View more
05-09-2019
11:33 AM
|
0
|
4
|
4527
|
|
POST
|
Thomas, I'm not positive, but I believe that get only works on a newly created DatabaseConnectionProperties object, not one that has been created from a disk file. I'll investigate and update the documentation in a future release. --Rich
... View more
05-08-2019
08:19 AM
|
1
|
0
|
1933
|
|
POST
|
You cannot get a password from an SDE file. This is by design. It would be a security risk if you could, because that password could be used to gain access to additional resources beyond the single geodatabase resource.
... View more
05-08-2019
06:27 AM
|
0
|
2
|
1933
|
|
POST
|
Hi Brian, A join itself is not editable, so your IsEditable() check shouldn't be needed. However, you *can* edit the individual tables that make up the join. If there is another layer with the source tables, you'll catch it that way. If you're concerned about a user programmatically editing the source tables, keep reading... I said earlier today that there isn't a way to get the Join from a table. That is incorrect. If Table.IsJoinedTable() returns true, you can use Table.GetJoin() to get the Join. Then Join.GetOriginTable() and Join.GetDestinationTable() can give you the individual tables that make up the join. Putting all of this together should give you a foolproof solution. --Rich
... View more
04-17-2019
01:38 PM
|
2
|
1
|
2450
|
|
POST
|
Any join where the source tables come from different data stores takes place on the client, and the Datastore is invalid. If you had access to the Join itself, you can get the origin and destination tables, but if you're coming directly from the layer the only thing you'll have is the JoinedTable. I don't know of a way to go from the JoinedTable to the Join. The only workaround I can suggest is to listen to events from SDE tables *and* joins (i.e., tables without a valid datastore). This may mean listening to more events than you have to. I hope this helps, --Rich
... View more
04-17-2019
08:42 AM
|
2
|
3
|
2450
|
|
POST
|
If the layer has a valid Datastore, and if the Datastore is of type Geodatabase, you can call Geodatabase.IsVersioningSupported()
... View more
04-15-2019
12:56 PM
|
0
|
5
|
2450
|
|
POST
|
If I understand this correctly, the feature layer refers to a join between an excel file and another datastore, correct? In this case, there is no actual datastore for the layer, since the join is computed in-memory.
... View more
04-15-2019
10:34 AM
|
0
|
7
|
2450
|
|
POST
|
Hi Mario, How did you connect to the Database in the first place? Does the username that you used have access to schema1? When you call Database.GetTableNames(), do both tables appear in the returned list? Thanks, --Rich
... View more
04-05-2019
08:41 AM
|
0
|
1
|
1013
|
|
POST
|
The issue should be fixed in Pro 2.4, forthcoming this summer. --Rich
... View more
03-29-2019
08:30 AM
|
0
|
6
|
2955
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-13-2024 11:22 AM | |
| 2 | 01-29-2026 09:34 AM | |
| 2 | 01-28-2026 08:20 AM | |
| 1 | 12-10-2025 09:15 AM | |
| 2 | 11-30-2025 12:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|