Skip to main content

Use current geocortex map in report

Comments

13 comments

  • Permanently deleted user

    I have the same question. I could recreate the layer themes we use in our reports in AGO so that all the reference layers show up in the report, however my users want to see the buffer Geocortex draws to select the features.

    0
  • Erik Engstrom

    I'm with you! How is it that a Latitude product requires that maps in a report be created solely in ArcGIS Online and not from their own product (HTML5 Viewer)? I get wanting the ability to leverage the functionality of both products, but this seems only half done.

    0
  • Permanently deleted user

    did anyone ever get an answer to this?

    0
  • Guillaume Ruelle

    Geocortex made a nice video tutorial about this topic :

     

    https://www.youtube.com/watch?v=yOmWAsHbhp0&list=PLTjPVjeiNQigDLcr7yi_xrzzmFfzFwOoH&index=46

     

    Enjoy

    0
  • Permanently deleted user

    Thanks for the link, they reference a sample New Hampshire website that includes the graphics, but don't show how to include the graphics layer, any idea on how to include the graphics layer? thanks

    0
  • Guillaume Ruelle

    When you create your area (or whatever), you have to :

    • create a feature of it ( Create feature)
    • Create a markup ( Create Value and Set property to contain your geometry ($feature.feature.geometry) and a symbol

    Then, when you send your web request to export the map, you have to put your $markup.result into the request like that (in the JSON field) :

    ={

    "f":"pjson",

    "outputFormat": "PNG",

    "bbox": $mapExtent.extent.xmin + "," + $mapExtent.extent.ymin + "," + $mapExtent.extent.xmax + "," + $mapExtent.extent.ymax,

    "layers": $Layers.result,

    "layerDefinitions": {"x":{"y":$condition.result}},

    "graphics":$createdMarkup.result,

    "imageWidth": "800",

    "imageHeight": "800",

    "scale": xxxx}

     

    Enjoy !

     

    0
  • Permanently deleted user

    Thank you, I was able to get it to work using your instructions.

    0
  • Permanently deleted user

    Hi!

    I am trying to do the same, but can't seem to get the graphic in the image..

    The process is like this:Capture

     

    I can see that the graphic is logged to the console as well as the symbology:

    Capture2

     

    Do you have any immediate thoughs? Wwhat I have done wrong?

     

    0
  • Guillaume Ruelle

    @Kristine Smaadal? Sorry but I can't see any feature created. You really have to have a "Create feature" activity...

    0
  • Permanently deleted user

    @Guillaume Ruelle? Thank you for answering. I have the create feature activity earlier in the workflow.

    polygonfs

    I am using this in the Create Value activity (naming it markup):

    markup

     

    So I actually have the feature.. Not sure why it doesnt appear..

    0
  • Ali VanSickle

    @Kristine Smaadal? 

     

    Were you able to get this working? I am having the same issue you are.

    0
  • Ali VanSickle

    @Kristine Smaadal? 

     

    I was able to get it working.

     

    In the Create Value you need to pass the geometry and symbol like so:

     

    ={"layers": [{

    "elements": [{

    "geometry":$getFeatureGeometry.geometry,

    "symbol": {

    "color": [255, 73, 73,100],

            "outline": 

            {"color":[255, 73, 73, 255],

            "width": 2,

    "type": "esriSLS",

    "style": "esriSLSSolid"},

            "type": "esriSFS",

            "style": "esriSFSSolid"

    }

    }]

    }]

    }

    0
  • Permanently deleted user

    If your organization is licensed for Reporting and Printing you can make use of the Map Picture Box control to show the visible layers and any markup and selections that the user has made. https://docs.geocortex.com/reporting/latest/help/Default.htm#shr/help/map-picture-box-control.htm%3FTocPath%3DControl%2520Reference%7C_____12

    0

Please sign in to leave a comment.