Looking at article Working with Geodatabase Field Aliases: Altering Alias Values (safe.com) I am trying to run the same directly to an AGOL hosted feature layer. I have created the requisite "_alias" field to match those that I need alias values for, but no dice. Also tried adding the same fields (matching the attribute manager) to the writer attributes (manual setting) but the result simply created additional fields with the "_alias" suffix. Is this possible with this writer?
Is the featurewriter able to create field aliases when outputting to AGOL/Esri Enterprise
Best answer by kailinatsafe
I didn't use or test the format writer
Hello @ridleyj, take a look at the attached updated workspace. The aliases should be viewable in ArcGIS Pro now using the following steps:
- Adding the appropriate writer (FGDB writer for example)
- Removing all attributes with '_alias' from the writer feature type user attributes window
If the alias attributes are left in the user attributes section of the writer feature type, they will be written as literal attributes.
Also, as mentioned earlier FME doesn't support writing aliases to feature services as of yet. You will need to use the FGDB or SDE GDB writers to translate alias fields.
One potential idea (untested) could be to write aliases to FGDB and publish or push to AGOL, however I am unsure if the aliases would be maintained or dropped. Let me know if you're still having issues writing aliases. Happy to help, Kailin.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.