Hoppa till huvudinnehållet

How do you deploy a Report DataSource, or *do* you deploy it at all?

Kommentarer

3 kommentarer

  • Nico Burgerhart

    Jan-Jaap van Raffe 

    0
  • Gareth Evans

    VertiGIS Studio Web (VSW) Designer's deployment stages and configured environment values primarily affect the contents of the Web app and Workflow JSON. This includes workflows used to generate reports. VSW Designer searches and replaces only the JSON content of the app, web maps, web scenes, and workflows. However, it's important to note that while VSW Designer deployment creates separate copies of report templates for different environments, the specific contents within reports are not automatically updated by environment values. This is because report templates are stored as .NET-referenceable data rather than JSON.

    To address your specific scenario, you should use a JSON data source for your reports. Here's a recommended approach:

    • Configure your workflow to provide a runtime input for the report.
    • Design your report to accept a parameter for the JSON data source.
    • Ensure this JSON data source differs at runtime based on the deployment stage.
    • Maintain consistent field names across your different service deployments to allow for uniform referencing within the report.

    In VSW Designer, set up environment variables for each stage:

    These environment variables will be respected in the workflow that assembles the JSON and runs the report. This approach allows you to dynamically adjust the data source URL based on the environment without manually migrating reports or repointing data sources for each deployment.

    1
  • Zack Robison

    Thanks Gareth!  I figured this was the case for deployment, but wanted to make sure I wasn't missing anything.  

    0

Du måste logga in om du vill lämna en kommentar.