Skip to main content

Using the Template Report Activity - how to

Comments

3 comments

  • Permanently deleted user

    Did you set the LayerName parameter to "ZipCodes" or to "The layer name ("ZipCodes")"? This property needs to just be the name of the layer that you are querying, so it should just be "ZipCodes", or whatever the actual name is of the layer in your site.

    The where clause of the QueryParcelLayer activity also assumes that the field that is used in the query is named "ZIP", so if this is different for your service, you will need to update that activity to use the correct field name.

    -Victoria

    0
  • Permanently deleted user

    Also, please note that ReportTemplateFile requires the full path to the RPX (not XAML) report file. 

    ReportTemplateFile = "{RootPath}\\Templates\\code-galleryTemplateReportWorkflow_3_14\\sample_report.rpx"

    Hope this helps,

    -Alejandro

    0
  • Permanently deleted user

    I finally got this to work by changing the following two properties in manager. 

    GeocortexRESTUri = "http://localhost/Geocortex/Essentials/REST/SITENAME/"

     

    ReportTemplateFile = the physical path fo the file on the server where Geocortext site is hosted. "c:\.....", somehow  "{RootUri}/Templates/code-galleryTemplateReportWorkflow_3_14/sample.xaml" does not work.

     

    Thank you!

    0

Please sign in to leave a comment.