AnsweredAssumed Answered

How to change the URL in the GeodatabaseFeatureServiceTable at runtime?

Question asked by btrgis on Oct 9, 2015
Latest reply on Oct 12, 2015 by HFerrier-esristaff

I have a GeodatabaseFeatureServiceTable with a Feature Layer for online editing in qml, and I want to change the url of the GeodatabaseFeatureServiceTable at runtime to edit another feature service. But somehow it doesn't work when I change the URL. Could someone help me on this issue?

 

For example, I want to change the url in the following code:

theFeatureServiceTable.url="http:\\gis......\FeatureServer\0";

when I use       console.log(theFeatureServiceTable.url)      now, the theFeatureServiceTable.url value is not changed at all.

 

Many thanks!

 

Wei

 

Outcomes