Zum Hauptinhalt gehen

Execution of report containing a subreport with a map fails when called from the Report Workflow activity

Kommentare

5 Kommentare

  • Permanently deleted user

    Hi Sune,

    You need to create an image for the mainmap control and add it to the datatable for the sub report.

    if you need similar example, see the code gallery for "Using a Workflow to Generate a Multi-Layer Report with Map " -Using a Workflow to Generate a Multi-Layer Report with Map

     

    regards,

    Edmond

     

    0
  • Permanently deleted user

    So I guess this means I cannot use the more simple "Report" activity but need to use the "Template report" activity?

    Best regards

    0
  • Permanently deleted user

    Hi Sune,

    You can use the simple Report activity. You would only need to use the TemplateReport activity if you were also displaying data from multiple layers in one report.

    I've put together a very simple workflow that will run against the Charlotte sample site.(https://support.geocortex.com/Data/Sites/1/media/forumfiles/mainmapreport.zip) You can download it here. The mapMainReport was added to the Zip Codes layer.

    -Victoria

     

    0
  • Permanently deleted user

    Hi Victoria,

    I have the same issue as Sune. I have tried your example with the Charlotte site and it worked. But when I tried to modify the  workflow for my site and layer I got an workflow error. When calling this report from the Silverlight Viewer everythings works as expected.

    Are maybe some additional configurations needs to do?

    Thanks,

    Khalid

     

    0
  • Permanently deleted user

    Hi Khalid,

    Is the only change you made to the workflow? Can you post you modified workflow and report files so we can try to troubleshoot what the problem might be? If you take the subreport out of the main report, does it run from the workflow? 

    -Victoria

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.