Select to view content in your preferred language

GetTable().GetDefinition().GetObjectIDField() giving null value

527
5
02-13-2024 02:49 AM
SreenivasaRaoPigili
Regular Contributor

Hi Team,

    We are using GetTable().GetDefinition().GetObjectIDField() method to get the ObjectID fieldname and which is working well on Featureclasses having ST_Geometry field. But for the feature class having SDO_Geometry as shape field, this function is returning empty value.

SreenivasaRaoPigili_0-1707821237092.png

FYI: I am using ArcGIS Pro SDK v2.9.

Can you please help me to understand -

1. is it correct behaviour?

2. In case if we need to use SDO_Geometry as shape, do we need to take any additional care?

3. What is the table internally this method relies on?

4. Any other related details while working with SDO_Geometry.

Thank you in advance.

 

0 Kudos
5 Replies
SreenivasaRaoPigili
Regular Contributor

Hi @Wolf and @UmaHarano - can you please help me here.

Apologies for tagging you both directly. since this is something product level inside logic, I thought you both will help me quickly. Thanks in advance. 

0 Kudos
Aashis
by Esri Contributor
Esri Contributor

Hi, @SreenivasaRaoPigili; I am wondering if your "feature class having SDO_Geometry" is registered.

0 Kudos
SreenivasaRaoPigili
Regular Contributor

Hi @Aashis - Yes it is.

0 Kudos
SreenivasaRaoPigili
Regular Contributor

Hi , Anyone has any thoughts on this. Please share. Thank you.

0 Kudos
Aashis
by Esri Contributor
Esri Contributor

If possible, could you please post the sample data to help us reproduce the issue? Thank you.

0 Kudos