When viewing my feature server service in ArcGIS.com Map I get the Edit link in the info window as image bellow, but in my App, the Edit link is not showing up. is there a way to activate it?
Here is the code to Add Links inside the infoWindow:
if (dojo.byId("MyLink") == undefined) {
dojo.create("a", {
"id": "MyLink",
"class": "action",
"innerHTML": "Edit",
"onclick": "MyLinkAction();return false;"
}, dojo.query(".actionList", map.infoWindow.domNode)[0]);
}
cédric grenet Here's a link to a sample in the help that uses the code posted above to add a link to the popup. The sample code should help you see where to add the code.
Geoprocessing tool link in popup | ArcGIS API for JavaScript
Hello,
it's very interesting but i have a question of beginner
where this code must be integrated ?
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.