Hello,
I am looking for a way to automatically add a point to a line when users create a line feature. The point location does not matter, but I want the point to inherit the same attribute values (such as the line date) from the line feature.
I know this can be done in ArcGIS Pro, but I am looking for a way to do it in ArcGIS Online, possibly using Arcade expressions or another workaround.
I’m curious if anyone here has had a similar experience and implemented something like this.
Thanks
Although I haven't tried using these, apparently group templates configured in ArcGIS Pro are supported by the ArcGIS Online Web Editor:
https://doc.arcgis.com/en/web-editor/latest/create-and-edit/templates.htm
Hi @anonymous55,
like @MobiusSnake mentioned, you could create and use shared templates to do this. Those need to be created in Pro, and it requires a few extra steps to bring them into ArcGIS Online- we're working to streamline this process in the near future.
If you want to go that route, you can follow these steps:
Hello @EmilyGeo
This is great, and sorry for the delay.
There aren't many resources available about this, which is kind of surprising considering how much useful work can be done with it. I was trying to learn the basics of creating and sharing templates, but I haven't found much documentation or guidance on the process.
However, I'm having a problem using it in ArcGIS Online. I'm getting the following error:
Unable to save your shared template changes
I can see the templates in the Web Map Templates section after clicking Edit Templates and then Shared Templates, but I can't seem to use them successfully to create feature.
Please let me know if I can provide any additional details or screenshots to help troubleshoot this issue. I'd really appreciate any guidance or suggestions you can offer.
Thank you for your help.
Hi @anonymous55,
It looks like these are set up correctly based on the screenshot you shared. What do you see when you try to use the template in ArcGIS Online to create a feature?
Editing is not loading when I try to use it in WebMap. When I click on the create features, nothing happens.
Also, when I go to Shared Templates, I can't save because the OK button is grayed out.
Hi @anonymous55
Sorry for the delay in getting back to you! I’m not sure why the templates aren’t working, but if you’re still running into issues, I recommend you reach out to support and start a ticket so they can troubleshoot.
If you can, feel free to send me a link to the layer — I can take a quick look on my end.
Also, just a heads-up: if you tag me in your reply, I’ll get notified right away and can respond sooner. Thanks!