1. I found that my publish feature layer state it is a "layer", but the arcgis example is named with "feature layer"
2. My published feature layer does not have any types
As such, my question is, what is the correct way to create a feature layer with the self-defined types? Thank you.