Ultimately what I am trying to achieve here is to render a map in a browser (using ArcGIS API for JavaScript) where users can view and search for data that originates outside of ArcGIS (some external database or cloud service). Search will be available using the native search widget which only supports feature layers and geocoders/locators.
The data needs to be as up-to-date as possible. Real-time is ideal.
Would like the added benefit of being able to add this feature layer to ArcGIS Online or Portal for ArcGIS.
Any thoughts?
Thanks in advance.