I have mxd with 3 layers #each of the 3 layers has a definition query applied to it TERMINAL_NAME = 'AAAAAA' #filters the number of features displayed
At #10.2.2 environment, this command creates the .geodatabase (ArcGIS Runtime) # python 2.7 # data is in Oracle 11g SDE version 10.0 # data is in Oracle 12c SDE version 10.7.1 - currently being tested # this file has the FILTERED records in it when viewing with ArcGIS Runtime, or a sqllite browser
At #10.7.1 environment, this command creates the .geodatabase (ArcGIS Runtime) # python 2.7 # data is in Oracle 11g SDE version 10.0 # data is in Oracle 12c SDE version 10.7.1 # this file has the ENTIRE DATASET OF RECORDS in it when viewing with ArcGIS Runtime, or a sqllite browser
# Process: Create Runtime Content
arcpy.CreateRuntimeContent_management(RuntimeInput, DotGeodatabase, "", "", "DEFAULT", "NETWORK_DATA;FEATURE_AND_TABULAR_DATA", "NON_OPTIMIZE_SIZE", "ONLINE", "PNG", "1", "")!
The point is after extracting the mxd , in 10.2.2 it works perfectly in creating the Dot geodatabase for the selected MXD , however in 10.7.1 it create the Dot geodatabase but with all MXD layers, not from the selected one , in the other hand by using the arcmap save as arcgis runtime content it works but not friendly with python, is there any patch file to fix this