laptop and a wrench

不具合

When creating labels off of a feature service's integer data type field, the nulls in field are converted into zeros in the labels.

最後に公開された状態: March 9, 2017 ArcGIS Online
不具合 ID 番号 BUG-000102837
送信されましたFebruary 10, 2017
最終更新日December 3, 2024
適用対象ArcGIS Online
見つかったバージョン4.4
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0
ステータスWill Not Be Addressed

参考情報

The development team has considered the issue or request and concluded it will not be addressed in the current release cycle. If this is still a concern, contact Esri Support Services.

対処法

Workaround 1:

Create a new string data type field and use the Field Calculator tool to migrate all of the integer data type values to the new field. In Field Calculator, use str(!IntField!)

Workaround 2:

To maintain the table schema as is, create a new expression in ArcGIS Online:

  1. In the web map, navigate to the feature layer's Change Style option.
  2. In the Change Style pane, click Add Expression in the drop-down menu.
  3. In the Expression window, place the following sample:

function isnull(value){

var val = IsEmpty(value);

if (val) {

return " "

}

else{

return value;

}

}

isnull($feature.IntField)

Note: the $feature.IntField variable in sample is the integer data type field that user would like to base the labels off of (<a href="https://developers.arcgis.com/arcade/function-reference/logical_functions/" target="_blank">https://developers.arcgis.com/arcade/function-reference/logical_functions/</a>).

再現の手順

不具合 ID: BUG-000102837

ソフトウェア:

  • ArcGIS Online

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動