Skip to main content

No parcels are being selected in my select parcels for Excel

Comments

2 comments

  • Permanently deleted user
    There could be several things that might be causing this, could you post your workflow to see what it might be?

     

    Also here is a simple capture geometry, query mapservice workflow for you to test in your viewer.  (Just copy and paste into notepad and save as yournamehere.xaml) <Activity mc:Ignorable="sap sap2010 sads" x:Class="ActivityBuilder" mva:VisualBasic.Settings="{x:Null}" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:eac="clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client" xmlns:eacg="clr-namespace:ESRI.ArcGIS.Client.Geometry;assembly=ESRI.ArcGIS.Client" xmlns:eact="clr-namespace:ESRI.ArcGIS.Client.Tasks;assembly=ESRI.ArcGIS.Client" xmlns:esri="http://schemas.esri.com/arcgis/client/2009" xmlns:gce="clr-namespace:Geocortex.Core.Extensions;assembly=Geocortex.Core" xmlns:gfc="clr-namespace:Geocortex.Forms.Client;assembly=Geocortex.EssentialsWpfApi" xmlns:gfci="clr-namespace:Geocortex.Forms.Client.Items;assembly=Geocortex.EssentialsWpfApi" xmlns:gr="clr-namespace:Geocortex.Reporting;assembly=Geocortex.Reporting" xmlns:gwa="clr-namespace:Geocortex.Workflow.Activities;assembly=Geocortex.Workflow" xmlns:gwa1="clr-namespace:Geocortex.Workflow.Activities;assembly=Geocortex.Workflow.Activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:s="clr-namespace:System;assembly=System.Core" xmlns:s1="clr-namespace:System;assembly=System" xmlns:s2="clr-namespace:System;assembly=mscorlib" xmlns:sa="clr-namespace:System.Activities;assembly=System.Activities" xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib" xmlns:sl="clr-namespace:System.Linq;assembly=System.Core" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <TextExpression.NamespacesForImplementation> <sco:Collection x:TypeArguments="x:String"> <x:String>System.Activities</x:String> <x:String>System.Activities.Statements</x:String> <x:String>System.Activities.Expressions</x:String> <x:String>System.Activities.Validation</x:String> <x:String>System.Activities.XamlIntegration</x:String> <x:String>ESRI.ArcGIS.Client</x:String> <x:String>ESRI.ArcGIS.Client.Geometry</x:String> <x:String>ESRI.ArcGIS.Client.Tasks</x:String> <x:String>Geocortex.Core.Extensions</x:String> <x:String>Geocortex.Workflow.Activities</x:String> <x:String>Geocortex.Forms.Client</x:String> <x:String>Geocortex.Forms.Client.Items</x:String> <x:String>Geocortex.Reporting</x:String> <x:String>System</x:String> <x:String>Microsoft.VisualBasic.Activities</x:String> <x:String>System.Collections.Generic</x:String> <x:String>System.Linq</x:String> <x:String>System.Windows.Markup</x:String> </sco:Collection> </TextExpression.NamespacesForImplementation> <TextExpression.ReferencesForImplementation> <sco:Collection x:TypeArguments="AssemblyReference"> <AssemblyReference>System.Activities</AssemblyReference> <AssemblyReference>ESRI.ArcGIS.Client</AssemblyReference> <AssemblyReference>Geocortex.Core</AssemblyReference> <AssemblyReference>Geocortex.Workflow</AssemblyReference> <AssemblyReference>Geocortex.EssentialsWpfApi</AssemblyReference> <AssemblyReference>Geocortex.Reporting</AssemblyReference> <AssemblyReference>System.Core</AssemblyReference> <AssemblyReference>System</AssemblyReference> <AssemblyReference>mscorlib</AssemblyReference> <AssemblyReference>PresentationCore</AssemblyReference> <AssemblyReference>WindowsBase</AssemblyReference> <AssemblyReference>PresentationFramework</AssemblyReference> <AssemblyReference>System.Xaml</AssemblyReference> </sco:Collection> </TextExpression.ReferencesForImplementation> <Sequence mva:VisualBasic.Settings="Assembly references and imported namespaces serialized as XML namespaces"> <Sequence.Variables> <Variable x:TypeArguments="esri:Geometry" Name="parcelGeometry" /> <Variable x:TypeArguments="x:String" Name="parcelURL" /> <Variable x:TypeArguments="esri:FeatureSet" Name="parcelFeatureSet" /> </Sequence.Variables> <gwa1:DisplayCaptureGeometry AutoSubmit="{x:Null}" CaptureTypes="{x:Null}" DefaultCaptureType="{x:Null}" GeometryRequired="{x:Null}" GraphicsLayerName="{x:Null}" ShowCapturedGeometry="{x:Null}" ShowCapturedMessage="{x:Null}" DefaultCaptureTypePlaceholder="Extent" Message="Choose geometry below to select parcels" Result="[parcelgeometry]" Title="Select Parcels" WorkflowContainerName="Default"> <gwa1:DisplayCaptureGeometry.CaptureTypesPlaceholder> <scg:List x:TypeArguments="gwa1:GeometryCaptureType" Capacity="8"> <gwa1:GeometryCaptureType>MapPoint</gwa1:GeometryCaptureType> <gwa1:GeometryCaptureType>Polyline</gwa1:GeometryCaptureType> <gwa1:GeometryCaptureType>FreehandPolyline</gwa1:GeometryCaptureType> <gwa1:GeometryCaptureType>Polygon</gwa1:GeometryCaptureType> <gwa1:GeometryCaptureType>Extent</gwa1:GeometryCaptureType> <gwa1:GeometryCaptureType>CurrentExtent</gwa1:GeometryCaptureType> </scg:List> </gwa1:DisplayCaptureGeometry.CaptureTypesPlaceholder> <sap2010:WorkflowViewState.IdRef>DisplayCaptureGeometry_1</sap2010:WorkflowViewState.IdRef> </gwa1:DisplayCaptureGeometry> <gwa1:QueryTask Geometry="[parcelGeometry]" OutFields="*" QueryServiceUrl="[parcelURL]" Results="[parcelFeatureSet]" ReturnGeometry="True" sap2010:WorkflowViewState.IdRef="QueryTask_1" /> <If Condition="[parcelFeatureSet.Features.Count &gt;0]"> <If.Then> <gwa1:Alert Text="[parcelFeatureSet.toJSON]" Title="[String.Format(&quot;You've selected {0} parcels&quot;, parcelFeatureSet.Features.Count)]" sap2010:WorkflowViewState.IdRef="Alert_1" /> </If.Then> <If.Else> <gwa1:Alert Title="No Parcels Selected" sap2010:WorkflowViewState.IdRef="Alert_2" /> </If.Else> <sap2010:WorkflowViewState.IdRef>If_1</sap2010:WorkflowViewState.IdRef> </If> <sap2010:WorkflowViewState.IdRef>Sequence_1</sap2010:WorkflowViewState.IdRef> <sads:DebugSymbol.Symbol>d1hDOlxMb2NhbF9TdG9yYWdlXEdlb2NvcnRleHdvcmtmbG93U2FtcGxlc1xzdXBwb3J0IHF1ZXN0aW9ucyBhbnN3ZXJlZFxzZWxlY3RfcGFyY2Vscy54YW1sE0EDYA4CAQFHBVMjAgERVAVUwAECAQlVBV0KAgECR5UCR74CAgEWR4YDR48DAgEVR8YCR9gCAgETR98CR+8CAgESVDtUPgIBEFRlVHkCAQ9UHlQwAgENVIkBVI8BAgEMVE9UXAIBClUTVTwCAQNXCVfEAQIBBloJWl0CAQRXGlc1AgEIVzxXlwECAQdaG1owAgEF</sads:DebugSymbol.Symbol> </Sequence> <sap2010:WorkflowViewState.IdRef>ActivityBuilder_1</sap2010:WorkflowViewState.IdRef> <sap2010:WorkflowViewState.ViewStateManager> <sap2010:ViewStateManager> <sap2010:ViewStateData Id="DisplayCaptureGeometry_1" sap:VirtualizedContainerService.HintSize="464,552" /> <sap2010:ViewStateData Id="QueryTask_1" sap:VirtualizedContainerService.HintSize="464,248" /> <sap2010:ViewStateData Id="Alert_1" sap:VirtualizedContainerService.HintSize="212.8,88" /> <sap2010:ViewStateData Id="Alert_2" sap:VirtualizedContainerService.HintSize="212.8,88" /> <sap2010:ViewStateData Id="If_1" sap:VirtualizedContainerService.HintSize="464,238.4" /> <sap2010:ViewStateData Id="Sequence_1" sap:VirtualizedContainerService.HintSize="486.4,1243.2"> <sap:WorkflowViewStateService.ViewState> <scg:Dictionary x:TypeArguments="x:String, x:Object"> <x:Boolean x:Key="IsExpanded">True</x:Boolean> </scg:Dictionary> </sap:WorkflowViewStateService.ViewState> </sap2010:ViewStateData> <sap2010:ViewStateData Id="ActivityBuilder_1" sap:VirtualizedContainerService.HintSize="526.4,1323.2" /> </sap2010:ViewStateManager> </sap2010:WorkflowViewState.ViewStateManager> </Activity>

     

    .  Just set the 'parcelURL' variable to your parcel mapservice for query.

     

     
    0
  • Permanently deleted user
    I think I have solved my problem...took me all morning today, but I have that working now. I just need to make the  search work on parcel points now instead of polygons, thank you so much,I really appreaciste your response. 
    0

Please sign in to leave a comment.