I have a layer in ArcGIS Pro that I want to separate technical name, and display name for the layer. Reason for this is that the web client I develop has some functionality that fails if the layer name contains certain characters. So I need to have a technical name, and a different display name.
I see in the javascript code when debugging that the featurelayer object contains name and description, where the description contains the value that is set as alias on the featureclass table in the geodatabase.
I want to set this differently in the service when publishing this from ArcGIS Pro. How can I do this?