Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How to send a by code created dashboard as a report via Email?

Solved905 views28th July 2022Automation Dashboards Reports and Dashboards
1
Mieke Dryepondt [SLC] [DevOps Advocate]3.60K 26th July 2022 0 Comments

There are 2 questions:

  1. How to correctly generate a dashboard via code?
  2. How to automatically send this created dashboard as a report in an email?

So far I am fumbling around by:

For question 1:

  • Via an automation script I generate the json and store a file under the skyline dataminer\dasboards folder.
  • I see the dashboard in the dashboards app.
  • I do not see the dashboard in the scheduler > action > email > report/dasboard dropdown

So I’m doing something wrong or not enough (e.g. informing DataMiner of that file).

For question 2:

  • No clue.
  • I could only find info in the help for setting up an automation script using MailReportOptions. But I believe this is for the Old reporter and not the new Dashboards.
Mieke Dryepondt [SLC] [DevOps Advocate] Selected answer as best 28th July 2022

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Wim Bruynooghe [SLC] [DevOps Advocate]6.59K Posted 26th July 2022 2 Comments

1) This is not officially supported. The newly created dashboard won’t get synced in the cluster. In newer DataMiner versions, we also can’t guarantee that dashboards created through your script will still work. If you need this, I think we should look into a way to do this properly by providing an API.

2) The “MailReportOptions” is indeed from the legacy Reporter, but should also work to generate a report from a dashboard. Specify the name of the dashboard (including folders separated with “/”) as reportName. Unfortunately it’s not possible yet to specify the url parameters (feed selections), you can create a task for this.

Mieke Dryepondt [SLC] [DevOps Advocate] Selected answer as best 28th July 2022
Ruben Vandepitte [SLC] [DevOps Advocate] commented 27th July 2022

Hi Wim,

Will they eventually get distributed in the cluster by the midnight sync process, or do you mean not at all?

Mieke Dryepondt [SLC] [DevOps Advocate] commented 28th July 2022

Just to inform that the files get Synced via System Center > Tools > sync file.
So it will also sync during the midnight sync.
We can move forward by creating the file, waiting on the sync and sending the report using it’s name via automation.
Thank you Wim for the explanation.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs