Last active
March 15, 2018 23:44
-
-
Save bradbrowne/d985daf75ac12ae2ebb8ca17e0b6aa78 to your computer and use it in GitHub Desktop.
π GeoCortex Setting ComboBox parameters in Runtime Modifications Sequence
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Activity mc:Ignorable="sads sap sap2010" x:Class="ActivityBuilder" mva:VisualBasic.Settings="{x:Null}" sap2010:WorkflowViewState.IdRef="ActivityBuilder_1" | |
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:gce="clr-namespace:Geocortex.Core.Extensions;assembly=Geocortex.Core" | |
xmlns:gcx="http://apis.geocortex.com/2009" | |
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>PresentationFramework</AssemblyReference> | |
<AssemblyReference>WindowsBase</AssemblyReference> | |
<AssemblyReference>PresentationCore</AssemblyReference> | |
<AssemblyReference>System.Xaml</AssemblyReference> | |
<AssemblyReference>System.ComponentModel.Composition</AssemblyReference> | |
<AssemblyReference>System.ServiceModel</AssemblyReference> | |
<AssemblyReference>System.Reactive.Core</AssemblyReference> | |
<AssemblyReference>System.Runtime.WindowsRuntime</AssemblyReference> | |
</sco:Collection> | |
</TextExpression.ReferencesForImplementation> | |
<Sequence sap2010:WorkflowViewState.IdRef="Sequence_2" mva:VisualBasic.Settings="Assembly references and imported namespaces serialized as XML namespaces"> | |
<gwa1:DisplayForm FormDefinition="<FormDefinition xmlns="http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ContainerFormItem xmlns:a="http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client.Items"><a:ArgumentName/><a:IsVisible>true</a:IsVisible><a:ItemID>Group1</a:ItemID><a:ToolTip/><a:ValidationItems xmlns:b="http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client.Items.Validation"/><a:Description/><a:FormItems><a:FormItem i:type="a:ComboBoxFormItem"><a:ArgumentName>suburb</a:ArgumentName><a:IsVisible>true</a:IsVisible><a:ItemID>ComboBox1</a:ItemID><a:ToolTip/><a:ValidationItems xmlns:b="http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client.Items.Validation"/><a:DataItems/><a:FilterByInputGeometry>false</a:FilterByInputGeometry><a:Label><a:ArgumentName/><a:IsVisible>true</a:IsVisible><a:ItemID/><a:ToolTip/><a:ValidationItems xmlns:b="http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client.Items.Validation"/><a:LabelForItemID>ComboBox1</a:LabelForItemID><a:Text>Suburb</a:Text></a:Label><a:LayerSourceJson i:nil="true"/><a:ProxyUrl/><a:QueryCascadingID/><a:QueryDisplayOutputField/><a:QueryServiceUrl/><a:QueryValueOutputField/><a:QueryWhereClause/><a:SelectText/><a:SelectedValue i:nil="true"/><a:Token/></a:FormItem></a:FormItems><a:MaxWidth>INF</a:MaxWidth><a:Orientation>Vertical</a:Orientation><a:VisibleControlID i:nil="true"/><a:VisibleControlValue i:nil="true"/></ContainerFormItem><KnownTypes xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><a:string>Geocortex.Forms.Client.Items.ContainerFormItem</a:string><a:string>Geocortex.Forms.Client.Items.ComboBoxFormItem</a:string></KnownTypes><MaxHeight>800</MaxHeight><MaxWidth>1000</MaxWidth><Title>Form Title</Title><Version>1.1</Version></FormDefinition>" sap2010:WorkflowViewState.IdRef="DisplayForm_1"> | |
<gwa1:DisplayForm.Body> | |
<ActivityAction x:TypeArguments="gcx:FormDefinition"> | |
<ActivityAction.Argument> | |
<DelegateInArgument x:TypeArguments="gcx:FormDefinition" Name="form" /> | |
</ActivityAction.Argument> | |
<Sequence DisplayName="RuntimeModifications" sap2010:WorkflowViewState.IdRef="Sequence_1"> | |
<Sequence.Variables> | |
<Variable x:TypeArguments="gfci:ComboBoxFormItem" Name="comboBoxFormItem" /> | |
</Sequence.Variables> | |
<Assign sap2010:Annotation.AnnotationText=""http://arcgis-dev1.aamgroup.com/arcgis/rest/services/Origin/Environmental_Property_Registery/MapServer/0"" DisplayName="Set QueryServiceURL" sap2010:WorkflowViewState.IdRef="Assign_1"> | |
<Assign.To> | |
<OutArgument x:TypeArguments="x:String">[form.Find(Of ComboBoxFormItem)("ComboBox1").QueryServiceUrl]</OutArgument> | |
</Assign.To> | |
<Assign.Value> | |
<InArgument x:TypeArguments="x:String">["http://arcgis-dev1.aamgroup.com/arcgis/rest/services/Origin/Environmental_Property_Registery/MapServer/0"]</InArgument> | |
</Assign.Value> | |
</Assign> | |
<Assign DisplayName="Set WhereClause" sap2010:WorkflowViewState.IdRef="Assign_2"> | |
<Assign.To> | |
<OutArgument x:TypeArguments="x:String">[form.Find(Of ComboBoxFormItem)("ComboBox1").QueryWhereClause]</OutArgument> | |
</Assign.To> | |
<Assign.Value> | |
<InArgument x:TypeArguments="x:String">1=1</InArgument> | |
</Assign.Value> | |
</Assign> | |
<Assign DisplayName="Set OutputValueField" sap2010:WorkflowViewState.IdRef="Assign_3"> | |
<Assign.To> | |
<OutArgument x:TypeArguments="x:String">[form.Find(Of ComboBoxFormItem)("ComboBox1").QueryValueOutputField]</OutArgument> | |
</Assign.To> | |
<Assign.Value> | |
<InArgument x:TypeArguments="x:String">Facility_Name</InArgument> | |
</Assign.Value> | |
</Assign> | |
<Assign DisplayName="Set OutputDisplayField" sap2010:WorkflowViewState.IdRef="Assign_4"> | |
<Assign.To> | |
<OutArgument x:TypeArguments="x:String">[form.Find(Of ComboBoxFormItem)("ComboBox1").QueryDisplayOutputField]</OutArgument> | |
</Assign.To> | |
<Assign.Value> | |
<InArgument x:TypeArguments="x:String">Facility_Name</InArgument> | |
</Assign.Value> | |
</Assign> | |
<Assign DisplayName="Set DefaultValue" sap2010:WorkflowViewState.IdRef="Assign_5"> | |
<Assign.To> | |
<OutArgument x:TypeArguments="x:Object">[form.Find(Of ComboBoxFormItem)("ComboBox1").SelectedValue]</OutArgument> | |
</Assign.To> | |
<Assign.Value> | |
<InArgument x:TypeArguments="x:Object">["Talinga Gas Plant"]</InArgument> | |
</Assign.Value> | |
</Assign> | |
<Assign DisplayName="comboBoxFormItem Assign" sap2010:WorkflowViewState.IdRef="Assign_6"> | |
<Assign.To> | |
<OutArgument x:TypeArguments="gfci:ComboBoxFormItem">[comboBoxFormItem]</OutArgument> | |
</Assign.To> | |
<Assign.Value> | |
<InArgument x:TypeArguments="gfci:ComboBoxFormItem" xml:space="preserve">[new ComboBoxFormItem With { | |
.ItemID="RuntimeCombo1", | |
.Label=New LabelFormItem With { .Text="Runtime Combo"}, | |
.ArgumentName="RuntimeCombo1", | |
.SelectText=" "}]</InArgument> | |
</Assign.Value> | |
</Assign> | |
<Assign DisplayName="QueryCascadingID Assign" sap2010:WorkflowViewState.IdRef="Assign_7"> | |
<Assign.To> | |
<OutArgument x:TypeArguments="x:String">[comboBoxFormItem.QueryCascadingID]</OutArgument> | |
</Assign.To> | |
<Assign.Value> | |
<InArgument x:TypeArguments="x:String">[form.Find(Of ComboBoxFormItem)("ComboBox1").ItemID]</InArgument> | |
</Assign.Value> | |
</Assign> | |
<Assign sap2010:Annotation.AnnotationText=""http://arcgis-dev1.aamgroup.com/arcgis/rest/services/Origin/Environmental_Property_Registery/MapServer/1"" DisplayName="comboBoxFormItem.QueryServiceUrl Assign" sap2010:WorkflowViewState.IdRef="Assign_8"> | |
<Assign.To> | |
<OutArgument x:TypeArguments="x:String">[comboBoxFormItem.QueryServiceUrl]</OutArgument> | |
</Assign.To> | |
<Assign.Value> | |
<InArgument x:TypeArguments="x:String">["http://arcgis-dev1.aamgroup.com/arcgis/rest/services/Origin/Environmental_Property_Registery/MapServer/1"]</InArgument> | |
</Assign.Value> | |
</Assign> | |
<Assign DisplayName="comboBoxFormItem.QueryWhereClause Assign" sap2010:WorkflowViewState.IdRef="Assign_9"> | |
<Assign.To> | |
<OutArgument x:TypeArguments="x:String">[comboBoxFormItem.QueryWhereClause]</OutArgument> | |
</Assign.To> | |
<Assign.Value> | |
<InArgument x:TypeArguments="x:String">Facility_Name = '{0}'</InArgument> | |
</Assign.Value> | |
</Assign> | |
<Assign DisplayName="comboBoxFormItem.QueryValueOutputField Assign" sap2010:WorkflowViewState.IdRef="Assign_10"> | |
<Assign.To> | |
<OutArgument x:TypeArguments="x:String">[comboBoxFormItem.QueryValueOutputField]</OutArgument> | |
</Assign.To> | |
<Assign.Value> | |
<InArgument x:TypeArguments="x:String">Facility_Name</InArgument> | |
</Assign.Value> | |
</Assign> | |
<Assign DisplayName="comboBoxFormItem.QueryDisplayOutputField Assign" sap2010:WorkflowViewState.IdRef="Assign_11"> | |
<Assign.To> | |
<OutArgument x:TypeArguments="x:String">[comboBoxFormItem.QueryDisplayOutputField]</OutArgument> | |
</Assign.To> | |
<Assign.Value> | |
<InArgument x:TypeArguments="x:String">Facility_Name</InArgument> | |
</Assign.Value> | |
</Assign> | |
<Assign DisplayName="comboBoxFormItem.SelectedValue Assign" sap2010:WorkflowViewState.IdRef="Assign_12"> | |
<Assign.To> | |
<OutArgument x:TypeArguments="x:Object">[comboBoxFormItem.SelectedValue]</OutArgument> | |
</Assign.To> | |
<Assign.Value> | |
<InArgument x:TypeArguments="x:Object">["Talinga Gas Plant"]</InArgument> | |
</Assign.Value> | |
</Assign> | |
<AddToCollection x:TypeArguments="gfci:FormItem" Collection="[form.FormItems]" DisplayName="AddToCollection<FormItem>" sap2010:WorkflowViewState.IdRef="AddToCollection`1_1" Item="[comboBoxFormItem]" /> | |
</Sequence> | |
</ActivityAction> | |
</gwa1:DisplayForm.Body> | |
<gwa1:DisplayForm.FormInArguments> | |
<gwa:ArgumentWrapper x:TypeArguments="InArgument(scg:IEnumerable(gcx:DataItem))" IsRequired="False" Name="ComboBox1"> | |
<gwa:ArgumentWrapper.Argument> | |
<InArgument x:TypeArguments="scg:IEnumerable(gcx:DataItem)" /> | |
</gwa:ArgumentWrapper.Argument> | |
</gwa:ArgumentWrapper> | |
</gwa1:DisplayForm.FormInArguments> | |
<gwa1:DisplayForm.FormOutArguments> | |
<gwa:ArgumentWrapper x:TypeArguments="OutArgument" IsRequired="False" Name="suburb"> | |
<gwa:ArgumentWrapper.Argument> | |
<OutArgument x:TypeArguments="x:Object" /> | |
</gwa:ArgumentWrapper.Argument> | |
</gwa:ArgumentWrapper> | |
</gwa1:DisplayForm.FormOutArguments> | |
</gwa1:DisplayForm> | |
<sads:DebugSymbol.Symbol>d58BRDpcUHJvZ3JhbSBGaWxlcyAoeDg2KVxMYXRpdHVkZSBHZW9ncmFwaGljc1xHZW9jb3J0ZXggRXNzZW50aWFsc1xEZWZhdWx0XFJFU1QgRWxlbWVudHNcU2l0ZXNcVGVtcGxhdGVzXFdvcmtmbG93c1xBc3NldFxHaXN0XENvbWJvQm94U2V0UGFyYW1ldGVyc0F0UnVudGltZS54YW1sKkUDyAEOAgEBRgXGARgCAQJGJkbOEgIBLUwLtQEWAgEDUA1XFgIBKlgNXxYCASdgDWcWAgEkaA1vFgIBIXANdxYCAR54DYMBFgIBGoQBDYsBFgIBF4wBDZMBFgIBFJQBDZsBFgIBEZwBDaMBFgIBDqQBDasBFgIBC6wBDbMBFgIBCLQBDbQB3AECAQRVOFWkAQIBLFI5UnYCAStdOF07AgEpWjladwIBKGU4ZUUCASZiOWJ8AgElbThtRQIBI2o5an4CASJ1OHVNAgEgcjlydAIBH3pGelgCARuJATiJAWwCARmGATmGAVwCARiRATiRAaQBAgEWjgE5jgFbAgEVmQE4mQFNAgETlgE5lgFcAgESoQE4oQFFAgEQngE5ngFhAgEPqQE4qQFFAgENpgE5pgFjAgEMsQE4sQFNAgEKrgE5rgFZAgEJtAFJtAFbAgEHtAHFAbQB2QECAQU=</sads:DebugSymbol.Symbol> | |
</Sequence> | |
<sap2010:WorkflowViewState.ViewStateManager> | |
<sap2010:ViewStateManager> | |
<sap2010:ViewStateData Id="Assign_1" sap:VirtualizedContainerService.HintSize="242,128"> | |
<sap:WorkflowViewStateService.ViewState> | |
<scg:Dictionary x:TypeArguments="x:String, x:Object"> | |
<x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean> | |
</scg:Dictionary> | |
</sap:WorkflowViewStateService.ViewState> | |
</sap2010:ViewStateData> | |
<sap2010:ViewStateData Id="Assign_2" sap:VirtualizedContainerService.HintSize="242,60" /> | |
<sap2010:ViewStateData Id="Assign_3" sap:VirtualizedContainerService.HintSize="242,60" /> | |
<sap2010:ViewStateData Id="Assign_4" sap:VirtualizedContainerService.HintSize="242,60" /> | |
<sap2010:ViewStateData Id="Assign_5" sap:VirtualizedContainerService.HintSize="242,60" /> | |
<sap2010:ViewStateData Id="Assign_6" sap:VirtualizedContainerService.HintSize="242,64" /> | |
<sap2010:ViewStateData Id="Assign_7" sap:VirtualizedContainerService.HintSize="242,60" /> | |
<sap2010:ViewStateData Id="Assign_8" sap:VirtualizedContainerService.HintSize="242,128"> | |
<sap:WorkflowViewStateService.ViewState> | |
<scg:Dictionary x:TypeArguments="x:String, x:Object"> | |
<x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean> | |
</scg:Dictionary> | |
</sap:WorkflowViewStateService.ViewState> | |
</sap2010:ViewStateData> | |
<sap2010:ViewStateData Id="Assign_9" sap:VirtualizedContainerService.HintSize="242,60" /> | |
<sap2010:ViewStateData Id="Assign_10" sap:VirtualizedContainerService.HintSize="242,60" /> | |
<sap2010:ViewStateData Id="Assign_11" sap:VirtualizedContainerService.HintSize="242,60" /> | |
<sap2010:ViewStateData Id="Assign_12" sap:VirtualizedContainerService.HintSize="242,60" /> | |
<sap2010:ViewStateData Id="AddToCollection`1_1" sap:VirtualizedContainerService.HintSize="242,22" /> | |
<sap2010:ViewStateData Id="Sequence_1" sap:VirtualizedContainerService.HintSize="264,1486"> | |
<sap:WorkflowViewStateService.ViewState> | |
<scg:Dictionary x:TypeArguments="x:String, x:Object"> | |
<x:Boolean x:Key="IsExpanded">True</x:Boolean> | |
<x:Boolean x:Key="IsPinned">False</x:Boolean> | |
</scg:Dictionary> | |
</sap:WorkflowViewStateService.ViewState> | |
</sap2010:ViewStateData> | |
<sap2010:ViewStateData Id="DisplayForm_1" sap:VirtualizedContainerService.HintSize="289,1970" /> | |
<sap2010:ViewStateData Id="Sequence_2" sap:VirtualizedContainerService.HintSize="311,2094"> | |
<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="351,2254" /> | |
</sap2010:ViewStateManager> | |
</sap2010:WorkflowViewState.ViewStateManager> | |
</Activity> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment