Create a custom GP tool that does this for you and publish it to your server.
<Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <HyperlinkButton Grid.Row="0" Grid.Column="1" Content="File 1" NavigateUri="http://MachineName/Downloads/File1.zip" /> <HyperlinkButton Grid.Row="1" Grid.Column="1" Content="File 2" NavigateUri="http://MachineName/Downloads/File2.zip" /> <TextBlock Text="Download" Grid.Row="0" Grid.Column="0" /> <TextBlock Text="Download" Grid.Row="1" Grid.Column="0" /> </Grid>
<StackPanel Orientation="Horizontal"> <TextBlock x:Name="NameZip1" Text=" Download a copy of file #1: "/> <HyperlinkButton TargetName="_blank" Content="Click here" NavigateUri="http://MachineName/Downloads/File2.zip"></HyperlinkButton> </StackPanel>
Thanks for the pointers. I need to zip all the layers in the service used in the application. The service used in the application varies based on different users and different regions. The layers have to be converted to shapefiles and zipped on the fly. But they are fixed for a service.My question is how do I specify the layers to be zipped from the SL application to the GP service. I can get the layer names and IDs of all the layers in the service. But how do I pass that to the GP service. All the examples use a fixed layer on the server.ThanksManoj
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.