Numéro d’ID de bogue |
BUG-000110566 |
Envoi | January 4, 2018 |
Dernière modification | June 5, 2024 |
S’applique à | ArcGIS Online |
Version trouvée | N/A |
Système d’exploitation | N/A |
Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
In Arcade, it is the users' responsibility to handle null records. The script attempted to split a null value on a ' ' which is not possible, hence the error if the data has the potential to contain nulls first check for nulls before splitting. For example,
if (IsEmpty($feature.Name)) {
return "No Name"
} else {
var Book = Split($feature.Name, ' ')[0];
//console("book", Book);
var page = Split($feature.Name, ' ')[1];
//console("page", Page);
if (Book != ""){
return Book + "/" + Page;
} else {
return "";
}
}
Étapes pour reproduire
ID de bogue: BUG-000110566
Logiciel: