Is it possible to read field aliases from an ArcGIS Feature Layer? I see there is a way to do this if connected to an Esri File Geodatabase, but the data I am working with is service based. I am currently using a FeatureReader connected to ArcGIS Enterprise.
Thanks in advance! Sasha
Page 1 / 1
Hi @sashal, do you have a example Feature Service I could use to test in FME which includes aliases?
Hi @sashal : I don’t think the FeatureReader transforrmer has that option but the Reader does. See screen cap below.
@crutledge , I am not seeing that capability in a Reader for Esri ArcGIS Portal Feature Service. My data is service based. Are you using a Geodatabase reader type in your screenshot?
@sashal Ah my bad. Yes GDB. Another option would be, using the HTTPCaller, grab the pjson from the rest service and grab the alias from there:
{ "name" : "OBJECTID", "type" : "esriFieldTypeOID", "alias" : "OBJECTID", "sqlType" : "sqlTypeOther", "nullable" : false, "editable" : false, "domain" : null, "defaultValue" : null }, Or, using the custom transformer (ArcGIS_AP_FileGDBExport) created by Todd Davis, you could download the gdb and then use the alias option from the gdb reader.ArcGIS_AP_FileGDBExport Probably not what you were looking for but best I can think of right now. Good luck!