Hi folks,
WebApp users in my organization have expressed interest in taking existing coordinates from a point feature in one layer (read only, reference) to generate a point in another layer (editable) based off those.
This would be a helpful QA/QC measure, as many of our workflows occur in the same geographic location multiple times.
The attached screenshot should help elucidate what I am after. Grateful for any recommendations/first steps. I probably need to delve into popup.js file? Thanks!
Solved! Go to Solution.
Jeff,
So this is definitely possible. It will involve a bit of development though. First you have to create a new FeatureAction:
You can use the Edit Widgets EditFeatureAction.js or the SmartEditors SmartEditorFeatureAction.js as an example.
If your ultimate goal is to have the Smart Editor or the Edit widget open with the new feature that is created from the existing one the I would add your custom featureaction to those widgets instead of creating your own widget for this.
The FeatureAction will have the original feature, thus it's geometry that you can use to create your new feature.
Jeff,
So this is definitely possible. It will involve a bit of development though. First you have to create a new FeatureAction:
You can use the Edit Widgets EditFeatureAction.js or the SmartEditors SmartEditorFeatureAction.js as an example.
If your ultimate goal is to have the Smart Editor or the Edit widget open with the new feature that is created from the existing one the I would add your custom featureaction to those widgets instead of creating your own widget for this.
The FeatureAction will have the original feature, thus it's geometry that you can use to create your new feature.
exactly what I was looking for, thank you for pointing me in the right direction!
Great, be sure to mark this question as answered by clicking on the “correct answer” link for the reply that answered your question.