{ "name": "GeneratePDFReport", "displayName": "SiteSelectorPDFGen", "description": "This tool generates a PDF containing building/site information, map showing the building/site and any attached images for building/site.The tool takes 5 input parameters of which only one (Report Data JSON) is required.Logo: The full URL to the logo image as stringFor example : 'http://<server>/<appdir>/image.png\"Report Title: The title of the report as string.For example: ' Site Selector Report'WebMap Json: This parameter is provided by the application to print the map showing the building/site. To be supplied in JSON format.For example: {\"mapOptions\":{\"extent\":{\"xmin\":-15777975.86833928,\"ymin\":4322020.850897177,\"xmax\":-2413114.346736336,\"ymax\":7971430.329343663,\"spatialReference\":{\"wkid\":102100}},\"spatialReference\":{\"wkid\":102100}},\"baseMap\":{\"baseMapLayers\":[{\"id\":\"defaultBasemap\",\"layerType\":\"ArcGISTiledMapServiceLayer\",\"opacity\":1,\"visibility\":true,\"url\":\"http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer\"}],\"title\":\"Topographic\"},\"spatialReference\":{\"wkid\":102100},\"exportOptions\":{\"outputSize\":[600,400],\"dpi\":96},\"layoutOptions\":{}}Report Data Json: This parameter is used to print the table displaying property and neighborhood information in the output PDF. To be supplied in JSON format.For example: [ { \"Property Information\": [ \"Name:1 Bank St\", \"Address:1 Bank St\", \"City:Gaithersburg\", \"State:MD\", \"Zipcode:20878\", \"Type:Office\", \"Area (sqft):0\" ], \"Neighborhood Information\": [ \"Labor Force Participation Rate:5,450\", \"Total Population:9,044\", \"Total Households:3,337\", \"Average Household Size:3\", \"Average Household Income:$70,130\", \"Median Household Income:$52,103\", \"Per Capita Income:$25,960\", \"Total Housing Units:3,828\", \"Owner Occupied HUs:882\", \"Renter Occupied HUs:2,456\", \"Vacant Housing Units:198\", \"Median Home Value:$296,324\", \"Average Home Value:$313,662\" ] } ]Attachment List: This parameter is used to print the attachments (if any) are found for the building/site. To be supplied in JSON format.For example: [ \"http://<server>/arcgis/rest/services/buildings/0/200/attachments/image01.png\", \"http://<server>/arcgis/rest/services/buildings/0/200/attachments/image02.png\" ]", "category": "", "helpUrl": "https://gis.cityofpensacola.com/arcgis/rest/directories/arcgisoutput/GeneratePDFReport_GPServer/GeneratePDFReport/GeneratePDFReport.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "Logo", "dataType": "GPString", "displayName": "Logo", "description": "The logo URL for PDF Report. It is an optional parameter. This parameter is populated from the ApplicationIcon indicated in the configuration file.For example : 'http://<server>/<appdir>/image.png\"", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Report_Title", "dataType": "GPString", "displayName": "Report Title", "description": "The title for the PDF Report. It is an optional parameter. This parameter is populated from the configuration file's DisplayOptionTitle text.For example: ' Site Selector Report'", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "WebMap_Json", "dataType": "GPString", "displayName": "WebMap Json", "description": "The Web map to be printed in JSON format. It is an optional parameter. If no input is provided, the JSON will be provided by the application.This parameter is provided by the application to print the map showing the building/site. To be supplied in JSON format.For example:{\"mapOptions\":{\"extent\":{\"xmin\":-15777975.86833928,\"ymin\":4322020.850897177,\"xmax\":-2413114.346736336,\"ymax\":7971430.329343663,\"spatialReference\":{\"wkid\":102100}},\"spatialReference\":{\"wkid\":102100}},\"baseMap\":{\"baseMapLayers\":[{\"id\":\"defaultBasemap\",\"layerType\":\"ArcGISTiledMapServiceLayer\",\"opacity\":1,\"visibility\":true,\"url\":\"http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer\"}],\"title\":\"Topographic\"},\"spatialReference\":{\"wkid\":102100},\"exportOptions\":{\"outputSize\":[600,400],\"dpi\":96},\"layoutOptions\":{}}", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Report_Data_Json", "dataType": "GPString", "displayName": "Report Data Json", "description": "This parameter is used to print the table displaying property and neighborhood information in the output PDF. To be supplied in JSON format. This parameter is required.For example:[ { \"Property Information\": [ \"Name:1 Bank St\", \"Address:1 Bank St\", \"City:Gaithersburg\", \"State:MD\", \"Zipcode:20878\", \"Type:Office\", \"Area (sqft):0\" ], \"Neighborhood Information\": [ \"Labor Force Participation Rate:5,450\", \"Total Population:9,044\", \"Total Households:3,337\", \"Average Household Size:3\", \"Average Household Income:$70,130\", \"Median Household Income:$52,103\", \"Per Capita Income:$25,960\", \"Total Housing Units:3,828\", \"Owner Occupied HUs:882\", \"Renter Occupied HUs:2,456\", \"Vacant Housing Units:198\", \"Median Home Value:$296,324\", \"Average Home Value:$313,662\" ] } ]", "direction": "esriGPParameterDirectionInput", "defaultValue": [ { "Property Information": [ "Name:1 Bank St", "Address:1 Bank St", "City:Gaithersburg", "State:MD", "Zipcode:20878", "Type:Office", "Area (sqft):0" ], "Neighborhood Information": [ "Labor Force Participation Rate:5,450", "Total Population:9,044", "Total Households:3,337", "Average Household Size:3", "Average Household Income:$70,130", "Median Household Income:$52,103", "Per Capita Income:$25,960", "Total Housing Units:3,828", "Owner Occupied HUs:882", "Renter Occupied HUs:2,456", "Vacant Housing Units:198", "Median Home Value:$296,324", "Average Home Value:$313,662" ] } ], "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Attachment_List", "dataType": "GPString", "displayName": "Attachment List", "description": "The list of attachment images in JSON format. This is an optional parameter. If attachments are available on the service, they will be displayed in the report.This parameter is used to print the attachments (if any) are found for the building/site. To be supplied in JSON format.For example: [ \"http://<server>/arcgis/rest/services/buildings/0/200/attachments/image01.png\", \"http://<server>/arcgis/rest/services/buildings/0/200/attachments/image02.png\" ]", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Report_PDF", "dataType": "GPDataFile", "displayName": "Report_PDF", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }