AnsweredAssumed Answered

Changing URL of a Feature Table

Question asked by kschultz@bgohio.org on Oct 2, 2018
Latest reply on Oct 3, 2018 by ESoekianto-esristaff

I have a feature table set up

 

and a combo box with two values

      ServiceFeatureTable {
                    id: featureTable
                    url: featureUrl
}



                ComboBox {
                    id: departmentBox
                    model: featAttributes
                    function urlChange(){
                        if(departmentBox.currentText=='Water'){
                               featureUrl='/FeatureServer/3'
                        }else if(departmentBox.currentText=='Sewer'){
                            featureUrl='/FeatureServer/1'
                        }
                 
                           }
                    onCurrentIndexChanged:urlChange()
                }


On the change of the combo box I'd like to reload the service feature table to a different feature service.

The method I've tried up here fails

Outcomes