Hello everyone,
I have a widget called VES and I need to add the option to open this widget from pop up and load the item from pop up to it. In three dots in pop up is option to open item in Attribute Table. I need exactly the same but open it in VES widget. So I need to add the option to open in VES to the three dots. Can anyone help me how and where add the code?
Thanks a lot
Solved! Go to Solution.
Zdeněk,
All the help you should need can be found in this help doc:
Zdeněk,
All the help you should need can be found in this help doc:
Thanks Robert,
I have one more question. I searched in the whole folder of application but i can't find the right configuration file of pop up where can I write the code to add this option to pop up. Can you help me which one file the right? I found some file associated with pop up only in jimu.js folder.
Zdeněk,
I am not sure what you are missing. If you want to add a new feature action to the WAB popup menu then you add a new class that extends jimu/BaseFeatureAction in the [install dir]\server\apps\[app#]\jimu.js\featureActions or if you want your featureAction only be added to the app when your widget is used then you follow the link posted earlier to add on to your widget like the AttributeTable/actions/ViewInAttributeTableFeatureAction.js
Now I understand. Thank a lot.
Don't forget to mark this question as answered by clicking on the "Correct Answer" link on the reply that answered your question.