漏洞 ID 编号 |
BUG-000125547 |
已提交 | September 25, 2019 |
上次修改时间 | July 28, 2020 |
适用范围 | Portal for ArcGIS |
找到的版本 | 10.7.1 |
状态 | In Review
该问题正在审查中。 审查过程可确保问题包含所有必要信息、易于理解、不与现有问题重复,且为关于漏洞或增强功能的有效请求。 在此阶段,可能会联系您进行说明或提供其他信息。
|
解决办法
Use the CAST function in the Query Layer SQL statement, and change the REAL data type field to Float data type.
For example:
- Select Scada_Tag, DateTime, CAST (Most_Recent as float) as Most_Recent from scadadata.dbo.Scada_Most_Recent_vw
- 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).
- Publish the map service to Portal for ArcGIS.
重现步骤