Viewing a versioned view using the set_current_version function fails to display the features when saved as a query layer in a map document.
上次发布: June 13, 2017ArcSDE/Enterprise Geodatabase
漏洞 ID 编号
BUG-000104490
已提交
April 14, 2017
上次修改时间
June 5, 2024
适用范围
ArcSDE/Enterprise Geodatabase
找到的版本
10.5
操作系统
Windows OS
操作系统版本
8.1
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
When using SQL access, it's a two-step workflow to retrieve data from a versioned view:
1. Run the set_current_version function first
2. Then select data from the versioned view
When using ArcMap, a view must be created based on a workspace, which is connected to one particular version from a feature class, but not from a versioned view. Versioned view should be used from the underlying database directly by using SQL to read and edit the versioned data.
解决办法
1. Add the versioned feature class to ArcMap 2. Switch the version to a named child version 3. Use the Make Feature Layer tool to create a layer with desired fields based on the current feature class within the ArcMap session 4. Remove the feature class, keep the feature layer in ArcMapUsing this workflow will see the feature class with limited fields in a particular version.