Is it possible to configure a popup template on the FeatureLayer service itself so when the JS API is using the service it is defined, or must you always define it only in the JS?
Hi @joshk6656 -
Yes we highly suggest that you do this! This is the easiest way to configure a popup and consume it in other applications (such as a JS Maps SDK app). You can configure the popup on a feature layer item and then consume that popup in a JS SDK application by loading the feature layer from the portal item. Here's the steps to do so:
Hope this helps!
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.