Since I cannot save a layer file in a gdb, I have created two representations for two feature classes. I don't know what to do after "Convert Symbology to Representation". Now that I have created the representations, am I supposed to save the representations in the gdb along with their respective feature classes? How do I do this? I want to be able to publish the gdb as a hosted service on ArcGIS Online.
Are representations a data type?
No. A representation is a property of a feature class. Representation information is stored in additional feature class fields and in a geodatabase system table.