laptop and a wrench

Bogue

Decimal values set on SQL Server REAL data type data in ArcMap does not persist when published to Portal for ArcGIS.

Dernière publication: September 30, 2019 Portal for ArcGIS
Numéro d’ID de bogue BUG-000125547
EnvoiSeptember 25, 2019
Dernière modificationJuly 28, 2020
S’applique àPortal for ArcGIS
Version trouvée10.7.1
StatutIn Review

Solution de contournement

Use the CAST function in the Query Layer SQL statement, and change the REAL data type field to Float data type.

For example: 

  1. Select Scada_Tag, DateTime, CAST (Most_Recent as float) as Most_Recent from scadadata.dbo.Scada_Most_Recent_vw
  2. Then in ArcMap > Scada_Most_Recent_vw set the decimal values on the Most_Recent (Right-click the field > Properties > Numeric > (Number of decimals places: 2).
  3. Publish the map service to Portal for ArcGIS.

 

Étapes pour reproduire

ID de bogue: BUG-000125547

Logiciel:

  • Portal for ArcGIS

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement