Choice List: in a service not the same formats as before version esri 10.1. This fac cause a problem to read the List To DataItem List Activity
Hi everyone,/customer/servlet/servlet.FileDownload?file=00P6000000e88NcEAI
Choice List: in a service not the same formats as before version esri 10.1. This fac cause a problem to read the List To DataItem List Activity
We work with version 3.10.0 Geocortex Essentials with the viewer ... sylverlight 1.6 and for the workflow designer in Version 2.14.0.246 arcgisserver version 10.1.
I try to configure a speciale bouton for extraction Task: Extract Data Task
My question is that..! My function listToDataItemList is not able to read the display formats in my service. For some reason, I can not explain the list seems to change the format which is not read by the function allLayers.remove (grouLayers). Does anyone have an idea whys my list is this format and how I can fix the problem...?
Parameters:
Parameter: Layers_to_Clip
Data Type: GPMultiValue:GPString
Display Name: Layers to Clip
Direction: esriGPParameterDirectionInput
Default Value: null
Parameter Type: esriGPParameterTypeRequired
Category:
Choice List:
- Mecklenburg County
- Points of Interest
- Points of Interest\Schools
- Points of Interest\Park Locations
- Parcels
- Historical Properties
- Zip Codes
- Police Districts
- Park Districts
- Zoning
here's how I see my service in the list
Parameter: Layers_to_Clip
Data Type: GPMultiValue:GPString
Display Name Layers to Clip
Direction: esriGPParameterDirectionInput
Default Value: [ Extraction_cmq\Research_areas , Extraction_cmq\Tracts , Extraction_cmq\Roads ]
Parameter Type: esriGPParameterTypeRequired
Category:
Choice List: [ Extraction_cmq, Extraction_cmq\Research_areas, Extraction_cmq\Tracts, Extraction_cmq\Roads ]
"instanceId" : "4a798e5e-910b-4af4-8204-48875aca51ef",
"status" : "WaitingForExternalActivities",
"pendingExternalActivities" : [ {
"id" : "1.208",
"instanceId" : "a07bc6a8-8001-4f33-835a-03280c4c6ab8",
"displayName" : "DynamicExternal",
"typeName" : "Geocortex.Workflow.Activities.DynamicExternal",
"externalId" : "IntersectLayers",
"syncToken" : "",
"isComplete" : true,
"debug" : false,
"inputs" : [ {
"isRequired" : false,
"name" : "InputLayers",
"typeName" : "System.String[], mscorlib",
"runtimeTypeName" : "System.String[], mscorlib",
"value" : [ "Mecklenburg County", "Points of Interest", "Points of Interest\\Schools", "Points of Interest\\Park Locations", "Parcels", "Historical Properties", "Zip Codes", "Police Districts", "Park Districts", "Zoning" ]
} ],
"outputs" : [ {
"isRequired" : false,
"name" : "GroupLayers",
"typeName" : "System.String[], mscorlib",
"runtimeTypeName" : "System.String[], mscorlib",
"value" : null
}, {
"isRequired" : false,
"name" : "RasterLayers",
"typeName" : "System.String[], mscorlib",
"runtimeTypeName" : "System.String[], mscorlib",
"value" : null
}, {
"isRequired" : false,
"name" : "FeatureLayers",
"typeName" : "System.String[], mscorlib",
"runtimeTypeName" : "System.String[], mscorlib",
"value" : null
}, {
"isRequired" : false,
"name" : "OutputLayers",
"typeName" : "System.String[], mscorlib",
"runtimeTypeName" : "System.String[], mscorlib",
"value" : null
} ]
} ],
"outputs" : [ ],
"workflowData" : null,
-
we found the guid in the old version was upper case and in 10.1 its in lower case, so you have to use a string.toUpperCase(your guid). thats how we got it to work.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar