Hi,
I want to create new line feature in GeodatabaseFeatureTable after creating local geodatabase , but when I set type attribute value in feature, feature does not create with that type, creates with default type (ex: type value 1).How can I solve this problem.
Thanks
Solved! Go to Solution.
Are you saying that you have default values set on the service, but no matter what you set, it always sets it to the default?
If so, this is a bug in 10.2.6, and will be fixed in a patch that we are releasing very soon.
Thanks,
Luke
Can you provide some code example?
Here is the sampe below , if is state is online false feature correct created but when is state offline feature created only TIP =1 value always.
if(appWindow.isOnline==false)
{
var feature= ArcGISRuntime.createObject("Feature");
feature.geometry = userPolyline;
feature.setAttributeValue("ID",guid());
feature.setAttributeValue("AD",textYolOrtaHatAdi.text);
feature.setAttributeValue("TIP",comboBoxYolOrtaHatTip.currentIndex);
localYolortaHatYonfeatureTable.addFeature(feature);
} else
{
var feature= ArcGISRuntime.createObject("Feature");
feature.geometry = userPolyline;
feature.setAttributeValue("ID",guid());
feature.setAttributeValue("AD",textYolOrtaHatAdi.text);
feature.setAttributeValue("TIP",comboBoxYolOrtaHatTip.currentIndex);
yolOrtaHatFeatureLayer.featureTable.addFeature(feature);
yolortaHatYonfeatureServiceTable.applyFeatureEdits();
}
Are you saying that you have default values set on the service, but no matter what you set, it always sets it to the default?
If so, this is a bug in 10.2.6, and will be fixed in a patch that we are releasing very soon.
Thanks,
Luke
Are there any date when release fixed 10.2.6 ? , or if realesed where can I find are there any link to download it ?
Thanks
It will be out in the next couple of weeks. Watch the blog and geonet for an announcement.
Thanks,
Luke