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 reload/refresh Visio file after making changes

Solved675 views6th July 2023visio changes
5
Jeff Douglass860 7th April 2023 0 Comments

After replacing an existing Visio file with a new version with changes how can I get DataMiner/Cube to reload the new file so all the Cube clients will see/use the new version. Restarting DM is not an option.

Thanks

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 6th July 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
6
Bert Vandenberghe [SLC] [DevOps Enabler]8.30K Posted 7th April 2023 4 Comments

Hi Jeff,

When editing a Visio file via Cube or when uploading and replacing a Visio file via Cube, all clients will immediately update the drawing to the new one. So, this should already be the case without the need for a restart...

Let us know if your use case would be different.

Bert

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 6th July 2023
Jeff Douglass commented 7th April 2023

Thanks Bert.
My case is the I edit the visio file offline and then copy the version back over to the DMA overwriting the existing file. I can then go into the Protocols and Templates app and select upload a custom visio and just select the same file but I was wondering if if there was a way to just let DM know that the current file has changed and needs to be reloaded. In cases were it is possible, and I can simply open and edit the actual existing file in Visio, when the changes are saved in Visio this somehow triggers DM to reload the file not requiring any further action.

Bert Vandenberghe [SLC] [DevOps Enabler] commented 8th April 2023

If you indeed copy the Visio file directly to the file system of the DMA, then DataMiner won’t be aware of that until the next restart. One sidenote: you can only do this on a single node DMS, otherwise you would need to copy the file to all nodes in the cluster. So, using Cube would be the recommended way.
That being said, maybe there exists a reload message you can send to the server to refresh all Visio files, I’m not sure because I don’t know all those messages. But maybe somebody else will be able to point out a relevant SLNet Message, if there is one…

Paulo Henriques [SLC] [DevOps Member] commented 10th April 2023

Hi Bert, hi Jeff,

I know there are SLNet messages that can be used, in an automation script or vi a the Client test Tool, to assign a given Visio file to a view or to a service, e.g.:

// assign a visio file to a view
string filePath = @”c:\my_visio.vsdx”;
AssignVisualToViewRequestMessage avReqMsg = new AssignVisualToViewRequestMessage(viewID, filePath);
Engine.SLNet.SendMessage(avReqMsg);

Similarly, there is a AssignVisualToServiceRequestMessage.
I’m noticing there is also the message: SetVisualOverviewDataMessage, which might be useful but that I never used.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 11th April 2023

DataMiner (SLNet) is providing the “Last write time” for all Visio files. This is used in Cube to check if the local cached Visio file should be invalidated. However, SLNet (and Cube) is caching these results until the Visio file is changed through the DataMiner API (the messages that Paulo is referring to). You can also force Cube to fetch the latest Visio file (for your user only) by removing the cached Visio files from your machine (stored in: C:Users\AppDataLocalSkylineDataMinerDataMinerCubeVisioCache).

You are viewing 1 out of 1 answers, click here to view all answers.
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin