I have been able to successfully work with the one of the collector template found here;
I published as a hosted feature layer and utilized in the Collector for ArcGIS app and then downloaded the records collector into a fgdb in AGOL.
I have access to ArcGIS Server locally but I have not been able to successfully publish the service definition as a map service in this environment.
1) How do I edit a service definition file? For example, add or remove fields from the service.
2) How can I move the source of the service to an enterprise data and out of the hosted web layer environment. For example, I want to use an existing collector template but I wanted the source data to be located locally (enterprise database) rather than in the hosted AGOL environment.
Basically I want to take an existing Collector template and modify and customize it.
Thanks for your help,
1) You can add and remove field. Here is the help: https://doc.arcgis.com/en/arcgis-online/use-maps/work-with-fields.htm
2) One way I can think of is to export feature service into FGDB: Manage hosted web layers—ArcGIS Online Help | ArcGIS