Hi,
I have a Web AppBuilder application using a custom widget that adds featureLayers to a map. I would ideally like to save these featureLayers to Portal or AGOL so they may be used with other applications.
I'm new to Esri APIs and I thought this would be a popular use case, but so far I haven't found any evidence for this kind of functionality. Is this possible, or are there better approaches to take for saving layers?
Thanks!
John